- 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>
* 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>
* 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
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>