-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/preferences touch ups #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rences - Updated ExampleContentMenu, TextInputPanel, and various preference components to support dark mode styling. - Added target language selection functionality in WorkspacePage, allowing users to set and persist language preferences. - Enhanced FormatTransformService to handle target language in transformations. - Improved accessibility and visual consistency across components with updated styles for dark mode. - Refactored history storage to include target language metadata for processing history entries.
…s in WorkspacePage - Added subscription to preferences storage for target and favorite languages, allowing real-time updates to language settings. - Enhanced state management for language preferences, improving user experience and responsiveness in the WorkspacePage component.
- Streamlined the handleFormatToggle function to improve clarity and maintainability. - Consolidated format selection and deselection logic, ensuring at least one format is always selected. - Removed redundant checks and comments, enhancing code readability.
…solution - Introduced a new function to resolve relative image sources against the final URL, improving image extraction accuracy. - Updated the extractImages function to utilize the new resolution logic, ensuring proper handling of image sources. - Added a test case to verify the functionality of resolving relative image sources in the readability parser. - Refactored the PreviewTooltip component to improve accessibility and user interaction with enhanced event handling.
- Updated FormattedOutput and MultiFormatProgress components to provide clearer progress information, including current format processing status. - Refactored progress calculation logic to account for partial steps and improve accuracy in displaying completion percentages. - Enhanced user feedback in the WorkspacePage to reflect real-time processing updates for selected formats. - Simplified format selection logic in FormatQuickSelector to ensure at least one format is always selected while improving code readability.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resolved conflicts by prioritizing main branch changes: - ExampleContentMenu.tsx: Accepted main's animation and styling updates - WorkspacePage.tsx: Accepted main's MultiFormatProgress component integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated index.css to force the scrollbar to always show, enhancing user experience during streaming by preventing layout shifts.
- Removed unnecessary console log statements from various components including TextInputPanel, FormatSection, and FormattedOutput to enhance code clarity. - Updated text in integration tests for better accuracy in progress indicators. - Refactored className formatting in WorkspacePage for improved readability and consistency in UI elements.
- Adjusted progress indicator text in component integration tests to reflect the correct format being processed. - Enhanced clarity in test assertions for currently processing formats in FormattedOutput and MultiFormatProgress components. - Ensured consistency in progress tracking across various components to improve user feedback during processing.
- Removed unnecessary chunk count tracking in the transformToFormatStreaming method to simplify the code. - Enhanced clarity in the chunk processing logic for improved maintainability.
seshxn
approved these changes
Oct 31, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enhances the preferences system with dark mode support, improves the format selection UX, integrates
target language throughout the transformation pipeline, and fixes a scrollbar flickering issue during
streaming.
Type of Change
Changes Made
UI/UX Improvements
(src/index.css:5-7)
FormatSelector)
any format combination
(src/components/workspace/FormatQuickSelector.tsx:25-58)
Feature Enhancements
Bug Fixes
Code Quality
Testing Checklist
Code Quality Checklist
Documentation
Screenshots/Videos (if applicable)
Before: Scrollbar flickers during multi-format streaming, causing layout shiftAfter: Scrollbar always visible,
no flickering
Before: Summary format locks out other formatsAfter: All formats can be freely selected together
Performance Impact
Notes:
Deployment Notes
No special deployment considerations. All changes are backward compatible.
Steps to test
- Select 3+ formats and process content
- Verify scrollbar doesn't flicker during streaming
- Try selecting any combination of formats (including summary with others)
- Verify you can't deselect the last remaining format
- Change target language in preferences
- Process content and verify language preference is applied
- Switch to dark theme
- Navigate to Preferences page
- Verify all components render correctly with proper contrast
- Use keyboard to navigate format preview tooltips (Tab + Enter/Space)
- Verify tooltips open/close properly
Additional Context
This PR builds on the preferences touch-ups branch and includes the merge from main (which brought in
MultiFormatProgress component and animation improvements). The scrollbar fix addresses a visual regression
introduced during streaming enhancements in previous PRs.