Commit Graph
276 Commits
Author SHA1 Message Date
Innei 0b18afd7b9 feat(color): add getHighestWeightColor function for improved color extraction
- Introduced a new utility function, getHighestWeightColor, to calculate the most dominant color in an image based on pixel frequency.
- Updated recommendations-card component to utilize the new color extraction method, enhancing visual consistency in the UI.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:57:36 +08:00
Innei d58d66a3c5 feat(discover): add empty state handling in recommendations
- Introduced an empty state UI in the RecommendationDrawerContent to display a message and icon when no recommendations are available.
- Updated the component to conditionally render either the recommendations or the empty state based on the filteredItems length.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:51:19 +08:00
Innei 764fc0ecf9 refactor(discover): remove unused constants and styles
- Deleted the constants file for RSSHubCategories as it is no longer needed.
- Removed the recommendations.module.css file to clean up unused styles.
- Updated recommendations and recommendations-card components to utilize the new import path for constants.
- Enhanced the layout and styling of the Recommendations component for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:47:43 +08:00
Innei d35639f57a fix(modal): feed modal preview view cls
- Added `modalContentClassName` prop to various modal presentations to allow for better content overflow handling.
- Updated modal components to utilize the new class for improved layout in specific contexts.
- Introduced new `EntryItemSkeleton` component for loading states in entry columns, enhancing user experience during data fetching.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 21:56:43 +08:00
Stephen Zhou 812b0894aa fix: update profile, close #3574 2025-04-27 18:44:48 +08:00
Stephen Zhou 948f76a02c feat: mark above / below as read (#3570) 2025-04-27 09:16:24 +00:00
Innei f64494663d refactor(picture-gallery): simplify image rendering by removing unused wrapper component
- Removed the MasonryItemFixedDimensionWrapper component to streamline image rendering in the ImageGallery.
- Updated the Media component usage to directly handle image properties without the additional wrapper.
- Cleaned up imports by removing unused hooks and types for better code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 16:11:11 +08:00
Innei 165c7ab06e fix(desktop): auto completion can't user interreaction
- 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>
2025-04-27 14:54:34 +08:00
Innei 91b9fae6c5 refactor(desktop): update text styles and enhance tooltip functionality
- 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>
2025-04-27 14:26:40 +08:00
DIYgod e95759b0ed Merge pull request #3600 from RSSNext/sync/main-to-dev-20250427
Sync main branch to dev branch
2025-04-27 11:51:29 +08:00
DIYgod 8b0778ef97 fix(desktop): disable touchstart event of entry list on web mobile 2025-04-27 11:49:28 +08:00
DIYgod 29f115a743 fix(desktop): hide check update menu for mas 2025-04-26 09:20:23 +08:00
Innei bac823a658 refactor(desktop): enhance UI components and form layouts
- 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>
2025-04-26 00:33:22 +08:00
Innei 9a46e0d9d7 fix(desktop): toc items refresh after Readability enable
- 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>
2025-04-25 23:40:02 +08:00
Innei 1cf1876a50 refactor(desktop): update modal styles and command IDs for consistency
- 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>
2025-04-25 22:45:00 +08:00
Konv SuuandInnei 65d97f425d feat(desktop): add error handling for fetching content in readability (#3567)
* 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>
2025-04-25 22:29:44 +08:00
Konv Suu bf452b0119 feat(desktop): add copy title action and tooltip warning (#3582)
* feat(desktop): add copy title action to entry actions and improve tooltip for desktop features

* update
2025-04-25 20:48:13 +08:00
Stephen Zhou a95de490ec feat: translation mode (#3568) 2025-04-25 20:38:44 +08:00
Innei 5120c2c409 fix(settings): replace createSettingWindow with showSetting for improved window management
- 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>
2025-04-25 12:44:46 +08:00
Innei a653b34b05 fix(settings): adjust opacity of setting section title for improved visibility
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-25 12:33:49 +08:00
DIYgod 44d218ea88 feat(desktop): optimize settings colors 2025-04-25 12:08:48 +08:00
Innei 6256b7d762 feat(ui): add readability command to entry item wrapper and enhance action button animation
- 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>
2025-04-24 21:44:55 +08:00
DIYgod f6578dfbe4 Merge remote-tracking branch 'origin/dev' into dev 2025-04-24 21:39:21 +08:00
DIYgod b0b2788168 Merge branch 'hotfix/mas' into dev 2025-04-24 21:35:20 +08:00
Innei 1461daa79b feat(ui): enhance CommandActionButton with tooltip description and update command label structure
- 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>
2025-04-24 21:30:59 +08:00
DIYgod 165c9eb279 feat: hide power 2025-04-24 21:07:53 +08:00
Innei a525406600 refactor(ui): update styling for improved visual consistency across components
- 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>
2025-04-24 20:34:35 +08:00
DIYgod 9da9dec7ec fix(desktop): use onTouchStart instead onClick to entry list on touchable device 2025-04-24 19:33:50 +08:00
Innei be2cb05dc2 fix(entry-read-history): update styling for improved visual consistency
- 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>
2025-04-24 13:05:55 +08:00
Innei 1ea969fa9e chore(dependencies): update tailwindcss-uikit-colors and react-native-uikit-colors to version 0.5.2
- 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>
2025-04-24 12:58:21 +08:00
Innei b6eb586121 fix(context-menu): ensure submenu is only transformed if it has items
- 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>
2025-04-24 12:45:06 +08:00
Innei b3a2fdb1fb fix(list-item-template): standardize text color usage
- 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>
2025-04-24 12:40:00 +08:00
Whitewater 55de55e715 fix: keep only two decimal places at most for balance (#3564)
* fix: keep only two decimal places at most for balance

* refactor: use mono font styling for balance
2025-04-23 17:43:50 +00:00
Innei 634436ee83 refactor: update background colors and styling across components
- 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>
2025-04-23 23:54:50 +08:00
Innei e3892d06ce fix(view-selector): ignore user event if disabled
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:28:11 +08:00
Innei 4e67eef418 refactor: enhance styling and structure of select components
- 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>
2025-04-23 23:25:31 +08:00
Innei b1578b1129 refactor: update placeholder and background colors across components
- 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>
2025-04-23 23:23:48 +08:00
Innei 3fb0f6726d refactor: update text color scheme across multiple components
- 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>
2025-04-23 23:23:48 +08:00
DIYgod 9222553869 feat(desktop): add status action 2025-04-23 23:01:16 +08:00
Innei 84b868956c fix: discover tab width cls when switch to transfrom tab
- 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>
2025-04-23 22:48:45 +08:00
Whitewater 7005e1b913 fix: improve loading and preview logic in ViewSelectorRadioGroup (#3560) 2025-04-23 14:40:48 +00:00
Innei c995da3323 feat(desktop): re-design context menu and dropdown menu
- 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>
2025-04-23 22:32:08 +08:00
Innei 1c9cb9c3ba feat(desktop): update sidebar color scheme
- 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>
2025-04-23 20:17:46 +08:00
Innei ec6bc963a7 refactor: migrate spring constants to centralized module
- 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>
2025-04-23 15:45:18 +08:00
Innei a41b695e75 refactor: update color scheme from vibrancy to text-secondary across multiple components
- 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>
2025-04-23 15:29:22 +08:00
Innei e5e3bc1c06 fix(desktop): update date when date prop updated
- 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>
2025-04-23 15:08:43 +08:00
Konv Suu aa7e28d839 feat(desktop): improve ux in trending (#3555) 2025-04-23 13:51:27 +08:00
DIYgod d7b6647e52 feat(deskotp): remove sendAnonymousData 2025-04-23 09:14:42 +08:00
DIYgod d595ca6783 feat(desktop): remove early or beta text 2025-04-23 09:06:45 +08:00
Konv Suu f3a60c49c2 chore(desktop): drop mark as read button in ai-daily (#3549) 2025-04-22 23:13:21 +08:00