Commit Graph
460 Commits
Author SHA1 Message Date
DIYgod 7ce5420f92 feat: optimize language selector display 2025-04-30 15:58:25 +08:00
Stephen Zhou 4dc6c7ce4c fix: default summary to false, allow trial user to update settings, close #3629 2025-04-30 15:57:43 +08:00
Stephen Zhou 8586d689a4 chore: type 2025-04-30 15:53:39 +08:00
Stephen Zhou be3811e0f8 style: format 2025-04-30 15:48:17 +08:00
Stephen Zhou f2a7cf0d8f chore: fix css 2025-04-30 15:44:26 +08:00
Stephen Zhou 47dfab2360 chore: update hono type 2025-04-30 15:40:04 +08:00
Innei 2d67706046 refactor(desktop): update radio and checkbox components for improved functionality
- Replaced Radio component with RadioGroupItem and RadioCard for better structure and styling.
- Introduced a new Checkbox component with enhanced state management and animations.
- Updated various files to utilize the new components, ensuring consistent behavior across the application.
- Removed deprecated Radio component and associated styles from the codebase.
2025-04-30 15:29:48 +08:00
DIYgod f48697c416 feat: simplified language list 2025-04-30 15:17:04 +08:00
Stephen Zhou 92182a68cd chore: update hono type 2025-04-30 00:54:52 +08:00
Stephen Zhou 615c866e09 chore: keep hono type file unformatted 2025-04-30 00:28:23 +08:00
Stephen Zhou 08b353f499 feat: star action (#3625) 2025-04-30 00:25:03 +08:00
Stephen Zhou ad4b25270e chore: fix type check 2025-04-29 22:21:09 +08:00
Innei 18d15a4c44 feat: enhance modal behavior and improve recommendations rendering
- Added onAnimationComplete handler to dismiss modals after exit animation.
- Refactored modal stack update logic to remove unnecessary nextFrame call.
- Introduced delay for masonry rendering in recommendations to prevent layout shifts and improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 20:07:28 +08:00
Innei 7844a88a00 chore: update readability package
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 17:32:32 +08:00
Stephen Zhou 0b114dc9fe chore: clean export 2025-04-29 10:40:18 +08:00
Innei 21f0db1633 chore(readability): bump version to 0.1.1 and update dependencies
- Updated package version from 0.1.0 to 0.1.1 in package.json.
- Moved '@follow/configs' to devDependencies for better dependency management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:38:47 +08:00
Innei e6aa58e25e feat(desktop): fallback readability if server error
- Added '@follow-app/readability' to the project and updated its import paths.
- Removed the obsolete readability utility from internal utils.
- Updated pnpm-lock.yaml to reflect new dependencies, including '@mozilla/readability' and adjustments to optional dependencies.
- Modified package.json files to include new dependencies and ensure proper workspace linking.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:31:42 +08:00
Innei 123e6937ee chore: update pnpm-lock.yaml and add readability package
- Updated pnpm-lock.yaml to include new dependencies and versions, including jsdom and utf-8-validate.
- Added a new package '@follow-app/readability' with its configuration files, including package.json, tsconfig.json, and build scripts.
- Adjusted import paths in tailwind.config.ts files for both desktop and SSR applications.
- Set the development environment variable in env.ts to false for production readiness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 23:10:46 +08:00
DIYgod 065d061521 fix(mobile): tailwind import path 2025-04-28 22:35:31 +08:00
Innei 2a670cd694 chore: update dependencies across multiple packages
- Bumped versions of various dependencies in package.json files, including @tsslint, eslint, nbump, and others.
- Updated @types/node to 22.15.3 in several packages for compatibility.
- Adjusted versions of Radix UI components and other libraries to their latest releases for improved functionality and security.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:22:15 +08:00
Innei 4d746522f1 refactor: remove unused files and clean up project structure
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 20:58:51 +08:00
Whitewater 99c1a6fb64 fix: adjust layout for scroll area issues (#3612)
* fix: adjust layout to workaround scroll area viewport display issues

* feat: add asChild prop to ScrollArea for enhanced flexibility
2025-04-28 07:47:41 +00:00
Innei 718587779c fix(color): handle canvas context error in getHighestWeightColor function
- Updated the getHighestWeightColor function to return a default color instead of throwing an error when the canvas context cannot be obtained.
- Removed unnecessary comments to improve code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 22:58:10 +08:00
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
lawvs 1d60f436ed fix: update import path for Spring constants 2025-04-27 15:40:04 +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 498314edeb refactor(utils): enhance LRUCache implementation with linked list structure
- Introduced a doubly linked list to manage cache entries, improving efficiency for get and put operations.
- Updated error message for capacity validation to be more descriptive.
- Added methods for moving nodes within the list, enhancing code readability and maintainability.
- Removed unnecessary key tracking array, simplifying the cache management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-26 00:48:51 +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
Stephen Zhou a95de490ec feat: translation mode (#3568) 2025-04-25 20:38:44 +08:00
DIYgod 45e062269c chore: update hono.ts 2025-04-25 12:46:50 +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
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
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 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 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 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