Commit Graph
6183 Commits
Author SHA1 Message Date
DIYgod 8ce00a6d43 fix(useShowEntryDetailsColumn): update condition to check for wide mode in view 2025-10-24 21:06:16 +08:00
DIYgod 87a60dcb02 feat(ai-chat): add context menu for chat shortcuts 2025-10-24 19:57:31 +08:00
DIYgod 60dcd42f16 feat(subscription-column): add view tab context menu 2025-10-24 17:31:21 +08:00
DIYgod 75f5c725ac fix(desktop): throttle timeline tab reorder updates 2025-10-24 17:08:41 +08:00
DIYgod 0882e47336 feat(desktop): allow customizing all timeline tabs 2025-10-24 16:48:28 +08:00
lawvs eb7ee17486 chore: add 'task' operation type to token analytics 2025-10-24 15:59:58 +08:00
DIYgod b69a935450 feat: remove tab number limit 2025-10-24 15:45:23 +08:00
Innei be48b922d2 refactor(ai-chat): update context bar styles and introduce ShortcutTooltip component
- Modified ContextBlock and AIChatContextBar components to enhance styling with updated background colors.
- Introduced ShortcutTooltip component for improved tooltip functionality in ChatShortcutsRow and ShortcutComponent.
- Refactored AIShortcutButton to accept a ref prop for better integration with parent components.
- Adjusted UserChatMessage styles for consistency in message bubble appearance.

These changes aim to improve the UI consistency and enhance user interactions within the AI chat interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 15:38:57 +08:00
Innei b21a5f40cf refactor(action): implement unsaved changes blocker
- 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>
2025-10-24 15:25:03 +08:00
DIYgod 1ff0197872 chore: downgrade react and react-dom to version 19.0.0 in pnpm-workspace.yaml 2025-10-24 14:35:44 +08:00
Whitewater 19a767b9dc feat: chat session synchronization (#4592)
* refactor: include chatId parameter in generateChatTitle function

* refactor: handle remote chat session deletion

* feat: implement session synchronization and message fetching

* refactor(service): improve session synchronization logic and message fetching

- Made `sync` property private for better encapsulation.
- Added checks to prevent unnecessary updates for already synced sessions.
- Enhanced session creation with additional timestamps for better tracking.

* refactor(service): skip fetching messages if local session is up-to-date

* refactor(service): enhance session management options in ensureSession and createSession
2025-10-24 14:23:57 +08:00
Stephen Zhou 90a6eb6209 fix: remove unnecessary entry store call 2025-10-23 22:27:06 +08:00
Stephen Zhou 4be8af3900 perf: avoid nested object for less rerender 2025-10-23 22:23:17 +08:00
DIYgod c80209f7ed feat: remove 'ai-page' target from shortcuts and related components 2025-10-23 21:56:02 +08:00
Innei b53db73211 feat: implement glassmorphic depth design system for UI components
- Introduced a comprehensive glassmorphic design system to enhance visual hierarchy in UI elements such as modals, toasts, and floating panels.
- Added detailed design principles, color usage guidelines, and component structure examples to AGENTS.md.
- Updated AISmartSidebar component to utilize layered glass effects and smooth animations.
- Enhanced CSS styles for glassmorphic elements, ensuring performance optimizations and accessibility considerations.

These changes aim to elevate the user experience through refined aesthetics and improved interaction dynamics.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 21:55:13 +08:00
Innei b26ebc0b53 fix(entry): scrollbar top position and improve css animation for border animation
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 21:20:44 +08:00
Innei e26a3d4b10 fix: ui element shadow and height
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 21:16:05 +08:00
Innei a35e04de11 fix(EntryListHeader): align feed icon and text v-baseline
- Replaced static class names with clsx for conditional class application.
- Adjusted margin for the feed icon to enhance layout consistency.

These changes improve the visual presentation of the EntryListHeader component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 20:54:12 +08:00
DIYgod fc9222ea02 Merge pull request #4590 from RSSNext/sync/main-to-dev-20251023
Sync main branch to dev branch
2025-10-23 20:35:14 +08:00
DIYgod b400939a3d release(desktop): Release v0.8.0
release(desktop): Release v0.8.0
desktop/v0.8.0 v0.8.0
2025-10-23 20:32:57 +08:00
DIYgod 61076304a0 chore: update changelog for v0.8.0 with new features and improvements 2025-10-23 20:00:38 +08:00
Innei a62bf5e2cd fix: improve main hash calculation consistency
- Removed the sorting of files before hash calculation to ensure a consistent hash output.
- Updated the hash calculation to include additional files directly, enhancing the accuracy of the generated hash.

These changes streamline the hash generation process and improve reliability across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 17:50:25 +08:00
DIYgod a7edc44414 Merge branch 'dev' into release/desktop/0.8.0 2025-10-23 17:38:01 +08:00
DIYgod 3b94ea46cd fix: types 2025-10-23 17:37:40 +08:00
DIYgod 90d0643be7 Merge remote-tracking branch 'origin/dev' into release/desktop/0.8.0 2025-10-23 17:24:43 +08:00
songkeys 99baa9b213 fix(onboarding): fix default view when subscribing
Introduces an 'analytics' property with a 'view' field to FeedSelection and updates subscription logic to use the analytics view if available, defaulting to articles otherwise.
2025-10-23 17:02:05 +08:00
Stephen Zhou 6af1d2bba3 fix: date format 2025-10-23 16:45:14 +08:00
Stephen Zhou c8126a5c3a chore: rename id to text in mention date format 2025-10-23 16:32:14 +08:00
DIYgod db6ffea9ac Merge branch 'dev' into release/desktop/0.8.0 2025-10-23 16:30:36 +08:00
DIYgod 00772aa341 fix: types 2025-10-23 16:30:01 +08:00
Innei 2fefbcf094 Merge remote-tracking branch 'origin/dev' into release/desktop/0.8.0 2025-10-23 16:17:11 +08:00
Innei 4d6ca1b02f refactor: redesign action rule editor layout (#4587)
* 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>
2025-10-23 16:16:42 +08:00
DIYgod 731834153c release(desktop): release v0.8.0 desktop@0.8.0 2025-10-23 16:02:20 +08:00
DIYgod 53ec8ec512 feat: update AI feature integration and adjust layout styles 2025-10-23 15:51:16 +08:00
DIYgod d93e7698ce feat: enable AI feature toggle in AISummaryCardBase and adjust spacing in EntryPlaceholderLogo 2025-10-23 11:54:29 +08:00
DIYgod 13cb874cac fix: types 2025-10-23 11:41:17 +08:00
DIYgod 2d5c94587b feat: server shorcuts 2025-10-23 11:31:35 +08:00
Stephen Zhou 1bfdccc566 chore: parseDateRangeById 2025-10-23 11:21:01 +08:00
Stephen Zhou 5d69066e50 feat: pass id or display name in date format 2025-10-23 11:11:37 +08:00
Stephen Zhou 3c784b103c fix: no clamp for date 2025-10-23 10:38:46 +08:00
Innei c221cb3691 fix: remap prop setting -> enabled
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 01:41:41 +08:00
Innei 1cf837d475 fix(settings): update ACCENT_COLOR_MAP to use 'orange' as default fallback
- Changed the ACCENT_COLOR_MAP definition to use a type-safe approach with `satisfies`.
- Updated the fallback color in `getAccentColorValue` function from `blue` to `orange` for consistency in accent color handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 01:31:50 +08:00
Innei 05981958a8 perf(trans): batch transition fetch
- Bump version of `@follow-app/client-sdk` to 0.3.69 in `pnpm-lock.yaml` and `pnpm-workspace.yaml`.
- Update `@folo-services/ai-tools` version to 0.2.44 in `apps/desktop/layer/renderer/package.json`.
- Modify Vite configuration to exclude `@follow-app/client-sdk` from optimization.
- Refactor translation hooks to use `enabled` instead of `setting` for clarity.
- Introduce a new utility function `readNdjsonStream` for handling NDJSON streams in the store module.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 01:30:12 +08:00
Innei 235a8603f9 feat(ai-chat): optimize ai page visual center
- Added `visualOffsetY` prop to `ChatInterface` for dynamic vertical positioning.
- Updated layout structure in `ChatInterface` to accommodate visual offset adjustments.
- Modified the AI chat page to utilize the new visual offset feature, improving the user experience during chat interactions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-22 23:43:27 +08:00
Innei 5ebeb9cdf8 feat(ai-chat): keep draft message
- Added functionality to save and restore draft messages in the ChatInput component.
- Integrated draft message handling in ChatInterface to manage drafts per chat session.
- Updated the ChatInput component to accept initialDraft and onDraftChange props for better draft management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-22 23:31:58 +08:00
Stephen Zhou 5ce7965a89 fix: date mention display name 2025-10-22 23:07:21 +08:00
Innei 2d66d07d34 feat(ai-chat): add shortcut functionality with AI page support
- 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>
2025-10-22 22:57:32 +08:00
Stephen Zhou 26ea58a87b fix: drop relative format for now, chrono parse 2025-10-22 22:53:36 +08:00
Innei fa78765258 feat(ai-chat): refactor error handling and introduce rate limit notice
- Replaced the CollapsibleError component with a new RateLimitNotice component to handle rate limit errors more effectively.
- Added ErrorMessage component for displaying general error messages in the chat interface.
- Updated ChatInterface and AIChatInterface to accommodate the new error handling structure, ensuring proper display of rate limit and other errors.
- Enhanced error parsing utility functions to streamline error information extraction.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-22 22:41:37 +08:00
Innei 015f4ea10a fix(editor): is input empty state
- Modified the isEmpty method in both ChatInput and LexicalRichEditor components to check if the editor's content is empty by verifying if the trimmed text content is an empty string.
- Added an accessories prop to LexicalRichEditor for improved flexibility in rendering additional UI elements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-22 21:51:06 +08:00