3774 Commits
Author SHA1 Message Date
DIYgod 5d940341b2 feat: shortcut mention 2025-10-18 16:13:33 +08:00
DIYgod 623963951b feat: add effect to clear blocks and start new chat when timeline view changes 2025-10-18 10:10:41 +08:00
DIYgod 4a46d457e1 fix: import getEditorStateJSONString from the correct module 2025-10-18 10:05:48 +08:00
DIYgod 2f0133d1b5 feat: use shortcut as timeline summary 2025-10-18 10:01:23 +08:00
Innei 31a2ae9482 feat(ai): add block disable functionality
- Introduced a `disabled` state for context blocks, allowing users to toggle blocks on and off without removing them.
- Updated `ContextBlock` and `CombinedContextBlock` components to handle the new `disabled` prop and associated click behavior.
- Filtered out disabled blocks in the `ChatInterface` to improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-18 01:11:49 +08:00
Innei d282bd8cb2 refactor: unify rich text attachment component
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-17 23:41:04 +08:00
Innei 2b902efff2 reactor: extract context block hook
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-17 23:11:09 +08:00
Stephen Zhou cf77555a3c feat: mention view support 2025-10-17 22:34:05 +08:00
Stephen Zhou 9a8bfffb38 feat: rich editor support for prompt and task (#4574) 2025-10-17 21:56:07 +08:00
Innei c772ed9ab1 fix(ai): update AIModelIndicator and ChatInput styles
- Changed the border radius of the AIModelIndicator component from `rounded-full` to `rounded-xl` for a more modern appearance.
- Adjusted the layout of the ChatInput component by modifying the `self-start` class to improve alignment and visual consistency.
- Removed unnecessary `self-start` class from the AIModelIndicator instance within ChatInput for cleaner styling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-17 21:53:12 +08:00
Innei 6ca3f79084 fix(ai): add shortcut to open this modal
- Integrated new hooks for creating and editing AI shortcuts, improving the user experience for managing shortcuts.
- Adjusted layout styles in various components for better visual consistency, including padding and margin updates.
- Removed deprecated modal handling for shortcuts, streamlining the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-17 21:43:24 +08:00
Innei 2a55f9276a chore(ui): add size prop for switch
- Updated the prompt input field with additional padding for better usability.
- Added size prop to the Switch component, allowing for small and medium sizes.
- Adjusted styles for the Switch component to accommodate the new size options, ensuring consistent appearance across different sizes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-17 21:04:04 +08:00
DIYgod 5f4e47da07 feat: make summarize timeline shortcut undeletable 2025-10-17 20:19:18 +08:00
DIYgod e5d4a2c5b5 feat(ai): remove title generation logic 2025-10-17 14:56:01 +08:00
DIYgod 363ea4e3df feat: optimize ai shortcuts position 2025-10-17 11:50:57 +08:00
DIYgod f100d09efd feat: remove ai export 2025-10-17 11:11:00 +08:00
DIYgod 5f2b93694e feat: styles and uneditable title 2025-10-17 11:05:41 +08:00
Innei f5292422c3 feat(ai): implement dynamic chat title generation and UI updates
- 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>
2025-10-16 22:04:18 +08:00
Innei 8ac1650f1a feat(ai): update timeline summary options in ChatInput component
- 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>
2025-10-16 21:19:41 +08:00
Innei f960beca82 feat(ai): ai editable title layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-16 21:16:06 +08:00
DIYgod f9039c688c fix: types 2025-10-16 21:03:54 +08:00
Innei 9519d1c643 fix(ai): only close ai panel when focused and floating style
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-16 20:43:04 +08:00
DIYgod af8c3b63a0 feat: chat title as history menu trigger 2025-10-16 17:52:33 +08:00
DIYgod 3591c115f9 feat: chat default title 2025-10-16 17:29:57 +08:00
Stephen Zhou ed4cd5726c refactor: remove referEntry and pickers 2025-10-16 17:07:03 +08:00
songkeys b7bb4d8d56 feat: enhance AIChatPane with static editor integration
- Introduced a static editor instance in the AIChatPane to streamline message handling and improve performance.
- Updated the handleSendMessage function to utilize the static editor for processing rich text messages.
- Added a new utility function to convert editor state to JSON string format for better data management.
2025-10-16 16:02:09 +08:00
songkeys ef0ce44f80 feat: enhance AIChatInterface with feeds selection check
- Added a check for feeds selection in the AIChatInterface to conditionally render the "Next Step" button based on the presence of trending feeds in the messages.
- This improves user guidance by ensuring the button is only displayed when relevant information is available.
2025-10-16 15:53:00 +08:00
songkeys f575c0d1f5 refactor: update AIChatPane styles for improved consistency
- Changed background color class from a hex value to a Tailwind utility class for better maintainability.
- Simplified class names in the Welcome component for clarity and consistency.
2025-10-16 15:35:29 +08:00
DIYgod 4d4a425997 feat: remove context bar shortcuts buttons 2025-10-16 12:34:31 +08:00
DIYgod 043a49962c feat: more obvious chat history dropdown 2025-10-16 12:28:56 +08:00
DIYgod fe8edbf493 feat: remove timeline summary chat title 2025-10-16 11:35:10 +08:00
Stephen Zhou c9da5fc33c fix: timeline list 2025-10-15 23:06:26 +08:00
Stephen Zhou b69c764e47 fix: timeline list without settings 2025-10-15 22:48:31 +08:00
DIYgod 6fa873ec25 feat(shortcuts): enhance shortcut management with contextual targeting and UI updates 2025-10-15 22:39:32 +08:00
Stephen Zhou 35cd41e3fa refactor: remove view--1 (#4548) 2025-10-15 21:51:40 +08:00
DIYgod 0f638f6c32 feat(i18n): add translation keys for timeline summary options 2025-10-15 21:08:37 +08:00
DIYgod 9a3a410160 fix(ssr): update import paths to use relative paths instead of aliases 2025-10-15 14:55:32 +08:00
DIYgod e78f73b265 fix(ssr): update import paths to use alias '@src' instead of '@root' 2025-10-15 14:45:16 +08:00
DIYgod a8f259daf6 fix(ssr): update import paths to use alias '@root' instead of '@' 2025-10-15 14:31:38 +08:00
DIYgod bd3ab265d1 fix(ssr): update import paths to use alias '@' instead of '~' 2025-10-15 14:27:26 +08:00
Stephen Zhou f2d51bc189 chore: update electron version to 38.2.2 2025-10-13 16:51:50 +08:00
DIYgod 9196122f51 feat: add new model name mappings for Gemini and DeepSeek in AIModelIndicator 2025-10-11 09:37:40 +08:00
Innei 9d0706f506 feat: implement scroll behavior management with context and hooks
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-11 00:06:36 +08:00
Innei 99ed348352 feat(ai): talk about ai timeline summary
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-10 22:46:34 +08:00
Innei fb621ea4d5 fix: change import statements to await for font dependencies
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-10 22:00:50 +08:00
Innei 2df64f33fa feat: integrate progressive blur effect in SubviewLayout and update dependencies
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-10 21:26:06 +08:00
Stephen Zhou 4b5b58555c fix: only show timeline summary title when summary exist 2025-10-10 16:10:44 +08:00
Stephen Zhou 8c9784202c refactor: move checkLanguage to utils 2025-10-10 15:23:42 +08:00
lawvs 45d3ffc6a0 fix: update session timestamp to use updatedAt instead of createdAt 2025-10-10 15:22:14 +08:00
Stephen Zhou d25a48baa2 feat: merge english srt by paragraph 2025-10-10 15:13:14 +08:00