Commit Graph

6218 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 628a40a76d chore(locales): add onboarding operation type to analytics 2025-10-27 15:39:06 +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 85df73f99f
fix: toast close button was clipped and its focus style (#4609)
* fix: toast close button was clipped and its focus style

* lint
2025-10-26 09:22:04 +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
Innei 4fb9321b3f
chore: lint
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-25 22:43:26 +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
dependabot[bot] 1cbd80381c
chore(deps): bump actions/attest-build-provenance from 2 to 3 (#4394)
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:59:37 +08:00
Konv Suu acdfeefaa3
fix: improve audio player progress bar hover indicator styles (#4600) 2025-10-25 21:58:30 +08:00
Alex Su 6ade8521a6
feat(i18n): update zh-TW translations (#4596)
Co-authored-by: DIYgod <i@diygod.me>
2025-10-25 21:51:30 +08:00
dependabot[bot] 76a4d6b9fe
chore(deps): bump signpath/github-action-submit-signing-request (#4594)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.3 to 2.0.
- [Release notes](https://github.com/signpath/github-action-submit-signing-request/releases)
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.3...v2.0)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '2.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:42:56 +08:00
dependabot[bot] ece0156d16
chore(deps): bump actions/upload-artifact from 4 to 5 (#4601)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 21:39:45 +08:00
DIYgod 3746ffac6e
Merge pull request #4605 from RSSNext/sync/main-to-dev-20251025
Sync main branch to dev branch
2025-10-25 18:12:04 +08:00
DIYgod baf61f7f89
release(desktop): Release v0.9.0
release(desktop): Release v0.9.0
2025-10-25 18:11:07 +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
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