Commit Graph

3912 Commits

Author SHA1 Message Date
Innei 65249b45c7
fix: should render entry content when refresh page
- Added a new effect to manage the rendering of the details column based on the timeline's state.
- Updated dependencies in the width adjustment effect to ensure proper layout updates.
- Cleaned up unnecessary state updates to enhance performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 23:16:59 +08:00
Innei 68b8a65429
refactor(ai-chat): chat loading remote message logic
- Updated `ChatHeader` to display title when messages are present.
- Modified `ChatHistoryDropdown` to remove cleanup of empty sessions.
- Adjusted `ChatInterface` to show loading overlay during message sync.
- Refactored `useLoadMessages` to include remote syncing state.
- Simplified session handling in `AIChatSessionService` and removed unused message count logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 22:58:16 +08:00
Innei 18e9c941e0
feat(ai-chat): integrate session hydration and enhance chat history loading logic
- Added `hydrateSessionsFromLocalDb` to initialize app for session management.
- Updated `ChatHistoryDropdown` to conditionally render loading state based on session length.
- Refactored `useChatHistory` to utilize the AI chat session store for state management.
- Enhanced `AIChatSessionService` to include session synchronization and error handling.
- Exported store actions from `ai-chat-session` module for better state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 21:49:33 +08:00
Stephen Zhou fb5f94e967
Revert "fix: return text only for relative date"
This reverts commit 3dfd55a164.
2025-10-27 21:47:27 +08:00
Stephen Zhou 3dfd55a164
fix: return text only for relative date 2025-10-27 21:42:06 +08:00
Innei 19d92cf57e
fix: some element styling
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-27 20:41:56 +08:00
lawvs 2583eb872c fix: filter task session in task report dropdown 2025-10-27 15:38:47 +08:00
DIYgod f77e1aa2bb
Merge branch 'staging' into dev 2025-10-27 12:26:45 +08:00
DIYgod a82b0e9cc8
feat(Timeline): redirect to the configured first view 2025-10-27 11:22:05 +08:00
Konv Suu 13bc195ff1
feat: add language params to video url (#4610) 2025-10-26 09:21:33 +08:00
Innei 24d3c608d1
fix: add missing newline at end of package.json
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-26 01:31:47 +08:00
Cyandev 876d51d1cd
refactor: progressive blur effect (#4607)
* refactor: progressive blur effect

* Update packages/internal/components/src/ui/progressive-blur/index.tsx

---------

Co-authored-by: Innei <tukon479@gmail.com>
2025-10-25 22:42:45 +08:00
Konv Suu dca83e9f6e
feat: add video playback control in preview media (#4531)
* feat: add video playback control in preview media

* update

* clean in unmount
2025-10-25 22:02:03 +08:00
Konv Suu acdfeefaa3
fix: improve audio player progress bar hover indicator styles (#4600) 2025-10-25 21:58:30 +08:00
DIYgod a37732442e
docs: update changelog 2025-10-25 17:52:03 +08:00
DIYgod 5b838d48ff
release(desktop): release v0.9.0 2025-10-25 17:41:51 +08:00
DIYgod 17234474b2
fix(ChatHeader): add no-drag-region class to AISpline for better drag handling 2025-10-25 17:41:04 +08:00
DIYgod f23b0e4638 fix(timeline): hide audio and notification tabs without subscriptions 2025-10-25 17:36:50 +08:00
DIYgod d1f0ce3c10
feat: remove showCompactTimelineInSub 2025-10-25 16:45:09 +08:00
DIYgod ca8c3d5b21
fix(EntryContent): replace springScrollTo with direct scrollTop assignment to improve scroll performance 2025-10-25 15:20:57 +08:00
DIYgod 395bd0f5ee
fix(VirtualRowItem): remove redundant z-index from non-sticky item styling 2025-10-25 15:16:11 +08:00
DIYgod efd095fb73
fix(custom-github-provider): decode tag from href to handle URL encoding 2025-10-25 10:24:15 +08:00
Innei 2f9f5a4f20
refactor(entry-content): replace legacy entry content with new preview component
- Removed the legacy EntryContent component and replaced it with EntryContentForPreview in EntryModalPreview.
- Updated AIChatContextBar to use a responsive max-width style.
- These changes streamline the entry content rendering process and improve the overall code structure.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 22:31:15 +08:00
DIYgod 1720ebb674
feat: entry details column width animation 2025-10-24 22:19:06 +08:00
Innei 21124f50c9
fix(entry-content): scroll to top on content animation start, fixed #4599
- Added functionality to scroll to the top of the EntryContent when the animation starts, utilizing the springScrollTo utility.
- Removed unused zenMode method from the RenderGlobalContext interface to clean up the code.

These changes enhance the user experience by ensuring the content is visible upon entry and streamline the codebase by removing unnecessary methods.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 21:22:40 +08:00
Innei 00f7b0c2be
feat(ai): add ai memory
- 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>
2025-10-24 21:19:18 +08:00
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
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
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 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