Commit Graph
5643 Commits
Author SHA1 Message Date
DIYgodandClaude a3a6a2aedb feat(desktop): add semi-transparent overlay for exiting entry detail view
When viewing entry details in wide mode, a semi-transparent overlay is now displayed over the subscription list area. This overlay includes:
- Visual indication with semi-transparent background and blur effect
- Exit hint with arrow icon and text prompting users to click to return
- Click anywhere on the overlay to navigate back to the entry list
- Multi-language support (EN, ZH-CN, JA)

This improves UX by providing a clear and intuitive way to exit the detail view.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 22:51:44 +08:00
DIYgodandClaude bdc17c0f12 fix(subscription): deduplicate feed IDs when feeds exist in both subscriptions and lists
Previously, if a feed was both directly subscribed and existed in a subscribed list,
it would appear twice in the subscription IDs array, causing unread counts to be
doubled in SubscriptionTabButton.

Fixed by using Set to deduplicate feed IDs in:
- getSubscriptionIdsByViewSelector
- getSubscribedFeedIdAndInboxHandlesByView

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 19:53:10 +08:00
Innei e3dafbc7cc fix(ai-chat): adjust AIModelIndicator styling in ChatInput component
- Updated the className for AIModelIndicator in ChatInput to improve layout and positioning.
- Added a margin adjustment and translation to enhance visual alignment.

These changes refine the user interface for better usability within the AI chat feature.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-20 17:01:32 +08:00
Innei 889d06c2c5 feat(ai-chat): update AI model management and enhance UI components
- Upgraded '@follow-app/client-sdk' to version 0.3.39, reflecting the latest changes in AI model management.
- Introduced a new AIModelIndicator component for displaying and selecting AI models.
- Enhanced ChatInput to include the AIModelIndicator, improving user interaction with AI models.
- Updated floating panel dimensions for better usability.
- Added useAIModel hook to manage AI model state and configuration.

These changes collectively improve the user experience by providing a more intuitive interface for managing AI models and enhancing the overall functionality of the AI chat feature.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-20 16:56:28 +08:00
Stephen Zhou f3b83e6b87 feat(desktop): payment for ai (#4309)
* feat: payment for ai

* update

* update

* remove referral progress

* update

* type

* update
2025-08-20 11:27:49 +08:00
Innei 732e8f155c chore!: remove EntryTimeline
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-19 23:56:04 +08:00
Innei 0c9977d5d3 feat(ai): implement MCP service integration for enhanced AI capabilities (#4359)
* feat(ai): implement MCP service integration for enhanced AI capabilities

- Added functionality to manage MCP services, including adding, updating, removing, and connecting to services.
- Introduced UI components for MCP service management, allowing users to enable MCP services and discover service endpoints.
- Updated AI settings to include MCP service configurations and integrated translations for new UI elements.
- Enhanced error handling and user feedback for service connection and discovery processes.

These changes collectively extend the AI capabilities by integrating external services through secure OAuth connections, improving the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(mcp): update MCP service integration and enhance settings management

- Upgraded '@follow-app/client-sdk' to version 0.3.38, reflecting the latest changes in MCP service management.
- Removed deprecated MCP service functions and streamlined the integration process for better performance.
- Introduced new UI components for managing MCP connections, including transport type selection and header configuration.
- Enhanced error handling and user feedback for service connection and discovery processes.
- Updated translations for new UI elements related to MCP services.

These changes collectively improve the user experience by providing a more robust and intuitive interface for managing external services through secure OAuth connections.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance ToolInvocationComponent with error handling and UI updates

- Added error handling to ToolInvocationComponent, displaying error messages and visual indicators when tool execution fails.
- Updated the UI to reflect tool status, changing icons and text based on success or failure.
- Improved styling for the back button in ChatInterfaceContent for a more consistent appearance.

These changes improve user feedback and interaction within the AI chat interface, enhancing overall usability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ai): streamline MCPServiceItem layout for improved readability

- Removed redundant resource and prompt counts from the MCPServiceItem component to simplify the display.
- Adjusted the layout to enhance the presentation of service details, including tools, creation date, and last used date.

These changes improve the clarity and usability of the MCP service information within the AI settings interface.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update deps

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-19 23:34:19 +08:00
Innei 9872cff3f5 Merge pull request #4356 from RSSNext/sync/main-to-dev-20250819
Sync main branch to dev branch
2025-08-19 21:51:01 +08:00
Stephen Zhou c11ca3ba09 Merge branch 'dev' into sync/main-to-dev-20250819 2025-08-19 21:35:52 +08:00
Innei fb0e1cfb4e Merge pull request #4325 from RSSNext/sync/main-to-dev-20250811
Sync main branch to dev branch
2025-08-19 13:56:19 +08:00
dependabot[bot] 94e4962093 chore(deps): bump actions/checkout from 4 to 5 (#4333)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 13:55:52 +08:00
Stephen Zhou 3a6e2f220c Merge pull request #4355 from RSSNext/08-19-feed-title-not-showing
fix(desktop): feed title not showing in list pick
2025-08-19 12:47:32 +08:00
Stephen Zhou 849bbebdfa fix(desktop): feed title not showing in list pick 2025-08-19 12:46:20 +08:00
DIYgod cd4042b306 feat: enhance AI shortcuts customization
- Added a new guideline to avoid using `defaultValue` in translations.
- Implemented a button to customize AI shortcuts when no shortcuts are available in the DefaultWelcomeContent component.
- Updated translation files for English, Japanese, and Simplified Chinese to include new keys for customizing shortcuts.
2025-08-19 00:37:23 +08:00
DIYgod 12bd9c1dd6 feat: ai-shortcut-button component 2025-08-18 23:28:21 +08:00
DIYgod a230840af5 feat: remove custom prompt display 2025-08-18 23:03:55 +08:00
DIYgod 8e3d7a640b feat: remove masonry column memory 2025-08-18 22:39:53 +08:00
DIYgod 282351281c fix: entry header actions display logic 2025-08-18 18:59:26 +08:00
DIYgod ebea7dcac1 fix: update column count logic in VirtualGridImpl for improved responsiveness
- Changed default column count from 2 to 1 in VirtualGridImpl to enhance layout adaptability.
- Adjusted breakpoint values to align with the new column count, ensuring better consistency across various screen sizes.
2025-08-17 23:00:33 +08:00
DIYgod 3d089930fd fix: update mainWindowDefaultSize to use primary display dimensions
- Changed mainWindowDefaultSize from static properties to a getter that retrieves the primary display's work area size, ensuring the main window adapts to different screen resolutions.
- Adjusted logic for determining window dimensions to improve handling of window state and maximum size constraints.
2025-08-17 22:27:14 +08:00
DIYgod 4edae950c0 fix: adjust column count logic in VirtualGridImpl and update breakpoints for masonry layout
- Changed default column count from 1 to 2 in VirtualGridImpl for improved layout responsiveness.
- Updated breakpoint values in masonry utility to reflect new column count logic, enhancing layout consistency across different screen sizes.
2025-08-17 22:26:58 +08:00
DIYgod 8916f9bc05 fix: update SwitchToMasonryButton to include openDelay in HoverCard and simplify ActionButton onClick logic 2025-08-17 22:18:13 +08:00
DIYgod 88759ab606 fix: prevent swipe media button from triggering redirection 2025-08-17 22:12:30 +08:00
DIYgod 8f1390bc95 fix: add no-drag-region class to the entry close button to fix the issue of electron not being clickable 2025-08-17 22:02:00 +08:00
DIYgod f8917e2e76 fix: types 2025-08-17 15:23:59 +08:00
DIYgod f3a4eab8af feat: revert entry animation and entry header 2025-08-17 12:54:54 +08:00
DIYgod f5d7cbceb5 fix: recover summary component 2025-08-16 23:57:31 +08:00
DIYgodandClaude 5360378c06 feat(ai-chat): integrate AI summary with chat interface and remove from entry content
- Add AI chat welcome screen with entry summary integration
- Implement EntrySummaryCard component for main entry context
- Add smart quick actions for entry-based AI interactions
- Remove AI summary from entry content layouts (ArticleLayout, EntryContent.legacy)
- Add localization support for AI chat features (en, ja, zh-CN)
- Clean up mobile AI summary module

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 23:47:02 +08:00
Innei afb916d1ef chore: persist server config to prevent feature flag cls
- Updated the server configurations atom to use atomWithStorage, enabling persistent storage for server config data.
- Integrated getStorageNS to manage storage namespace, enhancing data retrieval and initialization.

These changes improve the management of server configurations by ensuring persistence across sessions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-16 20:45:03 +08:00
dai e08f40b962 chore: update japanese languages (#4346)
* Add new Japanese translations for integrations and settings

Added multiple new Japanese localization strings for AI features, mobile subscription form options, and extensive integration management in settings, including custom integrations, categories, and fetch options.

* Update Japanese translation for fetch template label

Replaces the English 'Fetch Template' label with its Japanese equivalent 'テンプレートを取得する' in the custom integrations settings locale file.
2025-08-15 23:16:46 +08:00
Innei 60ea682fba feat(entry-content): introduce navigation hints constants and refactor hint logic
- Added constants for navigation hints, including icons and text, to improve maintainability and clarity.
- Refactored the EntryNavigationHandler and useEntryNavigationHints hook to utilize these constants, enhancing the user experience with clearer guidance.
- Updated styling for hint buttons to improve visual consistency across components.

These changes collectively streamline the navigation hint implementation, providing a more intuitive interaction model for users.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-15 21:37:52 +08:00
Innei 92dbd65690 refactor(entry-content): enhance entry navigation and scrolling hints
- Removed the scroll hint indicator from the AIEntryLayout component to streamline the layout.
- Introduced an EntryNavigationHandler to manage navigation hints and close gestures in the EntryContent component, improving user guidance.
- Updated the EntryScrollingAndNavigationHandler to remove unnecessary state management related to navigation hints, simplifying the logic.

These changes collectively enhance the user experience by providing clearer navigation cues and a more efficient entry content interaction model.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-15 21:27:56 +08:00
Innei 4ae9b67eef feat(entry-column): implement wheel gesture close functionality and refactor entry navigation
- Introduced a custom hook `useWheelGestureClose` to handle closing the entry content via wheel gestures when at the top of the scrollable area.
- Refactored `AIEntryLayout` and `EntryContent` components to integrate the new wheel gesture functionality, enhancing user experience during entry navigation.
- Updated `EntryColumnShortcutHandler` to streamline command bindings and improve interaction with the entry content.
- Enhanced entry navigation hints to provide clearer guidance for users on how to exit the entry view.

These changes collectively improve the responsiveness and intuitiveness of the entry content interactions, offering a more seamless user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-15 21:27:47 +08:00
DIYgod baf2f1fab1 feat(ai): add AISplineButton component and integrate into MainDestopLayout
- Introduced AISplineButton component to provide a floating button for opening the AI chat panel.
- Integrated AISplineButton into MainDestopLayout, ensuring it is displayed when the AI chat panel is not visible and the layout is in floating mode.
- Updated welcome description in localization to reflect a more focused assistance context.

These changes enhance the user interface by providing quick access to AI chat functionality, improving overall user experience.
2025-08-15 20:42:22 +08:00
DIYgod 955ee5441c feat(entry-layout): implement swipe-to-close functionality and enhance entry content navigation
- Added swipe and scroll gesture detection to close the entry content when scrolled up significantly.
- Introduced a scroll hint button to guide users on how to exit the entry view.
- Refactored AIEntryLayout to improve animation handling and user experience during entry transitions.
- Updated EntryScrollingAndNavigationHandler to streamline scroll detection logic and remove unnecessary state management.

These changes collectively enhance the interaction model for entry content, providing a more intuitive and responsive user experience.
2025-08-15 20:05:12 +08:00
Innei e420266014 refactor(entry-content): enhance scrolling and navigation behavior in EntryScrollingAndNavigationHandler
- Removed unnecessary viewportProps from ScrollArea in EntryContent component.
- Introduced constants for scroll detection thresholds and UI panel positioning to improve readability and maintainability.
- Enhanced the EntryScrollingAndNavigationHandler to manage scroll-based navigation more effectively, including touch and wheel gesture support.
- Added logic to show/hide navigation panels based on scroll position and user interactions, improving the overall user experience.

These changes collectively streamline the scrolling and navigation functionality, providing a more intuitive interaction within the entry content components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 15:46:08 +08:00
Innei a917b11876 feat(lcp): implement LCP optimization with LCPEndDetector and enhance motion components
- Introduced `LCPEndDetector` to monitor and optimize Largest Contentful Paint (LCP) by deferring animations until the page is fully loaded.
- Updated motion components to accept `lcpOptimization` prop, disabling initial animations until LCP is confirmed to improve performance.
- Integrated `LCPEndDetector` into the root providers for effective monitoring across the application.

These changes collectively enhance the loading performance and user experience by ensuring smoother transitions and animations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 15:17:18 +08:00
Innei 1d65d8895a refactor(feature): enhance feature management with improved type safety and utility functions
- Introduced a new `checkFeatureEnabled` function to centralize feature checking logic, reducing code duplication.
- Added `getFeature` function for non-hook feature checks.
- Updated `useFeature` hook to utilize the new utility for better clarity and maintainability.
- Enhanced type definitions for debug feature values and feature keys.

These changes improve the structure and readability of feature management within the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 14:31:24 +08:00
Stephen Zhou 302bfbaa24 fix(desktop): hide EntryReadHistory for legacy entry content 2025-08-14 09:27:16 +08:00
Innei 10c34f6d0b fix: delete missing command
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 01:02:17 +08:00
Innei 2dcdf0d6f2 fix(entry-content): escape key to back to entry list in zen mode
- Refactored featureConfigMap to utilize TypeScript's `satisfies` operator for improved type safety.
- Added a focusable reference in EntryContent to manage focus behavior during animations.
- Integrated hotkey handling in EntryScrollingAndNavigationHandler to improve navigation experience based on AI feature status and Zen mode.

These changes collectively enhance the code structure and user interaction within the entry content components, providing a more responsive and intuitive experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 00:43:15 +08:00
Innei 9b94f86d42 refactor(ui): update GlassButton variant and enhance SubviewLayout with improved button integration
- Changed the default variant of GlassButton from "glass" to "flat" for a more streamlined appearance.
- Integrated GlassButton into SubviewLayout for the back button and action area, enhancing the visual consistency and user interaction.
- Improved layout structure in EntryTitle for better spacing and readability.

These changes collectively enhance the UI components, providing a more cohesive and user-friendly experience across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-14 00:16:14 +08:00
Innei db7b3ede20 feat(entry-content): enhance AI entry layout and improve subscription management
- Updated AIEntryLayout to include smoother animations for entry transitions.
- Added feedId and entryId to entry title metadata for better context handling.
- Refactored EntryTimeline component to accept additional className prop for styling flexibility.
- Improved EntryContent component structure by replacing motion div with a standard div for better performance.
- Enhanced entry read history and layout components for improved user experience.

These changes collectively enhance the visual appeal and functionality of the entry content layout, providing a more seamless user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-13 23:52:33 +08:00
Innei b55753918d feat: optimize ai entry content layout and re-structure store files
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-13 18:42:41 +08:00
Innei e39eb6f565 refactor(entry-header): restructure entry header components for improved context management 2025-08-13 16:14:43 +08:00
Stephen Zhou 649f623e7d fix(desktop): prefetch entry detail for entry not exist 2025-08-13 15:15:55 +08:00
Stephen Zhou 84c84d8d60 fix(desktop): blurhash for video grid 2025-08-13 11:21:58 +08:00
Stephen Zhou 433bf4cb1b fix(desktop): add missing size info to show blurhash 2025-08-13 11:07:43 +08:00
Innei 699cbfaefc feat(ui): enhance debug feature management and chat ai entry content layout
- Updated the debug feature atom to support feature overrides and added a new hook for setting debug feature values.
- Integrated debug feature toggles into the EnvironmentIndicator component, allowing users to enable or disable features dynamically.
- Refactored the useFeature hook to accommodate the new debug feature logic.
- Improved the EntryLayoutContent and AIEntryLayout components to handle feature visibility based on debug settings.
- Introduced a new AIEntryHeader component for better separation of concerns in entry header rendering.

These changes collectively enhance the configurability and usability of the debug features, providing users with better control over feature management in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-13 01:46:19 +08:00
Innei 3cd4eebddd feat(footer): add PoweredByFooter component for enhanced branding
- Introduced a new PoweredByFooter component to display copyright information and social media links.
- Updated layout and styling for better responsiveness and visual appeal.
- Removed the old PoweredByFooter implementation from the internal components.

These changes collectively enhance the user experience by providing a consistent branding element across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-12 23:18:59 +08:00