- 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>
- Added support for `react-markdown` and `rehype-raw` to improve markdown processing.
- Introduced `MarkdownAnimateText` component for animated text rendering during streaming.
- Updated `AIMessageParts` to utilize the new animation features.
- Refactored `AIMarkdownMessage.v2` to streamline markdown parsing and rendering.
- Created new utility components for tokenized text animation.
This update significantly enhances the user experience during chat interactions by providing dynamic and visually appealing markdown content.
Signed-off-by: Innei <tukon479@gmail.com>
- Added AIMarkdownMessage.old.tsx for legacy markdown rendering.
- Introduced AIMarkdownMessage.v2.tsx with optimized streaming capabilities.
- Updated AIMessageParts to utilize the new AIMarkdownMessage.v2 component.
- Adjusted UserChatMessage and UserMessageParts to reference the appropriate AIMarkdownMessage versions.
This update enhances the markdown rendering experience during streaming interactions.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated modal animation styles to include perspective and z-index adjustments for improved depth perception.
- Refactored modal component to apply 3D transform styles and ensure consistent animation behavior.
- Modified MCPPresetCard and MCPPresetSelectionModal components to use new background styles for better visual consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Fixed ArticleItemStateLess to match ListItem template styling
- Fixed AudioItemStateLess to use ArticleItemStateLess (same ListItem pattern)
- Fixed NotificationItemStateLess for simple ListItem pattern (no description)
- Fixed SocialMediaItemStateLess to match custom layout with 32px avatar
- Fixed VideoItemStateLess to match GridItem template with accent dot
- Fixed PictureItemStateLess minor cleanup for masonry layout
- Updated all components to use consistent UIKit colors (text-text, text-text-secondary)
- Fixed ViewSelectorRadioGroup preview layout for grid-based views
- Fixed FeedForm button variant from "text" to "ghost"
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Updated `UsageAnalysisSection` to include additional modal content class for better spacing.
- Refactored `DetailedUsageModal` to improve layout and added padding for better visual consistency.
- Adjusted `EfficiencyTab`, `HistoryTab`, `OverviewTab`, and `PatternsTab` components to include horizontal padding for improved aesthetics.
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>
- Updated Sentry configuration to include new integrations such as eventFilters, moduleMetadata, httpClient, and reactRouterV6BrowserTracing.
- Expanded the list of ignored error patterns to cover more specific cases, improving error handling.
- Removed redundant error handling logic from the Sentry initialization process, streamlining the setup.
These changes aim to enhance error tracking capabilities and improve overall application stability.
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>
- Updated the styling of the "No transcript available" and error messages for better visual consistency.
- Simplified class names and adjusted layout properties to enhance readability and user experience.
- Ensured that active states and hover effects are more intuitive across the transcript items.
These changes aim to provide a clearer and more engaging user interface for media transcripts.
Signed-off-by: Innei <tukon479@gmail.com>
- Upgraded the version of `@folo-services/ai-tools` from 0.2.20 to 0.2.31 in the package.json file.
- Introduced a new `TokenUsagePill` component to display token usage information in the AI chat message.
- Updated various components to utilize the new `TokenUsagePill` for better visibility of token metrics.
- Refactored type definitions in the chat store and related components to improve type safety and clarity.
These changes aim to enhance the user experience by providing clearer insights into token usage and improving the overall structure of the AI chat components.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed deprecated analytics types from the usage types file to simplify the codebase.
- Updated component files to import types directly from the client SDK, enhancing maintainability and clarity.
- Adjusted type definitions in the PatternsTab component to reflect the new usage pattern structure.
These changes aim to improve code organization and reduce redundancy in type definitions.
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>
- Added a mapping for AI model names to improve user readability in the AIModelIndicator component.
- Updated the ChatHeader and ChatMoreDropdown components to remove the AI settings button and integrate it into the dropdown menu for better accessibility.
- Adjusted layout styles in the PersonalizePromptSection for improved alignment.
These changes aim to enhance the user experience by providing clearer model names and a more streamlined settings access.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the size of the calendar icon in the AIChatContextBar from size-5 to size-3.5 for improved visual consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new security disclosure section in the MCPServicesSection component, providing users with information about the secure storage of OAuth authentication tokens.
- Updated localization files to include titles and descriptions for the new security disclosure section in both English and Chinese.
These enhancements improve user awareness of security measures related to MCP services, contributing to a more informed user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored WebViewManager to improve lifecycle management and state handling.
- Introduced a debug panel for monitoring WebView state and actions in development mode.
- Updated JavaScript injection methods to use a centralized dispatch system for better maintainability.
- Improved handling of local HTML loading and state replay after process termination.
- Added new functions for debugging, including state retrieval and flushing pending scripts.
This update aims to enhance the overall performance and usability of the WebView component, providing developers with better tools for debugging and state management.
Signed-off-by: Innei <tukon479@gmail.com>
Updated the index.html file to improve search engine optimization and social media sharing. Changes include a more descriptive title, comprehensive meta descriptions, and OpenGraph and Twitter card tags for better content representation. Added structured data for the Folo application to enhance visibility and user engagement across platforms.
Signed-off-by: Innei <tukon479@gmail.com>
Implemented a new handleDoubleClick function in EntryItemWrapper to allow users to open entry URLs in a new tab when double-clicking on an entry item. This enhances user interaction and accessibility for navigating to external links.
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 ChatHeaderLayout component to encapsulate shared logic and rendering of action buttons, enhancing code organization.
- Updated ChatInterface to accept a centerInputOnEmpty prop, allowing for dynamic positioning of input elements based on message presence.
- Enhanced WelcomeScreen to support centerInputOnEmpty, improving layout responsiveness when no messages are available.
- Modified ChatMoreDropdown to conditionally render the toggle mode option based on the canToggleMode prop, providing more flexible UI behavior.
These changes collectively enhance the user experience by improving layout responsiveness and code maintainability within the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the GlassButton component to allow optional onClick handler and improved hover shadow effects for better user feedback.
- Replaced Accordion with CollapseCss in AIReasoningPart for a more streamlined display of reasoning content, enhancing the user experience during streaming.
- Modified AIChatContextBar button styles for consistency with the new material design, improving visual coherence across the application.
- Introduced a new ChatPageHeader component to encapsulate chat header functionalities, enhancing code organization and maintainability.
These changes collectively improve the UI/UX of the AI chat interface, providing clearer interactions and a more cohesive design.
Signed-off-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>
- Changed the paths for privacy and terms of service links from 'privacy.html' and 'tos.html' to 'privacy-policy' and 'terms-of-service' respectively.
- This update improves clarity and consistency in accessing legal documents.
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>
- Updated the version of electron-ipc-decorator in package.json files for both main and renderer processes to 0.2.0, ensuring compatibility with the latest features and improvements.
- Adjusted pnpm-lock.yaml to reflect the new version and its integrity hash.
- Refactored IPC service classes to utilize the new version, enhancing code organization and functionality.
- Removed deprecated constructor calls in IPC service classes, simplifying the implementation.
These changes improve dependency management and enhance the overall architecture of the IPC system.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused imports and components from AIEntryLayout, simplifying the layout structure.
- Updated EntryContent to adjust height dynamically and improved the scroll area with a new viewport class.
- Enhanced EntryHeader to integrate a scroll-to-exit hint directly into the header, improving user guidance.
- Refactored EntryHeaderRoot to support motion styles for smoother animations.
These changes collectively improve code clarity and enhance the user experience by providing better navigation cues and layout responsiveness.