Commit Graph
4422 Commits
Author SHA1 Message Date
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
Eric Zhu 3741a12808 chore(locales): update zh-CN translations (#3575) 2025-04-25 20:48:50 +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
Whitewater 82a05daebd fix(mobile): standardize HTTP method casing (#3587) 2025-04-25 06:43:59 +00:00
DIYgod 45e062269c chore: update hono.ts 2025-04-25 12:46:50 +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
DIYgod c193ff2ea6 fix: type 2025-04-25 10:40:51 +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
Whitewater 9648adb63c fix(mobile): add day/night theme plugin for Android styling (#3572) 2025-04-24 16:44:48 +08:00
Whitewater bb509fcbb0 fix(mobile): correct opacity modifier for Android platform (#3571) 2025-04-24 15:12:20 +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
DIYgod a4ce91d6e3 feat(mobile): add status action 2025-04-24 10:38:39 +08:00
Johnson Chu 59653c082d refactor(tsslint): update rules import and configuration (#3561) 2025-04-24 07:22:03 +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
DIYgod 01b8037336 feat(mobile): optimize list search result list 2025-04-23 19:40:11 +08:00
DIYgod 4027d0e6eb feat(mobile): optimize feed search result list 2025-04-23 19:26:33 +08:00
DIYgod adaa52f85d fix(mobile): search loading indicator 2025-04-23 15:59:44 +08:00
DIYgod 0b2393a11b feat(mobile): update discover category colors 2025-04-23 15:57:20 +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
DIYgod 755c12b4f4 feat(mobile): merge search screen into discover screnn; optimize search input 2025-04-23 15:10:58 +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
Whitewater 74ea30c30c fix(mobile): tweak loading style in android (#3557) 2025-04-23 06:34:17 +00:00
Konv Suu aa7e28d839 feat(desktop): improve ux in trending (#3555) 2025-04-23 13:51:27 +08:00
Innei 8678e5439e fix(mobile): simplify header component and update ForgetPasswordScreen layout
- Removed unused imports and the HeaderCloseButton component from HeaderElements.tsx.
- Integrated DefaultHeaderBackButton for improved navigation handling.
- Adjusted padding and alignment in ForgetPasswordScreen for better layout consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 13:50:13 +08:00