Commit Graph
1261 Commits
Author SHA1 Message Date
Stephen Zhou 8087bebfee chore: lint 2025-11-21 16:48:18 +08:00
Stephen Zhou 5e0f2a09b5 fix: stable image proxy utils 2025-11-21 16:43:21 +08:00
Innei 4b482fc78e refactor: simplify TagEntriesModal layout and improve loading state handling
- Updated the layout of TagEntriesModal for better responsiveness and visual clarity.
- Removed unnecessary loading state handling for the refresh button.
- Enhanced the key generation for mapped items to avoid potential duplication.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-21 16:29:42 +08:00
Innei 8afbb47caa feat: enhance TagEntriesModal with feed selection options
- Added a segment control to allow users to toggle between viewing entries from the current feed or all feeds.
- Integrated translation support for the new segment labels in English, Japanese, Simplified Chinese, and Traditional Chinese.
- Updated the useEntryTagsQuery hook to enable fetching based on the selected feed scope.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-21 16:27:02 +08:00
Stephen Zhou df82ac45c9 fix: do not register notification when there are no user 2025-11-21 16:02:41 +08:00
Innei dc70a241bf fix: remove EntryTags component from ListItem template
- Eliminated the EntryTags component from the ListItem template to streamline the rendering process.
- This change may improve performance and reduce unnecessary rendering in the entry column.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-21 15:50:27 +08:00
Innei cdea2fa5dd refactor: update ShadowDOM and ArticleLayout components for improved text selection handling
- Replaced the useRef with useState in ShadowDOM to manage shadowRoot more effectively.
- Enhanced text selection listener logic to ensure proper cleanup and functionality.
- Added console logs in ArticleLayout for debugging text selection events.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 22:09:23 +08:00
Innei 4e3e1c1513 fix: ensure selection is cleared on entry change
- Added a useEffect hook to clear selection whenever the entryId changes, improving the component's responsiveness to entry updates.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 21:54:09 +08:00
DIYgod 6e1f9d8a8f feat: add PersonalizePromptSection to AI settings 2025-11-20 20:14:49 +08:00
Innei 0099f30a03 chore: update '@folo-services/ai-tools' version to 0.2.65 and enhance TokenUsagePill component
- Bumped the version of '@folo-services/ai-tools' to 0.2.65 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Refactored the TokenUsagePill component to improve structure and added localization support for token usage information.
- Introduced new model info and provider info sections for better user clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 20:00:40 +08:00
Innei f364f4b0f0 fix: adjust layout styles in AIChatMessage component for improved responsiveness
- Updated the class names in the AIChatMessage component to ensure full-width display for message elements.
- Enhanced the layout structure to better accommodate varying message sizes and improve overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:33:55 +08:00
Innei 50641b60e5 Merge remote-tracking branch 'origin/dev' into dev
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:03:31 +08:00
Innei f83234e7d9 feat: ai tags ui
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 19:02:42 +08:00
Stephen Zhou 2d0fa19e14 feat: read secure image setting from server 2025-11-20 17:09:15 +08:00
Innei 628d157161 feat: add share poster functionality with image copying and localization support
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-20 16:26:09 +08:00
DIYgod 9347e80bfd refactor: remove unused rate limit message part in computeRateLimitMessage function 2025-11-20 15:17:50 +08:00
DIYgod 6dbf04d5f8 refactor: simplify TokenUsagePill component by removing unused token metadata and adjusting styles in TextSelectionToolbar 2025-11-20 15:07:16 +08:00
DIYgod 6913079254 feat: enhance AI timeline functionality and improve settings integration 2025-11-20 15:01:16 +08:00
Innei 7797b7b8fd feat: implement selected text functionality in AI chat editor, resolves FOL-2800
- Introduced a new SelectedTextNode to handle selected text within the AI chat editor.
- Added a TextSelectionToolbar for user interaction with selected text, including copy and AI query options.
- Updated the editor plugins to include the SelectedTextPlugin for managing selected text insertion.
- Enhanced text selection event handling to capture and process selected text with associated metadata.
- Refactored related components and styles for improved user experience and integration.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 22:39:31 +08:00
DIYgod c17957f98e fix: update AI timeline loading overlay styles for improved visibility and aesthetics 2025-11-19 22:36:15 +08:00
DIYgod 6a64f53de6 feat: implement AI timeline loading overlay with animations and localization support 2025-11-19 22:36:15 +08:00
DIYgod 26c842751a feat: add AI timeline sorting feature with customizable prompt settings 2025-11-19 22:36:15 +08:00
Stephen Zhou 043b5a02c4 fix: mark as read on top for list context menu 2025-11-19 22:01:07 +08:00
Stephen Zhou f207cc328d feat: secure image proxy in plan 2025-11-19 21:54:29 +08:00
Innei 8c655f2a2f feat: enhance audio player with slider functionality
- Integrated a slider component for audio progress control using @radix-ui/react-slider.
- Added state management for dragging and value tracking during playback.
- Updated UI elements for improved interaction and visual feedback.
- Refactored progress handling to accommodate new slider functionality.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 18:50:05 +08:00
Innei 55720885cf fix: add metadata backfill check in AIChatSessionService, improves message loading logic
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 18:20:06 +08:00
Innei 64a4e20faf fix: add metadata handling in AIPersistServiceStatic, resolves FOL-2809
- Updated AIPersistServiceStatic to include metadata in the message construction from the database.
- Enhanced type imports to include BizUIMetadata for improved type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 17:03:09 +08:00
Innei 5cbfb50df0 fix: chat session delete loading state
- Updated session deletion logic in ChatHistoryDropdown and TaskReportDropdown to use an options object for event handling and pre-delete actions.
- Refactored ChatInterface to streamline focus handling and error logging, introducing new hooks for managing chat input focus and logging errors.
- Enhanced chat scroller functionality to better manage content height and scrolling behavior.
- Introduced utility hooks for managing chat drafts and rate limit information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 16:40:26 +08:00
Innei 01042643ed fix: enhance token usage display and rate limit messaging for free users, resolves FOL-2808
- Updated TokenUsagePill to conditionally render token details based on user role.
- Modified computeRateLimitMessage to include an option for hiding reset details.
- Adjusted ChatInterface to utilize user role for displaying reset details in rate limit messages.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 16:16:41 +08:00
Innei 1281e8ebb4 fix: conditionally render close button in LoginModalContent for non-Electron environments
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 16:06:03 +08:00
Innei 44a0a40572 fix: update innerGlow styles for dropdown-menu, context-menu, and tooltip components
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 16:03:48 +08:00
Whitewater 8ba1bef397 fix: correct jsonEscape logic and trim headers in fetch template processing (#4736)
* fix: correct jsonEscape logic in fetch template processing

* fix: trim processed headers keys and values in fetch template processing
2025-11-19 16:00:41 +08:00
Whitewater 9a638b509c fix: update command type handling in entry actions (#4737)
Refactor commandId type to ensure proper type usage and remove unnecessary string handling for custom integrations.
2025-11-19 16:00:10 +08:00
Stephen Zhou fc866b0222 fix: api header for ai chat 2025-11-19 13:49:45 +08:00
DIYgod 940c95f4d1 fix: update UserProBadge styles for role display 2025-11-19 10:04:27 +08:00
Stephen Zhou 30bae3b73e fix: disable magic link in electron 2025-11-19 09:38:13 +08:00
Stephen Zhou b8a89e667c fix: allow close login modal in electron 2025-11-19 09:37:54 +08:00
DIYgod 7735d03579 feat: revert layer main changes 2025-11-19 09:10:02 +08:00
Innei add03d787b refactor: simplify dependency array in SettingItemButtonImpl component
- Removed unused dependencies from the effect hook in the SettingItemButtonImpl component for cleaner code and improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 00:14:45 +08:00
Innei 38d0571460 refactor: update FeedItem component to conditionally render actions based on onboarding state
- Added a check for onboarding feed to conditionally render the follow button or unread number.
- Improved the structure of the component for better readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-19 00:01:50 +08:00
Innei 1f869115d2 refactor: improve entry actions and feed URL handling
- Removed unused AI summary hooks from useEntryActions for cleaner logic.
- Updated useFeedSafeUrl to return null for invalid URLs, enhancing safety.
- Integrated useFeedSafeUrl in EntryItemWrapper and EntryTitle for better URL handling.
- Added onboarding feed tooltip in FeedItem for improved user guidance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 23:56:33 +08:00
Innei 09825fb7d1 refactor: restructure app tip components and enhance onboarding experience
- Removed the AppTip component and its controller, consolidating functionality into AppTipModalContent.
- Updated MainDesktopLayout to utilize the new modal for onboarding tips.
- Enhanced the modal presentation with animation and improved layout for better user experience.
- Cleaned up unused imports and streamlined the app tip logic for clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 23:26:01 +08:00
DIYgod ef06b48c44 feat: update heading in recommendations section to RSSHub 2025-11-18 22:17:18 +08:00
Whitewater 6d808df3e6 fix(integration): escaping content for json body in custom integrations (#4728)
* fix: add jsonEscape option for placeholder replacement

Enhance the replacePlaceholders method to support JSON escaping of values when specified in options. This improves handling of JSON strings in templates.

* fix(integration): add default Content-Type header for non-GET methods
2025-11-18 20:17:19 +08:00
Stephen Zhou 6644f5a59d feat: magic link support 2025-11-18 19:06:10 +08:00
Innei 92f3bf7ff4 refactor: enhance UI components with improved styling and layout
- Introduced gradient backgrounds and box shadows for dropdown menus and context menus for a more modern appearance.
- Updated modal styles to include backdrop blur and inner glow effects for better visual depth.
- Adjusted component layouts for consistency and improved user experience across modals and context menus.
- Refined keyboard component styles for better interaction feedback.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 17:16:54 +08:00
Stephen Zhou 818e36090c fix: use route view for all view only 2025-11-18 17:04:34 +08:00
Innei 52a0a75983 refactor: update UI components for improved styling and functionality
- Replaced hardcoded color values with CSS variables for better maintainability in AGENTS.md.
- Enhanced the Subscription Feeds section with a sticky action bar and improved layout in feeds.tsx.
- Updated the Personalize Prompt section to use a more visually appealing design with a backdrop blur effect.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 16:50:33 +08:00
Innei fdd7d5adf8 refactor: update notifications settings UI for improved layout and accessibility
- Removed unused imports and components to streamline the code.
- Enhanced the notifications section layout with improved spacing and styling.
- Updated the display of notification channels to use a more accessible design.
- Added loading and empty state indicators for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 16:29:14 +08:00
Innei 36193abdc0 chore: update package versions and add ManageMemoryCard component
- Updated versions for '@follow-app/client-sdk' to 0.3.89 and '@folo-services/ai-tools' to 0.2.61 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Introduced ManageMemoryCard component for managing user memory in AI chat.
- Enhanced AIMessageParts to include ManageMemoryCard and updated related translations for memory actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-18 16:15:50 +08:00