Commit Graph

1285 Commits

Author SHA1 Message Date
DIYgod dbff42baca
fix(headers): set app origin for OPTIONS requests 2025-12-24 12:18:38 +08:00
Stephen Zhou edf417fe81
feat: apple iap in electron (#4757)
* feat: apple iap in electron

* update
2025-12-24 10:26:49 +08:00
DIYgod 1f0902177c
fix(translation): refresh cache on mode changes 2025-12-22 13:51:47 +08:00
DIYgod 688cfceab9
feat: upgrade ai sdk 2025-12-18 12:07:27 +08:00
DIYgod 1b7d88275a
feat: remove unused login benefits and not logged in notice 2025-12-15 13:09:49 +08:00
DIYgod 45568d010f
chore: remove list power pricing ui 2025-12-15 12:58:39 +08:00
DIYgod 899eb7309f
feat(entry-content): integrate AI translation support in EntryContent component 2025-12-15 12:55:44 +08:00
Innei 3bab2a5595
fix(discover): correct atom key reference in UnifiedDiscoverForm to ensure proper data retrieval
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-27 23:19:35 +08:00
Innei d7bc90ba0a
refactor: optimize SortByUnreadFeedList component and improve state handling
- Wrapped SortByUnreadFeedList in memo for performance optimization.
- Utilized useCallback for the sortedList computation to prevent unnecessary re-renders.
- Enhanced the handling of onboarding and regular categories by ensuring a copy of ids is used.
- Minor adjustments in SubscriptionList and hooks for consistency and clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-27 22:51:05 +08:00
Stephen Zhou 1aa8b63305
fix: stable unread sort 2025-11-27 22:40:37 +08:00
Konv Suu 07acce799e
fix(discover): prevent empty results when keyword changes without search (#4759)
Co-authored-by: Innei <i@innei.in>
2025-11-27 01:09:36 +08:00
Innei 844b5f490f
feat: refactor discover module state management
- Introduced new atom hooks for managing discover search data, improving state handling in UnifiedDiscoverForm.
- Replaced direct atom usage with custom hooks for better abstraction and maintainability.
- Updated related components to utilize the new state management approach, enhancing overall code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-27 01:08:01 +08:00
Innei 519d0ba110
feat: enhance feed management with filtering options
- Added a responsive select component to filter feeds by type (All, RSSHub).
- Implemented logic to count and display RSSHub feeds.
- Updated feed selection and sorting functionality to respect the selected filter.
- Enhanced localization files to include new filter labels in English, Japanese, Simplified Chinese, and Traditional Chinese.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-26 17:35:24 +08:00
Innei f7460fd7ce
style: adjust unify setting item margin
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-26 17:17:12 +08:00
Innei 431a32345d
feat: redesign discover layout
- Introduced DiscoveryContent and UnifiedDiscoverForm components for better organization and functionality in the discover module.
- Updated existing components to remove unnecessary max-width constraints for improved responsiveness.
- Enhanced the Trending component with a view selector and improved layout handling.
- Updated localization files to include new tool descriptions and tips for user guidance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-25 22:44:14 +08:00
Innei 0ee37eec61
perf: sync with streamdown logic
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-25 19:42:15 +08:00
Stephen Zhou 03e99f55c6
chore: try remove workbox preaching 2025-11-25 14:48:54 +08:00
Stephen Zhou 51d39f6f6f
fix: youtube embed 2025-11-25 12:05:33 +08:00
Innei 0e441f6075
feat: add attribution tracking for analytics
- Introduced attribution tracking by capturing UTM parameters from the URL.
- Implemented functions to save and retrieve attribution data from local storage.
- Enhanced analytics initialization to include attribution data as user properties.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-25 01:37:28 +08:00
Innei b1a1caa002
chore: modify copy to increase conversion
- Updated layout and styling for the LoginModalContent component to improve visual hierarchy and user experience.
- Added new benefits and subtitles to the login interface, enhancing clarity for users.
- Introduced a quick start hint for new users and a demo view button for better engagement.
- Updated localization files for English, Japanese, Simplified Chinese, and Traditional Chinese to reflect new content.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-25 01:17:36 +08:00
Innei f178f486f8
feat: implement mobile layout for AIEnhancedTimeline
- Added MobileTimelineLayout component to handle mobile-specific rendering.
- Integrated useMobile hook for responsive behavior in AIEnhancedTimelineLayout.
- Updated layout logic to conditionally render components based on mobile view.
- Enhanced dropdown and context menu styles for better visual feedback.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-24 16:41:25 +08:00
Innei ad8575d737
feat: narrowed responsive layout handling, closed #4370
- Added a renderValue function to the LanguageSelector for improved display of selected language names.
- Updated layout component to support responsive behavior based on viewport width.
- Refactored setting sync to utilize useMobile hook for better mobile detection.
- Enhanced withResponsiveComponent to accept a breakpoint function for more flexible responsive layouts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-24 16:02:17 +08:00
Innei 452bb941a9
fix: entry 404 rendered error, closed #4729
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-24 15:26:44 +08:00
Innei a52c0473f0
fix: update EntryListHeader styling and enhance FeedItem context menu
- Removed conditional class application for feedIcon in EntryListHeader to simplify styling.
- Added functionality to the FeedItem context menu to allow users to switch views, integrating a new menu item for changing to another view based on the current subscription.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-24 15:18:49 +08:00
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