Commit Graph
4100 Commits
Author SHA1 Message Date
Stephen Zhou 042cbdd2fa feat: manage subscription on stripe 2025-11-18 15:42:00 +08:00
DIYgod 0ee62fa042 feat: remove onboarding feed references and update settings 2025-11-18 14:14:33 +08:00
Stephen Zhou 958e0a6d41 refactor: remove onetime payment 2025-11-18 12:31:44 +08:00
Stephen Zhou 849c18ce8c fix(plan): new or upgrade 2025-11-18 11:44:25 +08:00
Stephen Zhou b29bf9f90c fix: button text and discount desc 2025-11-18 09:57:22 +08:00
DIYgod 1e282048e1 fix: ensure first timeline is not ROUTE_VIEW_ALL when available 2025-11-18 09:17:07 +08:00
Kieran Cui 576c92acf6 fix(desktop): Discover page shakes when switching tabs (#4724) 2025-11-18 01:17:14 +08:00
InneiandDIYgod c7d0165eb8 feat: refine onboarding (#4708)
* feat(ai-onboarding): implement AI onboarding modal and related components

- Added AI onboarding modal with step-by-step guidance for new users.
- Introduced components for feed selection, import steps, and chat interface.
- Integrated animations and user interactions for a smoother onboarding experience.
- Updated localization files to support new onboarding dialog texts.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): enhance onboarding experience with next step functionality

- Added 'hasNextStep' prop to AppTip and AppTipDialog components to manage step navigation.
- Updated button actions to reflect the new step logic, allowing users to proceed or finish the onboarding.
- Introduced new localization strings for onboarding descriptions and actions in multiple languages.
- Added a button in the settings about tab to trigger the AI onboarding experience.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(app-tip): remove video placeholder and related constants for a cleaner onboarding experience

- Eliminated video placeholder text and associated constants from AppTipMediaPreview and constants.ts.
- Updated useAppTipController to remove media references, streamlining the onboarding steps.
- Revised localization strings to reflect the new onboarding narrative without video references.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ai-onboarding): streamline onboarding flow and enhance UI components

- Removed the DiscoverImportStep and PreFinish components to simplify the onboarding process.
- Updated step management in the onboarding modal to focus on essential steps.
- Enhanced the AIChatPane and FeedsSelectionList components with improved layout and animations.
- Introduced new localization strings for empty feed selection scenarios.
- Updated modal transitions for a smoother user experience.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): enhance media preview component to support image and video types

- Added support for distinguishing between video and image media types in AppTipMediaPreview.
- Updated rendering logic to conditionally display video or image elements based on media type.
- Introduced a fallback icon for error handling based on media type.
- Enhanced state management for video playback and replay functionality.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(renderer): add support for Markdown rendering in ArticleLayout

- Introduced EntryContentMarkdownRenderer for handling Markdown content.
- Updated ArticleLayout to conditionally render HTML or Markdown based on entry type.
- Refactored EntryContentHTMLRenderer to use a shared props type for better type safety.
- Added types for entry content renderer props to improve code clarity.

This enhancement allows for more flexible content rendering in the application.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(entry-actions): integrate onboarding entry checks into action configurations

- Added `isOnboardingEntryUrl` utility to identify onboarding entries based on their URL.
- Updated `useEntryActions` to disable specific actions when the entry is an onboarding entry.
- Enhanced `MoreActions` and `HeaderActions` components to support the disabled state for actions based on onboarding status.
- Refactored `ArticleLayout` to utilize the new onboarding entry check for rendering logic.

This update improves user experience by preventing certain actions on onboarding entries.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): enhance onboarding experience with new user guide state management

- Introduced `useNewUserGuideState` for managing the state of the new user onboarding guide.
- Added `APP_TIP_DISMISS_EVENT` constant for handling dismissal events.
- Refactored `useAppTipController` to utilize the new state management, improving clarity and functionality.
- Updated `EntryColumnContent` to integrate new user guide navigation logic.

This update streamlines the onboarding process and enhances user experience by providing better state management for onboarding tips.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): enhance media rendering in AppTipDialog and introduce OpmlAbstractGraphic

- Updated AppTipDialog to conditionally render a custom React node for media previews.
- Added reactNode property to AppTipStepMedia type for improved media handling.
- Introduced OpmlAbstractGraphic component for enhanced visual representation in onboarding tips.
- Updated useAppTipController to utilize the new OpmlAbstractGraphic in onboarding media.

These changes improve the onboarding experience by providing more dynamic media content.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(OpmlAbstractGraphic): implement animated paths and dynamic rendering

- Added a new OpmlAbstractGraphic component to visually represent RSS readers with animated paths.
- Introduced deterministic pseudo-random path generation for smoother animations.
- Enhanced component responsiveness with layout effects and resize handling.
- Implemented hand-drawn style connector lines to improve visual appeal.

These changes enhance the onboarding experience by providing a more engaging and dynamic visual representation of RSS readers.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): add extra content support in AppTipDialog and enhance useAppTipController

- Updated AppTipDialog to render additional content through the new `extra` property in AppTipStep.
- Modified AppTipStep type to include an optional `extra` field for custom React nodes.
- Introduced AiSplineIndicatorToggle component in useAppTipController for toggling AI settings.

These changes improve the flexibility of the AppTipDialog and enhance the onboarding experience by allowing for dynamic content rendering.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): implement useAppTipController for enhanced onboarding experience

- Introduced useAppTipController to manage the onboarding flow and user guide interactions.
- Added state management for active steps, dismissal handling, and AI guide toggling.
- Integrated AiSplineIndicatorToggle for dynamic AI settings within the onboarding process.
- Enhanced event handling for debugging onboarding steps through custom events.

These changes improve the onboarding experience by providing a structured and interactive guide for new users.

Signed-off-by: Innei <tukon479@gmail.com>

* feat(app-tip): introduce AICopilotMedia component for enhanced AI interaction

- Added AICopilotMedia component to facilitate dynamic AI-driven conversations and recommendations.
- Integrated chat script for user-assistant interactions, showcasing AI capabilities in real-time.
- Updated useAppTipController to include AICopilotMedia in the onboarding flow, enhancing user engagement.

These changes improve the onboarding experience by providing interactive AI content that guides users through relevant information and resources.

Signed-off-by: Innei <tukon479@gmail.com>

* fix: update hoverMarkUnread setting to false for consistency

* feat: implement onboarding feed and entry detection

- Added utility functions to identify onboarding feeds and entries.
- Updated various components to display onboarding feeds distinctly.
- Enhanced sorting logic to prioritize onboarding feeds in lists.
- Added localization strings for onboarding feed messages.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add OverviewMedia component for enhanced onboarding visuals

- Introduced a new OverviewMedia component to display animated connections between onboarding elements.
- Integrated OverviewMedia into the app tip controller to enrich the new user dialog experience.
- Implemented responsive path calculations and animations for a dynamic visual presentation.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-11-18 01:16:40 +08:00
DIYgod b85970e1b0 feat: tts api 2025-11-17 20:08:06 +08:00
Stephen Zhou f4674037d3 fix: allow timeline summary for anonymous user 2025-11-17 18:16:50 +08:00
Stephen Zhou 0b806fcf07 fix: increase timeout for now 2025-11-17 11:18:24 +08:00
Stephen Zhou e1efc058cf fix: show token remaining from usage 2025-11-17 10:33:22 +08:00
DIYgod 5f12339027 fix: increase refetch interval to 5 minutes in useRemoteEntries hook 2025-11-17 10:16:11 +08:00
DIYgod 73cc3d214b chore: remove "@byjohann/toon" from minimumReleaseAgeExclude in pnpm-workspace.yaml 2025-11-16 14:43:06 +08:00
DIYgod eebc33bdd3 fix: update hoverMarkUnread setting to false in default settings 2025-11-15 21:11:44 +08:00
DIYgod d8b7da6350 release(desktop): hotfix to release v1.1.6 2025-11-15 15:37:20 +08:00
DIYgod 57c579827a fix: adjust column width and text size in PlanComparisonTable; update translation for high performance AI model selection 2025-11-15 15:26:23 +08:00
DIYgod 2723f5bed7 feat: add AI model selection labels and translations for English, Japanese, and Chinese 2025-11-15 15:15:01 +08:00
Innei fcb3eacd7d feat(auth): enhance LoginModalContent and TokenModal with UI improvements
- Added a GlassButton for dismissing the login modal.
- Updated styles for better visual consistency in the login options.
- Enabled autoFocus on the token input field in TokenModal for improved user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-15 13:01:44 +08:00
DIYgod 4e1c9bfdb4 feat: add moonshotai provider and user role priority constants 2025-11-15 12:10:03 +08:00
Stephen Zhou 63c4065bdb fix: vertical videos are cropped 2025-11-14 22:47:20 +08:00
Innei 16c005aa57 style: enhance code highlighter and login button appearance
- Updated CSS for the code highlighter to improve layout and add custom scrollbar styles.
- Refined the Shiki component with a subtle glow effect and improved header layout.
- Adjusted the LoginButton icon size and color for better visibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 21:31:41 +08:00
DIYgod e4f5e173e9 feat: hide grecaptcha badge in styles 2025-11-14 21:22:09 +08:00
DIYgod 94c3b91699 feat: replace hcaptcha with recaptcha-v3 2025-11-14 21:09:10 +08:00
Innei 95fbee4547 fix: disallow follow feed when not login
- Refactored LoginModalContent to improve UI/UX with animations and layout adjustments.
- Added login state checks in FeedForm to disable actions for non-logged-in users.
- Updated EntryListHeader to utilize the new useIsLoggedIn hook for better user authentication handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 21:03:49 +08:00
Innei 3adf4feec9 feat(auth): implement login requirement for various actions
- Introduced `requiresLogin` property for menu items and actions across multiple components to enforce user authentication.
- Added `useRequireLogin` hook to manage login checks and modal presentation.
- Updated context menus, action buttons, and settings to utilize the new login guard functionality.
- Enhanced user experience by prompting login where necessary, ensuring actions are only accessible to authenticated users.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 15:11:14 +08:00
Innei e3d436d285 feat(subscription): add NotLoggedInNotice component and update localization
- Introduced a new NotLoggedInNotice component to prompt users to log in for syncing subscriptions.
- Updated English, Japanese, and Chinese localization files to include the new notice message.
- Removed commented-out code related to data prefetching in SubscriptionList component for cleaner code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 00:42:45 +08:00
Innei 35437ecf8e feat(auth): allow loginless
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-14 00:32:34 +08:00
DIYgod ee5f2ff225 feat(profile): add power menu item for users with power tokens 2025-11-13 20:40:04 +08:00
Innei 273eda08fc fix(subscription): update subscription limit warning icon and clean up localization message
- Replaced the warning icon with a sad face emoji for better visual representation.
- Removed unnecessary commented-out code in the subscription limit warning.
- Cleaned up the localization message by removing the emoji from the string.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 18:21:48 +08:00
Innei af3454bcf5 feat(subscription): enhance subscription limit warning with rich text formatting
- Updated the subscription limit warning to use the Trans component for better localization support.
- Modified the warning message in the localization file to include HTML elements for improved readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-13 14:41:26 +08:00
DIYgod abde9948be fix: update Discord invite link across documentation and code 2025-11-13 11:47:05 +08:00
Stephen Zhou 0b23414311 fix: move mark as read to top 2025-11-12 22:06:55 +08:00
DIYgod 6aeee85e89 release(desktop): hotfix to release v1.1.5 2025-11-12 21:30:39 +08:00
DIYgod 86d53a7caa feat: ai icons 2025-11-12 21:08:17 +08:00
Innei 2ed3eae425 feat(subscription): add unsubscribe and rename category functionality
- Introduced CategoryUnsubscribeDialogContent for unsubscribing from feeds within a category.
- Added RenameCategoryForm for renaming categories.
- Updated FeedCategory to include options for unsubscribing and renaming categories in the context menu.
- Enhanced localization files to support new dialog messages for unsubscribe and rename actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 21:04:35 +08:00
DIYgod f40e81cdca feat(entry-placeholder): update button actions and restore 'Sort the timeline by importance' functionality 2025-11-12 20:51:23 +08:00
DIYgod 0a6a3b66ce feat(ai-chat): prefix message ids with shortcut ids 2025-11-12 20:46:46 +08:00
DIYgod 54e5e84617 feat: ai shortcuts 2025-11-12 20:46:46 +08:00
Innei 9d1e4141ed fix(button): add no-drag-region class to GlassButton for improved user experience
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 16:47:09 +08:00
Stephen Zhou 96bdfcc2d9 fix: show summary card for upgrade plan 2025-11-12 16:28:12 +08:00
DIYgod 2dfb9a7f70 feat(ai-chat): move panel mode toggle to header 2025-11-12 16:04:34 +08:00
Innei 10c73a52b5 fix(timeline): add ListItemSkeleton and syncType to entry column components
- Introduced ListItemSkeleton for loading states in entry lists.
- Updated EntryList and EntryColumnContent to accept and utilize syncType ("remote" or "local") for better state management.
- Modified EntriesContext to include syncType in the context value.
- Enhanced useEntriesByView hook to determine syncType based on query readiness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-12 15:56:32 +08:00
DIYgod 5a642b0230 feat: simplify 2025-11-12 15:40:25 +08:00
Stephen Zhou b37b60bf03 feat: onetime payment notice for cn users 2025-11-12 12:46:02 +08:00
DIYgod e59f98e85d feat: subscription limit warning 2025-11-12 11:45:12 +08:00
Innei 8d0af8e3ce release(desktop): hotfix to release v1.1.4 2025-11-11 23:48:28 +08:00
Innei 3a603bf912 fix: upgrade plan modal error
- Removed unused `useSetSettingTab` import from `UpgradePlanModalContent`.
- Updated `SettingModalContent` to improve initial tab resolution and ensure active setting is correctly managed with memoization and effects.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 23:42:57 +08:00
Innei 30fe349b5b fix: get manifest version
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 22:57:32 +08:00
DIYgod 81fe19849b release(desktop): hotfix to release v1.1.3 2025-11-11 21:53:43 +08:00