- Bumped version of `@folo-services/ai-tools` from 0.2.31 to 0.2.33 in package.json and pnpm-lock.yaml.
- Refactored `AIDisplayFlowPart` to improve error handling and compatibility with older data structures.
- Enhanced `AIChatMessage` and `AIMessageParts` components to support new props for better message rendering.
- Updated animation styles for chat messages to improve user experience during interactions.
This update improves the overall functionality and visual appeal of the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
* init
Signed-off-by: Innei <tukon479@gmail.com>
* feat: mcp preset
- Bumped the version of `@follow-app/client-sdk` from 0.3.48 to 0.3.50 in both `pnpm-lock.yaml` and `pnpm-workspace.yaml`.
- Refactored button rendering logic in `ai-task-modal.tsx` for cleaner code.
- Updated status color classes in `task-item.tsx` for improved styling consistency.
- Simplified props in `MCPPresetCard.tsx` and removed loading state handling for a more straightforward UI.
- Enhanced `MCPPresetSelectionModal.tsx` by removing unnecessary loading states and labels.
- Cleaned up `MCPServiceModalContent.tsx` by removing loading state handling from buttons.
- Improved `MCPServicesSection.tsx` by adjusting OAuth handling and refetch logic on window focus.
- Added new quick setup options for GitHub and Linear in `types.ts`.
These changes aim to enhance the user experience and maintainability of the codebase.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: implement query optimistic hook
- Introduced a new optimistic mutation system to enhance the user experience by providing immediate feedback during create, update, and delete operations.
- Added `createOptimisticConfig` for streamlined optimistic updates across various components.
- Refactored existing mutations in `ai-task` and `MCPServicesSection` to utilize the new optimistic strategies, improving responsiveness and error handling.
- Updated documentation in `CLAUDE.md` to clarify the usage of type checking and linting processes.
These changes aim to improve the overall performance and user interaction within the application.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the Accordion component with the new Collapse components in ToolInvocationComponent and DiscoverImport for improved UI consistency and functionality.
- Updated related styles and structure to accommodate the new Collapse implementation.
- Removed the deprecated Accordion component files to streamline the codebase.
These changes aim to enhance the user experience by providing a more modern and flexible collapsing interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new frontend for tracking AI token usage with real-time analytics and user-friendly visualizations.
- Added components for usage analysis, including detailed usage modals, progress rings, and various charts to display usage patterns and efficiency.
- Integrated localization support for new UI elements and analytics features.
- Removed the deprecated token usage settings page to streamline the user interface.
These changes aim to empower users with actionable insights into their AI usage, enhancing overall user experience and engagement.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-task): implement AI task management components and queries
Add AITaskModal for creating and editing AI tasks, ScheduleConfig for scheduling options, and AITaskList for displaying tasks. Introduce query hooks for task management and define types for scheduling.
* feat: add TaskSchedulingSection for managing AI tasks
* chore: implement task creation limit and error handling in AIChatContextBar
* fix: lint
* refactor: simplify default form data handling and improve readability
* feat(ai-task): add AITaskModalHeader component for improved task title management
* refactor: streamline task scheduling UI
* refactor(ai-chat): update modal title and close capability for task scheduling
* feat(input): add TimeSelect component for custom time picking
* feat: integrate TimeSelect component for improved time selection
* feat: add DateTimePicker component for enhanced date and time selection
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-task): implement TaskItem component for displaying individual AI tasks with status and actions
Signed-off-by: Innei <tukon479@gmail.com>
* feat: update client-sdk version and implement reusable ItemActions component for AI task and MCP service management
- Updated '@follow-app/client-sdk' to version 0.3.46 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Introduced a new ItemActions component for handling action buttons and toggle switches in AI task and MCP service items.
- Refactored TaskItem, MCPServiceItem, and ShortcutItem components to utilize the new ItemActions component for improved code reuse and maintainability.
- Enhanced TokenUsageSection to display reset date in a more user-friendly format.
- Updated MCPService interface to include an 'enabled' property for better state management.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(ai-settings): remove unused export for MCPServicesSection
Signed-off-by: Innei <tukon479@gmail.com>
* fix: update task status logic to reflect correct scheduling states
* chore: update button styling for schedule action in AIChatContextBar
* feat: enhance task modal with internationalization support
Added translation keys for task-related actions and messages in English, Japanese, and Chinese. Updated the AITaskModal component to utilize these translations for improved user experience.
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
- Introduced a new Tailwind CSS plugin for dynamic color mixing, allowing for more flexible background and border color options.
- Updated styles in ChatInput, ChatInterface, CollapsibleError, UserChatMessage, and NetworkStatusIndicator components to utilize the new color mixing classes for improved visual consistency.
- Enhanced the NetworkStatusIndicator to provide clearer status messages and improved styling based on network conditions.
These changes enhance the UI by providing a more cohesive color scheme and better user feedback on network status.
Signed-off-by: Innei <tukon479@gmail.com>
- Deleted the `@follow/legal` package and its associated files, including privacy and terms of service documents.
- Updated various components to remove dependencies on the legal package, replacing modal presentations with direct links to external privacy and terms pages.
- Adjusted configuration files and routes to reflect the removal of legal utilities, ensuring a cleaner codebase.
These changes streamline the project by eliminating unnecessary dependencies and improving the user experience with direct access to legal documents.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'softSpring' with 'smooth' for improved animation consistency across components, including VideoPlayer, BoostModalContent, and SourceContentView.
- Updated transition settings in modal and panel components to utilize 'snappy' for a more responsive feel.
- Removed deprecated spring presets from the constants file to streamline the animation configuration.
These changes enhance the overall user experience by providing smoother and more cohesive animations throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced CollapseCssGroup and CollapseCss components for managing collapsible sections in the integration settings.
- Refactored integration filtering logic to streamline the display of configured integrations.
- Enhanced UI to provide better visual feedback and organization of integration settings.
- Updated the integration section to utilize the new collapsible components, improving user experience and interaction.
These changes collectively enhance the usability and organization of the integration settings interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced UserChatMessage and UserMessageParts components to handle user messages distinctly, allowing for better editing and interaction.
- Updated AIChatMessage to streamline message rendering and improve markdown formatting.
- Enhanced ToolInvocationComponent with accordion functionality for better organization of tool call details.
- Adjusted layout properties across various components to ensure responsiveness and visual consistency.
These changes collectively enhance the usability and clarity of the AI chat interface, providing a more intuitive experience for users.
Signed-off-by: Innei <tukon479@gmail.com>
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>
- 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>
* 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>
- 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.
- 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>
- 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>
- 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>
- Introduced a new enum for AI chat panel styles, allowing users to toggle between fixed and floating layouts.
- Added state management for the floating panel dimensions and position, ensuring it remains anchored during window resizing.
- Updated various components to utilize the new panel style settings, enhancing the user experience with improved layout flexibility.
- Implemented UI elements for toggling between fixed and floating modes in the chat interface.
These changes collectively enhance the functionality and usability of the AI chat interface, providing users with more control over their layout preferences.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the AI chat settings to include an auto-scroll feature when streaming messages.
- Introduced a new settings initialization function to set default values for various AI settings.
- Enhanced the ChatInterface component to utilize the new auto-scroll setting for improved user experience.
- Added localization support for the new auto-scroll setting in the English language file.
These changes collectively enhance the functionality and usability of the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated ScrollArea for better message editing experience in the EditableMessage component.
- Updated initial editor state handling to streamline the setup process.
- Added MentionPlugin to support mentions within the editor, enhancing user interaction.
- Refactored LexicalRichEditor to utilize EditorRefPlugin for improved editor reference management.
These changes improve the usability and functionality of the message editing interface in the AI chat application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated AIMarkdownMessage to conditionally apply rehypePlugins based on processing state, enhancing performance.
- Replaced preformatted JSON display in ToolInvocationComponent with JsonHighlighter for better readability and styling.
- Adjusted ShikiHighLighter component in FeedClaimModalContent to remove unnecessary padding, improving layout consistency.
- Wrapped claim button text in a span for better semantic structure.
These changes enhance the user experience by improving the rendering of messages and ensuring a more consistent UI across components.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced an animatedPlugin for enhanced text rendering in AIMarkdownMessage, adding a fade-in effect for words.
- Updated StreamingMessageBuffer to include a maximum buffer size to prevent out-of-memory issues.
- Improved the layout of ChatInput in ChatInterface for better spacing.
- Adjusted the PoweredByFooter link color for better visibility.
- Refactored parseMarkdown to support rehype plugins, allowing for more flexible markdown processing.
These changes enhance the user experience in the AI chat interface by improving text animations and performance during message rendering.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- 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>
- 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>
- 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>