Commit Graph
6000 Commits
Author SHA1 Message Date
songkeys ecb7e5c1c6 feat: new onboarding 2025-10-09 20:57:26 +08:00
DIYgod 40305da191 fix: improve handling of mention tags and update related functions 2025-10-09 20:20:46 +08:00
Stephen Zhou 907655e1aa refactor: remove startupScreen option 2025-10-09 17:53:29 +08:00
DIYgod a24ea86093 feat: add deepseek provider and corresponding icons 2025-10-09 17:29:14 +08:00
DIYgod 53298c88a2 feat: simplify provider types and update default handling 2025-10-09 12:41:40 +08:00
Stephen Zhou 4595666cd5 chore: fix typecheck 2025-10-09 10:24:50 +08:00
Stephen Zhou 7e5c0a9dd0 fix: filter all view in selector 2025-10-09 10:18:25 +08:00
Stephen Zhou 108455fcad fix: reset action settings on entry modal close 2025-10-09 10:04:53 +08:00
Innei f44a4c4524 fix(timeline): adjust layout for AIEnhancedTimeline to ensure minimum width
- Updated the AIEnhancedTimelineLayout component to set a minimum width of 300px for better layout consistency.
- Enhanced the flex properties to improve responsiveness and visual structure.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-07 22:13:40 +08:00
DIYgod 14c3d95895 fix(mention): update mention feed and date formatting to use self-closing tags 2025-10-07 17:07:04 +08:00
Innei 160e136f0c fix(chat): refine gradient mask and backdrop styling in ChatInterface
- Updated the gradient mask and backdrop filter in ChatInterface for improved visual effects.
- Adjusted maskImage properties for better clarity and consistency in the UI.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-07 13:28:38 +08:00
Innei 2a4cfc4069 fix(pic-view): masonry button icon
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-07 01:24:13 +08:00
RieN 7z ba236f6bb9 feat: add image-only view setting and related UI updates (#4524)
* 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
2025-10-07 01:20:13 +08:00
Innei 6f6b0ac953 feat: adjust mask background styling
- Updated ChatInterface to improve the gradient mask and backdrop filter for better visual effects.
- Refined ChatMoreDropdown by removing unnecessary padding from the DropdownMenuSubContent for a cleaner layout.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-06 00:25:32 +08:00
Innei 4996336e9f feat(ui): enhance EntryPreviewCard and FeedPreviewCard with navigation support
- Added `onNavigate` prop to `EntryPreviewCard` and `FeedPreviewCard` components to handle navigation on click.
- Updated the header and content sections to wrap clickable elements in anchor tags for improved user interaction.
- Refactored click handling to prevent default behavior and trigger navigation functions, enhancing the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-05 23:52:06 +08:00
Innei ab5f0df64c fix(ai): prevent context menu from appearing on message right-click
- Added `stopPropagation` to the context menu event on the AIMarkdownStreamingMessage component to prevent the default context menu from appearing, enhancing user experience during message interactions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-05 23:42:27 +08:00
Innei 984887117b fix(layout): unify top header height
- Renamed CSS class from `h-entry-header` to `h-top-header` for clarity and consistency.
- Introduced `h-top-header-with-border-b` for enhanced layout in `EntryListHeader`.
- Updated `RelativeTime` component to accept a `postfix` prop, allowing for more flexible date formatting.
- Adjusted instances of `RelativeTime` to utilize the new `postfix` prop for improved display.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-01 00:01:19 +08:00
Innei f8b58662e5 fix: swipe media navigation button color style
- Enhanced button styles in SwipeMedia component to use bg-material-medium and border for better visual consistency.
- Updated icon classes to use MingCute's left and right line icons for improved clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 23:46:02 +08:00
Innei 8a450c5421 fix(ai): add remote message created prop
- Changed the return type of normalizeRemoteMessage to BizUIMessage for consistency with the local chat system.
- Added createdAt property to the normalized message to ensure accurate timestamp handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 23:43:11 +08:00
Innei 8a68bde854 fix(ai): rich editor state transformer
- Updated ChatInterface to set editor state directly for improved message handling.
- Adjusted UserChatMessage to stringify new state for rich text parts.
- Included createdAt in message loading for better message tracking.
- Refined message conversion in AIPersistServiceStatic to ensure proper type handling.
- Modified types to align with updated message structure.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 23:41:51 +08:00
Innei b2a6dd4dd0 fix(ai): directly edit message object for createdAt handling
- Updated the message creation logic in ZustandChatState to directly modify the existing message object instead of creating a new one, improving performance and reducing unnecessary object creation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 23:26:21 +08:00
Innei 846d0ff947 fix(ai): message persist of created at and remove user message type of text
- Updated message sending logic to utilize a static editor instance for improved performance.
- Simplified the onSend function signature in WelcomeScreen and DefaultWelcomeContent components.
- Enhanced message part handling in the chat state and persistence services.
- Removed unused useSaveMessages hook to clean up the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 23:17:55 +08:00
Innei a52ee4dc77 fix(ai): edit message should updated message
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 22:14:07 +08:00
Innei aada1b8b65 fix: observer chat message container width
- Added useElementWidth hook to observe and track the width of a referenced element using ResizeObserver.
- Updated ChatInterface and WelcomeScreen components to utilize the new hook for responsive layout adjustments.
- Enhanced AIDisplayEntriesPart and AIDisplayFeedsPart components with improved styling for better alignment and spacing.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 19:45:35 +08:00
Innei 9f2769b34c fix: timeline chat id unique, and message id generator
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-30 17:13:30 +08:00
Stephen Zhou 4cc5a1cf5e feat: add unread only context 2025-09-30 15:58:49 +08:00
Stephen Zhou 15fce45807 fix: ignore all view in select 2025-09-30 11:10:26 +08:00
Innei f1f9bc8c65 feat: add hover preview cards for entries and feeds
- Introduced EntryPreviewCard and FeedPreviewCard components for enhanced hover previews.
- Implemented prefetching of entry details and feed information on hover.
- Updated AnimatedMarkdown to utilize the new hover preview components for better user interaction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-29 20:47:20 +08:00
Innei c27aced55b fix: timeline chat session unique
- 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>
2025-09-29 20:24:50 +08:00
Innei 06076d8116 fix: adjust some ai elements style
- Modified ChatMoreDropdown to use group-data attributes for hover effects.
- Adjusted WelcomeScreen's border radius for a more refined appearance.
- Refactored AnimatedMarkdown to streamline inline reference handling and improve tooltip integration.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-29 19:54:29 +08:00
DIYgod 1dbca292b0 fix: missing display tools 2025-09-29 19:20:12 +08:00
Stephen Zhou bd33ad5898 fix: no CustomizeSubscriptionTabs for legacy layout 2025-09-28 17:13:00 +08:00
Stephen Zhou c64dcac1d0 fix: padding in entry content modal 2025-09-28 16:45:20 +08:00
Stephen Zhou 6faaf722c7 feat: action settings in entry get 2025-09-28 16:23:04 +08:00
lawvs ab0c3b00c0 refactor: extract localized weekday name retrieval for task scheduling 2025-09-27 23:51:24 +08:00
Innei 4cba9aedc3 fix: keyboard interaction in ChatInterface
- Improved keyboard event handling in ChatInterface to prevent focus shift when modifier keys are pressed.
- Added functionality to handle incomplete custom mention tags and `<Use:` wrappers in markdown parsing, ensuring cleaner output during streaming.
- Enhanced the parsing logic to better manage incomplete formatting scenarios, including bold and italic markers in list items.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-27 23:48:51 +08:00
Innei 81c6de6615 refactor: enhance AIChatMessage and AnimatedMarkdown components
- Updated AIChatMessage to conditionally render action buttons based on original message metadata.
- Refactored AnimatedMarkdown to integrate tooltips for inline references, improving user interaction and accessibility.
- Added new tooltip components for better display of entry and feed information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-27 23:01:56 +08:00
lawvs cf725721a7 fix: update day of week i18n for weekly schedule 2025-09-26 18:15:39 +08:00
Stephen Zhou 78816d5b4a chore: fix type 2025-09-26 16:34:17 +08:00
lawvs fa7a6e18d8 feat(i18n): add translations for task management features
- Implemented internationalization for task scheduling, actions, and modal titles.
- Updated existing components to utilize translation functions for better localization support.
2025-09-26 16:29:15 +08:00
Stephen Zhou 1a91d57cf0 refactor: merge main view and feed in data block 2025-09-26 16:05:07 +08:00
lawvs 090ae03b42 fix: correct types in getDefaultFormData function 2025-09-26 15:18:22 +08:00
Stephen Zhou 3815c6c71c fix: update client sdk to fix string array query 2025-09-26 10:50:43 +08:00
Stephen Zhou 13f5fcb0c9 fix: remove refer feed and date, update mention format (#4522) 2025-09-26 10:13:31 +08:00
DIYgod 54e8c87508 feat: remove tip and boost 2025-09-25 21:35:46 +08:00
DIYgod 3e02f92971 fix: posthog cors error 2025-09-25 20:20:30 +08:00
lawvs 69996e83e5 feat: support hover on mention dropdown 2025-09-25 18:36:33 +08:00
Innei 5a8c40a2bc fix(ai-chat): update icon in AIChatContextBar component
- Replaced the icon in the `AIChatContextBar` component from `i-mgc-add-cute-re` to `i-mgc-at-cute-re` for improved visual representation.

This change aims to enhance the accuracy of the icons used in the AI chat interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-25 17:44:01 +08:00
Innei b3464a9b07 fix(ai-chat): enhance AIChainOfThought and ToolInvocationComponent with animations
- Integrated `AnimatePresence` and `m` from `motion/react` into the `AIChainOfThought` component to improve the display of reasoning titles with smooth transitions.
- Updated the `ToolInvocationComponent` to accept a `variant` prop, allowing for tighter spacing when necessary.
- Refined the `ShinyText` component's styles for better visual effects and consistency across components.

These changes aim to enhance the user experience by providing smoother animations and improved layout flexibility in the AI chat interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-25 17:42:44 +08:00
DIYgod ba552ea6aa fix(ai-chat): rename folo-entry and folo-feed to mention-entry and mention-feed; add id prop to InlineFoloReference 2025-09-25 17:29:17 +08:00