Commit Graph
5543 Commits
Author SHA1 Message Date
Innei fc11d0089f chore: update dependencies and refactor ai-chat module structure
- Updated @follow-app/client-sdk to version 0.3.26 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Upgraded ai package to version 5.0.2 across various package.json files.
- Refactored ai-chat components to use new store structure, moving types and hooks from __internal__ to store.
- Introduced new AIChatContext and hooks for better state management in the ai-chat module.

These changes enhance the maintainability and performance of the ai-chat module while ensuring compatibility with updated dependencies.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-05 00:08:55 +08:00
Innei 635ca82c5d chore: re-structure ai module file tree
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 23:31:54 +08:00
Innei 8214578b21 fix(ai): update grid layout for analytics and entries components
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 23:19:52 +08:00
Innei c4ac1b1875 feat(ai): add ai mention plugin (#4305)
* init

* refactor

* implement mention plugin for chat input

- Updated pnpm-lock.yaml and pnpm-workspace.yaml to include new versions of @floating-ui packages.
- Added MentionPlugin to the chat input component, enabling mention functionality.
- Created necessary components, hooks, and utilities for mention handling, including MentionNode, MentionDropdown, and related styles.
- Refactored existing code to integrate mention features seamlessly into the chat interface.

This update enhances the chat experience by allowing users to mention others easily, improving interactivity and engagement.

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

* Enhance mention functionality in chat editor

- Integrated MentionNode into AIRichTextMessage for improved mention handling.
- Updated MentionPlugin to utilize new hooks for mention search and insertion.
- Added useMentionIntegration and useMentionSearchService hooks for better mention management.
- Created contextBarSearchService and feedEntrySearchService for unified search functionality.
- Refactored LexicalRichEditor to support custom nodes from plugins.

This update improves the chat experience by streamlining mention interactions and enhancing search capabilities.

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

* Enhance mention integration and synchronization in chat editor

- Updated ChatInput layout for improved button positioning.
- Added select-none class to mention styles for better user experience.
- Refactored MentionDropdown to improve the display of mention types and content.
- Introduced useMentionBlockSync hook for bidirectional synchronization between mention nodes and context blocks.
- Enhanced useMentionIntegration to handle mention insertion with node key tracking.
- Implemented useMentionSearchService for streamlined mention search functionality.

These changes improve the overall mention handling and user interaction within the chat editor, making it more intuitive and efficient.

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

* Refactor ChatInput layout to include ScrollArea for improved scrolling experience

- Wrapped LexicalRichEditor in a ScrollArea component to enhance the input area’s usability.
- Adjusted styles in LexicalRichEditor for better layout consistency.

These changes aim to improve user interaction within the chat input by providing a more flexible scrolling interface.

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

* Remove deprecated mention functionality and update MentionNode for markdown export

- Deleted mention-related files and types as functionality has been moved to the desktop app.
- Updated MentionNode to change the text content format for markdown export.
- Refactored useMentionBlockSync to remove unused helper functions and streamline dependencies.
- Adjusted LexicalRichEditor placeholder styles for better alignment.

These changes clean up the codebase by removing obsolete mention features and enhancing the current mention handling in the chat editor.

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

* Implement AI chat message tracking functionality

- Added tracking for AI chat messages sent by integrating the tracker module into the ChatInterface component.
- Introduced a new tracker point for AIChatMessageSent in the TrackerMapper enum.
- Removed deprecated entry tracking methods to streamline the tracking process.

These changes enhance the analytics capabilities of the chat interface by monitoring AI interactions more effectively.

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

* Update VSCode settings for Tailwind CSS and i18n-ally configuration

- Streamlined the tailwindCSS.experimental.classRegex by removing unnecessary line breaks for better readability.
- Consolidated the tailwindCSS.experimental.configFile and i18n-ally settings into single-line arrays for consistency.
- Ensured proper formatting and alignment of settings to enhance maintainability.

These changes improve the clarity and organization of the VSCode settings file.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 23:06:15 +08:00
Innei 4205d49b08 fix: update tag filter to include mobile and desktop versions
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 17:52:20 +08:00
Konv Suu e0ac4dd9de fix(desktop): improve preview player style (#4238)
* fix(desktop): improve preview player style

* update
2025-08-04 16:15:13 +08:00
Konv Suu ae093ffab8 fix(desktop): make copy button center in markdown-link component (#4302) 2025-08-04 16:14:38 +08:00
Yuebi be71843698 chore(locales): update newest zh-CN translations (#4300) 2025-08-04 01:14:20 +08:00
Whitewater 3e04dc7291 refactor: upgrade FlashList to v2 (#4298)
* refactor: upgrade FlashList to v2

* chore: upgrade @shopify/flash-list to v2.0.0

* chore: update packageManager version to pnpm@10.14.0

* fix: revert packageManager version to pnpm@10.12.1

* chore: update ref type for TimelineSelectorMasonryList component
2025-08-03 13:56:39 +08:00
lawvs 7a4f5078e7 fix: set default view for FollowImpl 2025-08-02 19:59:57 +08:00
Innei 6de58e038e fix: update FeedItem icon and enhance color constants
- Changed the icon in FeedItem component to a more appropriate representation.
- Updated color constants for various themes to improve contrast and visual appeal, ensuring better accessibility and aesthetics.

This update enhances the user interface by refining iconography and color usage across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-02 16:48:22 +08:00
Innei 44fe72bd92 feat(integration): add URL scheme support and enhance custom integration management
- Introduced URL scheme handling in the integration module, allowing users to define and execute URL schemes.
- Added validation for URL scheme templates to ensure correct format and required fields.
- Enhanced the CustomIntegrationManager to support both HTTP and URL scheme integrations.
- Implemented a preview feature for URL schemes in the CustomIntegrationModal.
- Updated UI components to accommodate new integration types and improve user experience.

This update expands the capabilities of custom integrations, enabling seamless interaction with external applications through URL schemes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-02 16:41:54 +08:00
Whitewater 244aca2ad6 feat: implement audio seeking functionality (#4295)
* refactor: move timeStringToSeconds to utility function

* feat: add seekAudio functionality to bridge and implement timestamp handling in MarkdownLink

* feat: implement audio seeking functionality in EntryContentWebView

* feat: implement audio seeking functionality for iOS

* chore: clean code

* fix: audio seeking functionality for iOS
2025-08-01 23:43:30 +08:00
Konv Suu 4771c021a4 feat(desktop): optimize PeekModal loading experience (#4284) 2025-08-01 22:05:22 +08:00
Innei cf47ef442f feat(ai): listen for user text selection add to ai block
- Added text selection capabilities to ShadowDOM, allowing for text selection events to be captured and handled.
- Introduced a new utility for managing text selection within ShadowDOM.
- Updated ArticleLayout to support text selection events and integrate with AI chat block actions.
- Refactored EntryContent components to improve error handling and streamline entry updates.
- Implemented a new AIEntryLayout for better integration of AI chat features within entry content.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-01 21:30:30 +08:00
Innei 6ca2ab1e2d perf(ai): improve ai message streaming performance
- Updated ai package version from 5.0.0-beta.34 to 5.0.0.
- Added react-fast-compare package for improved memoization in chat components.
- Refactored AIDisplayAnalyticsPart and AIDisplaySubscriptionsPart to utilize toolMemo for performance optimization.
- Introduced a new utility function for throttled markdown parsing in AIMarkdownMessage component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-01 17:37:54 +08:00
Innei 29b96118dd refactor: ai module core
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-01 00:31:46 +08:00
Innei 74f73e2e6f feat: enhance AIMarkdownMessage component with table support
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-31 23:25:14 +08:00
Innei c5ff53aa20 refactor: optimize chat components and remove unused GridContainer
- Refactored ToolInvocationComponent to use React.memo for performance optimization.
- Updated AIDisplayAnalyticsPart, AIDisplayEntriesPart, AIDisplayFeedsPart, and AIDisplaySubscriptionsPart to utilize memoization.
- Replaced GridContainer with standard div elements for layout consistency.
- Removed unused GridContainer and StatisticsOverview components to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-31 23:12:51 +08:00
Innei 73a1e6eb6c feat: integrate Lexical rich text editor and update chat components
- Added support for rich text messages in the chat interface using Lexical.
- Updated ChatInput and related components to handle EditorState and rich text formats.
- Introduced AIRichTextMessage component for rendering rich text messages.
- Removed legacy LexicalRichEditor component and adjusted database schema to drop richTextSchema.
- Updated dependencies to include Lexical packages at version 0.33.1.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-31 21:25:15 +08:00
Innei eb7e6515e1 chore: update claude code agent and memory
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-31 21:25:14 +08:00
Stephen Zhou 1be77deeb5 chore: simple event listener logic 2025-07-31 17:40:12 +08:00
Stephen Zhou 692cc6b4be chore: load sqlite online faster 2025-07-31 17:22:49 +08:00
Stephen Zhou e9c8d0b39c chore: integrate sqlite-online 2025-07-31 16:59:36 +08:00
Innei 4f78a8aa48 refactor: ai module and implement rich text (#4282) 2025-07-31 00:16:40 +08:00
Stephen Zhou 5d0ae8fd1c fix(desktop): move hydrate database to first, drop dataPersist option 2025-07-30 17:52:23 +08:00
Stephen Zhou 6b32f3c6af fix(desktop): missing shortcut for open in browser 2025-07-30 10:13:53 +08:00
Innei d11bb5d993 fix(release-info): update regex patterns for version extraction
- Modified regex patterns in extract-release-info.mjs to be case-insensitive for desktop and mobile release tags, improving compatibility with various tag formats.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-30 01:38:44 +08:00
Innei d1e448d602 fix(electron): hotfix update logic
- Added ky as a dependency to handle HTTP requests for file downloads.
- Implemented downloadFileWithProgress function to provide progress updates during downloads.
- Updated hot-updater to utilize the new download function, enhancing user experience with download status logging.
- Cleaned up and refactored related code for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-30 01:36:23 +08:00
Innei 680d7efc26 chore(dependencies): update nbump to version 2.1.5 across multiple packages
- Updated nbump version from 2.1.3 to 2.1.5 in pnpm-lock.yaml, package.json for desktop, mobile, and readability packages.
- Updated zx version from 8.6.1 to 8.7.2 in pnpm-lock.yaml.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 23:17:17 +08:00
Stephen Zhou 8ee47599af fix(desktop): load entry not in the entry list 2025-07-29 22:48:27 +08:00
Innei 8cdb983d14 feat(bootstrap): implement CORS bypass for PostHog analytics
- Added a web request handler to bypass CORS restrictions for requests to 'us.i.posthog.com'.
- Configured response headers to allow all origins, methods, and credentials for analytics integration.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 21:07:31 +08:00
Innei d6e103ceb8 Merge pull request #4270 from RSSNext/sync/main-to-dev-20250729
Sync main branch to dev branch
v0.6.4
2025-07-29 19:09:18 +08:00
Innei 42d39fdd22 feat(release): enhance version tagging and release extraction
- Updated the version setup action to handle new tag formats for desktop and mobile releases.
- Introduced a new script to extract release information from commit messages, improving the tagging process.
- Modified workflows to create tags in the format of `desktop/v1.2.3` and `mobile/v1.2.3`.
- Enhanced the updater logic to accommodate the new tagging structure and ensure proper release handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 19:04:09 +08:00
Innei bfdc371ffa Merge pull request #4269 from RSSNext/hotfix/performance-29
chore(desktop): Release v0.6.4 for hotfix
2025-07-29 18:18:48 +08:00
Innei ea33650db2 release(desktop): hotfix to release v0.6.4 2025-07-29 18:16:04 +08:00
Innei 82040138f7 fix(package.json): update bump and hotfix scripts to include minor and patch flags
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 18:14:40 +08:00
Innei 8af27540c7 fix: react suspense boundary performance
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 18:06:49 +08:00
Innei b0af343c8a feat(settings): add option for independent content font size and presets
- Introduced `useDifferentFontSizeForContent` and `mobileContentFontSize` settings in UISettings.
- Updated Appearance screen to allow users to toggle and select content-specific font sizes.
- Added localization for new settings in English, Japanese, Simplified Chinese, and Traditional Chinese.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 17:52:43 +08:00
Innei 860722641b Merge pull request #4268 from RSSNext/sync/main-to-dev-20250729
Sync main branch to dev branch
2025-07-29 16:10:33 +08:00
Stephen Zhou 02d50ae07e Merge pull request #4267 from RSSNext/07-29-web-login-redirect 2025-07-29 15:53:14 +08:00
Stephen Zhou 336d1fec28 fix: web login redirect 2025-07-29 15:52:06 +08:00
Konv Suu 5fa0d97224 feat(desktop): improve integration settings search with empty states (#4265) 2025-07-29 12:14:01 +08:00
Stephen Zhou 9095197d15 fix(mobile): notification for inbox 2025-07-29 11:03:21 +08:00
Innei 4bde42797e fix(modal): add scrollable area for CustomIntegrationModal layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 01:28:58 +08:00
Innei 2b1fc18813 fix(ai-daily): can not show entry paper click the daily entry link
- Introduced EntryModalPreview for displaying entry content in a modal.
- Added EntryMoreActions for handling additional actions related to entries.
- Implemented EntryToastPreview to show a toast notification for entries.
- Updated usePeekModal hook to integrate new components and streamline entry detail fetching.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 01:08:34 +08:00
Innei c17f741bcd fix(feed-certification): update icon color for claimed feed indication
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 00:53:23 +08:00
Innei 8802303cf2 feat(integration): support electron side to send request
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 00:51:21 +08:00
Innei 0089027586 feat: add custom integration configurations to adapt to more apps, resolves FOL-2287
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 00:08:59 +08:00
Stephen Zhou 913ea3bc0d fix: update subscription 2025-07-28 23:57:58 +08:00