- Introduced a new SelectedTextNode to handle selected text within the AI chat editor.
- Added a TextSelectionToolbar for user interaction with selected text, including copy and AI query options.
- Updated the editor plugins to include the SelectedTextPlugin for managing selected text insertion.
- Enhanced text selection event handling to capture and process selected text with associated metadata.
- Refactored related components and styles for improved user experience and integration.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated a slider component for audio progress control using @radix-ui/react-slider.
- Added state management for dragging and value tracking during playback.
- Updated UI elements for improved interaction and visual feedback.
- Refactored progress handling to accommodate new slider functionality.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated AIPersistServiceStatic to include metadata in the message construction from the database.
- Enhanced type imports to include BizUIMetadata for improved type safety.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated session deletion logic in ChatHistoryDropdown and TaskReportDropdown to use an options object for event handling and pre-delete actions.
- Refactored ChatInterface to streamline focus handling and error logging, introducing new hooks for managing chat input focus and logging errors.
- Enhanced chat scroller functionality to better manage content height and scrolling behavior.
- Introduced utility hooks for managing chat drafts and rate limit information.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated TokenUsagePill to conditionally render token details based on user role.
- Modified computeRateLimitMessage to include an option for hiding reset details.
- Adjusted ChatInterface to utilize user role for displaying reset details in rate limit messages.
Signed-off-by: Innei <tukon479@gmail.com>
- Redesigned the onboarding flow for a better user experience.
- Enhanced AI features: added BYOK support and improved AI Memory tool for updating past memories.
- Improved the design system of various UI components for consistency and aesthetics.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused dependencies from the effect hook in the SettingItemButtonImpl component for cleaner code and improved readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a check for onboarding feed to conditionally render the follow button or unread number.
- Improved the structure of the component for better readability and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused AI summary hooks from useEntryActions for cleaner logic.
- Updated useFeedSafeUrl to return null for invalid URLs, enhancing safety.
- Integrated useFeedSafeUrl in EntryItemWrapper and EntryTitle for better URL handling.
- Added onboarding feed tooltip in FeedItem for improved user guidance.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the AppTip component and its controller, consolidating functionality into AppTipModalContent.
- Updated MainDesktopLayout to utilize the new modal for onboarding tips.
- Enhanced the modal presentation with animation and improved layout for better user experience.
- Cleaned up unused imports and streamlined the app tip logic for clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: add jsonEscape option for placeholder replacement
Enhance the replacePlaceholders method to support JSON escaping of values when specified in options. This improves handling of JSON strings in templates.
* fix(integration): add default Content-Type header for non-GET methods
- Introduced gradient backgrounds and box shadows for dropdown menus and context menus for a more modern appearance.
- Updated modal styles to include backdrop blur and inner glow effects for better visual depth.
- Adjusted component layouts for consistency and improved user experience across modals and context menus.
- Refined keyboard component styles for better interaction feedback.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced hardcoded color values with CSS variables for better maintainability in AGENTS.md.
- Enhanced the Subscription Feeds section with a sticky action bar and improved layout in feeds.tsx.
- Updated the Personalize Prompt section to use a more visually appealing design with a backdrop blur effect.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused imports and components to streamline the code.
- Enhanced the notifications section layout with improved spacing and styling.
- Updated the display of notification channels to use a more accessible design.
- Added loading and empty state indicators for better user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated versions for '@follow-app/client-sdk' to 0.3.89 and '@folo-services/ai-tools' to 0.2.61 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Introduced ManageMemoryCard component for managing user memory in AI chat.
- Enhanced AIMessageParts to include ManageMemoryCard and updated related translations for memory actions.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: implement BYOK (Bring Your Own Key) feature for AI providers
- Added BYOK section in AI settings to manage custom API keys.
- Introduced components for adding, editing, and deleting BYOK providers.
- Updated translations for BYOK-related UI elements.
- Modified existing components to support new BYOK functionality.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: enhance BYOK provider support and update UI elements
- Added support for the "OpenRouter" BYOK provider in relevant components.
- Updated translations for security-related UI elements to reflect new descriptions.
- Adjusted styling in settings components for improved visual consistency.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: refine BYOK provider management and enhance UI
- Introduced a new constants file for BYOK provider options.
- Updated the ByokProviderModalContent to filter available providers based on configured ones.
- Enhanced the ByokSection to manage provider addition and editing more effectively.
- Adjusted table styling in the PlanComparisonTable for improved readability.
- Added new translation keys for "AI Bring Your Own Key" in multiple languages.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-onboarding): implement AI onboarding modal and related components
- Added AI onboarding modal with step-by-step guidance for new users.
- Introduced components for feed selection, import steps, and chat interface.
- Integrated animations and user interactions for a smoother onboarding experience.
- Updated localization files to support new onboarding dialog texts.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): enhance onboarding experience with next step functionality
- Added 'hasNextStep' prop to AppTip and AppTipDialog components to manage step navigation.
- Updated button actions to reflect the new step logic, allowing users to proceed or finish the onboarding.
- Introduced new localization strings for onboarding descriptions and actions in multiple languages.
- Added a button in the settings about tab to trigger the AI onboarding experience.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(app-tip): remove video placeholder and related constants for a cleaner onboarding experience
- Eliminated video placeholder text and associated constants from AppTipMediaPreview and constants.ts.
- Updated useAppTipController to remove media references, streamlining the onboarding steps.
- Revised localization strings to reflect the new onboarding narrative without video references.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(ai-onboarding): streamline onboarding flow and enhance UI components
- Removed the DiscoverImportStep and PreFinish components to simplify the onboarding process.
- Updated step management in the onboarding modal to focus on essential steps.
- Enhanced the AIChatPane and FeedsSelectionList components with improved layout and animations.
- Introduced new localization strings for empty feed selection scenarios.
- Updated modal transitions for a smoother user experience.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): enhance media preview component to support image and video types
- Added support for distinguishing between video and image media types in AppTipMediaPreview.
- Updated rendering logic to conditionally display video or image elements based on media type.
- Introduced a fallback icon for error handling based on media type.
- Enhanced state management for video playback and replay functionality.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(renderer): add support for Markdown rendering in ArticleLayout
- Introduced EntryContentMarkdownRenderer for handling Markdown content.
- Updated ArticleLayout to conditionally render HTML or Markdown based on entry type.
- Refactored EntryContentHTMLRenderer to use a shared props type for better type safety.
- Added types for entry content renderer props to improve code clarity.
This enhancement allows for more flexible content rendering in the application.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(entry-actions): integrate onboarding entry checks into action configurations
- Added `isOnboardingEntryUrl` utility to identify onboarding entries based on their URL.
- Updated `useEntryActions` to disable specific actions when the entry is an onboarding entry.
- Enhanced `MoreActions` and `HeaderActions` components to support the disabled state for actions based on onboarding status.
- Refactored `ArticleLayout` to utilize the new onboarding entry check for rendering logic.
This update improves user experience by preventing certain actions on onboarding entries.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): enhance onboarding experience with new user guide state management
- Introduced `useNewUserGuideState` for managing the state of the new user onboarding guide.
- Added `APP_TIP_DISMISS_EVENT` constant for handling dismissal events.
- Refactored `useAppTipController` to utilize the new state management, improving clarity and functionality.
- Updated `EntryColumnContent` to integrate new user guide navigation logic.
This update streamlines the onboarding process and enhances user experience by providing better state management for onboarding tips.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): enhance media rendering in AppTipDialog and introduce OpmlAbstractGraphic
- Updated AppTipDialog to conditionally render a custom React node for media previews.
- Added reactNode property to AppTipStepMedia type for improved media handling.
- Introduced OpmlAbstractGraphic component for enhanced visual representation in onboarding tips.
- Updated useAppTipController to utilize the new OpmlAbstractGraphic in onboarding media.
These changes improve the onboarding experience by providing more dynamic media content.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(OpmlAbstractGraphic): implement animated paths and dynamic rendering
- Added a new OpmlAbstractGraphic component to visually represent RSS readers with animated paths.
- Introduced deterministic pseudo-random path generation for smoother animations.
- Enhanced component responsiveness with layout effects and resize handling.
- Implemented hand-drawn style connector lines to improve visual appeal.
These changes enhance the onboarding experience by providing a more engaging and dynamic visual representation of RSS readers.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): add extra content support in AppTipDialog and enhance useAppTipController
- Updated AppTipDialog to render additional content through the new `extra` property in AppTipStep.
- Modified AppTipStep type to include an optional `extra` field for custom React nodes.
- Introduced AiSplineIndicatorToggle component in useAppTipController for toggling AI settings.
These changes improve the flexibility of the AppTipDialog and enhance the onboarding experience by allowing for dynamic content rendering.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): implement useAppTipController for enhanced onboarding experience
- Introduced useAppTipController to manage the onboarding flow and user guide interactions.
- Added state management for active steps, dismissal handling, and AI guide toggling.
- Integrated AiSplineIndicatorToggle for dynamic AI settings within the onboarding process.
- Enhanced event handling for debugging onboarding steps through custom events.
These changes improve the onboarding experience by providing a structured and interactive guide for new users.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(app-tip): introduce AICopilotMedia component for enhanced AI interaction
- Added AICopilotMedia component to facilitate dynamic AI-driven conversations and recommendations.
- Integrated chat script for user-assistant interactions, showcasing AI capabilities in real-time.
- Updated useAppTipController to include AICopilotMedia in the onboarding flow, enhancing user engagement.
These changes improve the onboarding experience by providing interactive AI content that guides users through relevant information and resources.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: update hoverMarkUnread setting to false for consistency
* feat: implement onboarding feed and entry detection
- Added utility functions to identify onboarding feeds and entries.
- Updated various components to display onboarding feeds distinctly.
- Enhanced sorting logic to prioritize onboarding feeds in lists.
- Added localization strings for onboarding feed messages.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add OverviewMedia component for enhanced onboarding visuals
- Introduced a new OverviewMedia component to display animated connections between onboarding elements.
- Integrated OverviewMedia into the app tip controller to enrich the new user dialog experience.
- Implemented responsive path calculations and animations for a dynamic visual presentation.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: DIYgod <i@diygod.me>