- Implemented a notice for users when the session is interrupted, prompting them to retry their last message.
- Added localization for the interruption message in English, Japanese, and Chinese.
- Enhanced the chat interface to handle message retries effectively, improving user experience during connection issues.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new method to open external URLs in the app.
- Enhanced the updater to check for distribution updates and notify users.
- Updated the updater status types to include distribution updates.
- Refactored the update notice component to handle distribution store updates.
- Added localization for distribution update notifications.
This update improves the user experience by allowing seamless updates from distribution stores and providing clear notifications for available updates.
Signed-off-by: Innei <tukon479@gmail.com>
Added functionality to suggest an upgrade when payment-related errors occur in the AI summary component. Introduced a new UpgradeRequiredDialog for user prompts and integrated it with existing error handling. Updated localization for upgrade messages in multiple languages. Refactored related components to improve clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
Updated the error parsing logic in the error-parser.ts file to include additional status handling for FollowAPIError. Improved the toastFetchError function to utilize status codes for payment-related errors. Additionally, localized new error messages in English, Japanese, and Chinese, including updates for trial user limits and AI memory errors.
Signed-off-by: Innei <tukon479@gmail.com>
Updated the AISummaryCardBase component to suggest an upgrade when encountering a payment-related error. Refactored error handling to utilize the FollowAPIError class. Improved localization for upgrade prompts in English, Japanese, and Chinese. Adjusted related components to pass error objects instead of error codes for better clarity.
Signed-off-by: Innei <tukon479@gmail.com>
Introduced a new SubscriptionScreen for managing user subscriptions, replacing the previous PlanScreen references. Updated navigation links in SettingsList to reflect this change, ensuring proper routing. Enhanced localization files to include new subscription-related strings for multiple languages.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai): enhance test run functionality with session management
* fix: ensure session ID is returned from test run mutation
* chore: improve success message for test run
* fix(task): handle test run errors and improve user feedback
Added error handling for test run failures, dismissing the loading toast and providing specific error messages. Introduced a delay before switching to chat to ensure backend readiness.
* chore: update test start message for clarity in multiple languages
* feat: new payment
* update
* update
* update
* update
* feat: enhance plan feature formatting and update localization strings
* update
* update
* update
* update
* refactor: remove NeedActivationToast and related activation modal logic
* update
* feat(settings): guard paid settings
Centralized paid-level metadata in @follow/shared and exposed the SettingNamespace union.
Updated the builder helpers and every settings tab to pull paid badges from that shared map.
Hardened the atoms helper to block writes and surface default values when a user lacks the required role.
Added the necessary workspace dependencies for the atoms package.
* fix: types
* feat(rate-limit-notice): update error messaging and add upgrade prompt
* feat(settings): integrate review checks into settings components
* update
* fix(plan): correct priority calculation in setting page data
* feat(ai-summary): add upgrade suggestion for AI summary when plan is insufficient
* feat(settings): enhance PaidBadge component to conditionally render based on MAS review status
---------
Co-authored-by: DIYgod <i@diygod.me>
- Updated '@follow-app/client-sdk' to version 0.3.73 in pnpm-lock.yaml and pnpm-workspace.yaml.
- Bumped '@folo-services/ai-tools' to version 0.2.47 in package.json.
- Introduced SaveMemoryCard component for displaying saved memories in AIMessageParts.
- Added UserMemorySection to manage and display user memories in settings.
- Enhanced localization for memory-related features in English, Japanese, and Chinese.
These changes improve the AI's memory functionality and ensure up-to-date dependencies.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a custom hook `useUnSavedBlocker` to prompt users about unsaved changes when navigating away from the action settings.
- Updated the `SettingModalLayout` component to use a new shadow class for better visual consistency.
- Enhanced localization by adding a new translation key for unsaved changes in the English locale.
- Refactored shadow styles in Tailwind CSS to utilize CSS variables for improved maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: redesign action rule editor layout
* refactor(action): enhance action setting layout and functionality
- Introduced a new ShareImportSection component for better organization of action sharing and importing features.
- Updated EmptyActionPlaceholder styles for improved UI consistency.
- Refactored ActionButtonGroup to utilize useCallback for better performance.
- Adjusted layout and styling across various components for a cleaner and more cohesive design.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(action): improve layout and functionality of action components
- Integrated ScrollArea for better scrolling behavior in RuleList and RuleCard components.
- Enhanced styling for various sections, including WhenSection and ThenSection, to improve visual consistency.
- Updated button variants and class names for better adherence to design tokens.
- Refactored layout structures to ensure a more cohesive user experience across action-related components.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(action): enhance RuleList and context menu functionality
- Introduced RuleListItem component to improve the structure and readability of the RuleList.
- Added context menu support for rule deletion, enhancing user interaction.
- Updated the delete rule logic to handle selected index adjustments more intuitively.
- Improved styling and layout for better visual consistency across action components.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(action): update icon usage in CompactRuleCard
- Replaced icon classes in CompactRuleCard component to use MingCute icons for better consistency and adherence to design tokens.
- Updated the arrow icons to `i-mingcute-arrow-up-line` and `i-mingcute-arrow-down-line` for improved visual clarity.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(action): update RuleCardToolbar to use Button component
- Replaced the native button element with the Button component from the UI library for better consistency and adherence to design tokens.
- Updated button properties to align with the new component's API, enhancing the overall styling and functionality of the RuleCardToolbar.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(action): clean up RuleCardToolbar button class
- Removed commented-out className from the button in RuleCardToolbar for improved code clarity and maintainability.
- This change aligns with the ongoing efforts to streamline component code and enhance readability.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the ChatShortcutsRow component to include logic for displaying shortcuts based on the AI page context.
- Added a new target option for shortcuts to be displayed specifically on the AI page.
- Modified the ShortcutModalContent to allow users to select the AI page as a target for shortcuts.
- Updated localization files to include new translations for the AI page shortcut target.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated Shortcut components to include icon rendering and a command prefix for better user experience.
- Modified shortcut trigger patterns to use '/' instead of '#' for consistency across the application.
- Added new icon selection feature in ShortcutModalContent for improved customization.
- Updated localization files to include new icon-related strings.
Signed-off-by: Innei <tukon479@gmail.com>
Updated the AISmartSidebar component to utilize CSS animations instead of motion/react for smoother performance. Introduced a new hook to manage prompt visibility based on focusable scope, enhancing user experience. Removed the label from the PersonalizePromptSection for a cleaner UI and updated localization files accordingly.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to generate and update chat titles based on user messages and AI responses.
- Introduced a button in the EditableTitle component to trigger title generation, enhancing user experience.
- Updated localization files to include new strings for title generation actions in English, Japanese, and Chinese.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the text for timeline summary options in the ChatInput component to enhance clarity.
- Updated localization files for English, Japanese, and Chinese to reflect the new text for timeline summary options.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add image-only view setting and related UI updates
- Introduced a new setting for image-only view mode.
- Updated components to conditionally render based on the new setting.
- Added translations for the new feature in multiple languages.
* fix: changelog
- Introduced localization for "New Chat" and timeline summary title in multiple languages.
- Updated AIChatRoot to accept chatId as a prop for better state management.
- Refactored useChatHistory to utilize localized titles for chat sessions.
- Improved ChatHeader and ChatMoreDropdown to leverage translation for tooltips and messages.
- Enhanced WelcomeScreen to set a localized title for the timeline summary.
Signed-off-by: Innei <tukon479@gmail.com>
- Added support for relative date mentions for the last 15 days and specific weekdays (Monday to Sunday) in the AI chat.
- Updated localization files to include translations for the new date mention keys in English, Japanese, and Simplified Chinese.
- Refactored the date mention configuration to improve clarity and maintainability.
These changes aim to provide users with more flexible date mention options, enhancing the overall user experience in the AI chat interface.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced new date mention capabilities, allowing for relative date mentions such as "today," "yesterday," and various ranges (e.g., "last 3 days").
- Updated localization files to include translations for new date mention keys in English, Japanese, and Simplified Chinese.
- Refactored mention handling to improve the display of date mentions, ensuring they are formatted correctly based on user language settings.
- Added support for dynamic display names based on date ranges, enhancing user experience in the AI chat interface.
These changes aim to provide a more intuitive and localized experience when users interact with date mentions in the AI chat.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated various description strings in the locales to ensure they end with appropriate punctuation, enhancing consistency and readability.
- Adjusted entries in English, Japanese, Simplified Chinese, and Traditional Chinese locales to follow sentence case and proper punctuation rules.
These changes aim to improve the overall user experience by providing clearer and more professional text presentation across the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Adjusted padding in the modal component for improved layout consistency.
- Refactored the `MarkdownAnimateText` component to simplify text animation logic and improve rendering of various input types.
- Introduced a new customization option for timeline tabs in the settings, enhancing user experience and flexibility.
These changes aim to improve the overall UI consistency and provide users with more customization options in the application.
Signed-off-by: Innei <tukon479@gmail.com>