- Removed background color classes from multiple item components to streamline styling.
- Updated AutoCompletion component to enhance pointer events handling.
- Improved text color classes for better readability across article, audio, picture, and video item components.
- Adjusted Card component styling for a more cohesive appearance.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced hardcoded text sizes with standardized 'text-body' class for consistency across various components.
- Wrapped TooltipContent in RootPortal for better rendering in EnhancedSettingsIndicator and SettingSyncIndicator components.
- Improved accessibility and visual consistency in EntryHeaderImpl and EntryContent components by updating text styles.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated DropZone component to include a cursor button style for better user interaction.
- Refactored DiscoverForm to improve layout and styling, including the addition of a SegmentGroup for target selection.
- Enhanced form styling across various components for a more cohesive appearance, including rounded borders and shadow effects.
- Improved accessibility and visual hierarchy in user forms and import forms.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed mediaInfo prop type to Nullable<MediaInfoRecord> in MediaInfoRecordProvider and HTML components for better null handling.
- Refactored useTocItems hook to improve performance and added refreshItems method for dynamic updates.
- Updated Toc component to support ref forwarding, allowing external components to trigger refresh of TOC items.
Signed-off-by: Innei <tukon479@gmail.com>
- Adjusted padding in the modal title for better alignment.
- Reorganized command IDs for clarity and consistency, ensuring all actions are included.
- Updated styles in the customizable toolbar for improved visual hierarchy and readability.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(desktop): add error handling for fetching content in readability action
* feat(desktop): enhance entry item actions with copy functionality
- Added 'Copy Title' and 'Copy Link' actions to the entry item context menu.
- Adjusted layout spacing in the readability notice for improved UI consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(readability): enhance ReadabilityNotice component and add new icons
- Updated ReadabilityNotice component for improved UI and user experience, including a new button for retrying content fetching.
- Added new SVG and React Native icon for warning notifications.
- Modified localization string for better clarity on content fetching failure.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
- Updated the settings menu to utilize showSetting instead of createSettingWindow, ensuring the settings modal opens in the main window.
- Removed the settingWindow management logic to streamline the window handling process.
- Adjusted related imports and function calls across the application for consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new readability command in the EntryItemWrapper for improved user interaction.
- Updated ActionButton to utilize a radial pulse animation for enhanced visual feedback.
- Adjusted state management in ActionButton to control highlight motion based on user interaction.
Signed-off-by: Innei <tukon479@gmail.com>
- Added tooltipDescription prop to ActionButton for improved user guidance.
- Updated CommandActionButton to utilize the new tooltipDescription.
- Modified Command interface to replace subTitle with description for better clarity.
- Adjusted entry command registration to include description in labels.
- Updated various components to ensure consistent text color usage for better readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed background classes to 'bg-material-ultra-thick' in various UI elements including media, buttons, and modals for a cohesive design.
- Standardized text color usage to 'text-text-secondary' and 'text-material-opaque' in entry items and notifications for better readability.
- Enhanced hover effects and transitions for buttons and interactive elements to align with design standards.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed background class from 'bg-material-medium' to 'bg-material-opaque' in EntryReadHistory component.
- Updated context menu shadow and background classes for better alignment with design standards in EntryReadHistory.shared component.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated tailwindcss-uikit-colors in package.json files across multiple projects.
- Updated react-native-uikit-colors in mobile and pnpm-lock.yaml files for consistency.
- Adjusted ProfileButton component styling for macOS compatibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the submenu transformation logic to check for item length before processing, preventing unnecessary transformations.
- Adjusted the EntryTitle component's hover effect class for improved scaling behavior.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed conditional text color classes for read/unread states in ListItem component.
- Ensured consistent application of 'text-text-secondary' across various text elements for improved styling coherence.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced 'bg-theme-modal-background-opaque' with 'bg-theme-background' in various error fallback components for consistency.
- Updated hover background classes from 'bg-theme-button-hover' to 'bg-material-ultra-thick' in multiple UI elements.
- Removed the 'modalOpaque' setting from UI settings for cleaner configuration.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the Select component styles for improved consistency and usability, including adjustments to padding and border properties.
- Refined the MarkdownLink component by removing unnecessary background classes for a cleaner appearance.
- Enhanced the MagneticHoverEffect component with a more descriptive class for backdrop blur.
- Introduced a Divider component in the SelectSeparator for better visual separation.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'bg-theme-placeholder-image' with 'bg-material-ultra-thick' for improved consistency in styling.
- Updated text placeholder colors from 'text-theme-placeholder-text' to 'text-text-tertiary' in various components.
- Enhanced visual coherence and alignment with the new color scheme throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'text-foreground' with 'text-text' for improved consistency in styling.
- Adjusted various components including MarkdownLink, AchievementModalContent, and others to align with the new color scheme.
- Enhanced readability and visual coherence throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the ScrollArea component to use flex for improved layout.
- Adjusted TabsList class to maintain consistency with the new flex styling.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `tailwindcss-multi` dependency to enhance Tailwind CSS capabilities.
- Updated `tailwind.config.ts` to include `tailwindcss-multi` plugin for improved utility management.
- Refactored various UI components to utilize new styling options and improve layout consistency.
- Renamed `useAsRead` hook to `useEntryIsRead` for better clarity in its purpose across multiple components.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced new sidebar color variables in Tailwind configuration and CSS files.
- Updated various components to utilize the new sidebar colors for consistency.
- Adjusted vibrancy settings in the window creation process for improved visual effects.
- Refactored background and media components to align with the new color scheme.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the spring.ts file and replaced direct imports with centralized Spring presets in various components.
- Updated transition properties in multiple files to utilize the new Spring module for consistency and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'text-theme-vibrancyFg' with 'text-text-secondary' for improved consistency in styling.
- Adjusted padding and margin in ModalInternal and other components for better layout.
- Removed vibrancy color definitions from tailwind and CSS files to streamline the color palette.
Signed-off-by: Innei <tukon479@gmail.com>
- Simplified date string setting logic in RelativeDay component.
- Added spacing in EntryHeadDateItem for better layout.
- Consolidated className definition in DateItem component for consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored the formatDateString function in the RelativeDay component to use useCallback for better performance.
- Updated the import path for getUpdateInterval to point to utils.js for consistency.
- Cleaned up the useEffect dependencies to ensure proper updates and prevent unnecessary re-renders.
- Commented out unused code in GuideModalContent to streamline the user guide presentation.
These changes enhance the maintainability and performance of the datetime component and improve the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Commented out the shortcuts section in GuideModalContent to streamline the current user guide presentation.
- This change prepares the code for potential future enhancements while maintaining existing functionality.
These modifications improve code clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored finishGuide function in GuideModalContent to use useRef for stability.
- Enhanced layout in GuideModalContent for better text alignment and spacing.
- Added flex property to ScrollArea in RSSHubGuide for improved responsiveness.
These changes enhance the user experience and maintainability of the components.
Signed-off-by: Innei <tukon479@gmail.com>