Commit Graph
374 Commits
Author SHA1 Message Date
Stephen Zhou 7f18a1ba16 feat: invalidate entry readability cache 2025-07-03 12:17:15 +08:00
Stephen Zhou 7b8c28afb6 fix(desktop): show login modal when auth fail 2025-07-03 11:52:33 +08:00
Stephen Zhou 796171de0e refactor: useWhoami from user store (#4061)
* refactor: useWhoami from user store

* update

* update

* update

* update

* return all
2025-07-02 21:57:53 +08:00
Innei 0f656d5ca3 revert: entry item click logic
- Removed redundant link handling logic in the EntryItemWrapper component.
- Streamlined navigation logic to improve clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-02 16:41:47 +08:00
Konv Suu 4e6e63329e Merge pull request #4057 from kovsu/fix/#4019
feat(desktop): enhance link handling
2025-07-02 15:18:11 +08:00
Innei 63386574f3 refactor: unify route parameter handling in markAllByRoute calls
- Updated multiple components to consistently use getRouteParams() when calling markAllByRoute.
- Enhanced the markAllByRoute function to accept structured data for improved clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 23:34:20 +08:00
DIYgod 35fb71cbbe feat: x-app-platform header 2025-07-01 20:31:44 +08:00
DIYgod 967b37ca37 Revert "fix(desktop): electron mas"
This reverts commit 5c9b8acad6.
2025-07-01 16:50:47 +08:00
Konv Suu ea1b6c2514 fix: update losing dependency and type error (#4054) 2025-07-01 16:33:32 +08:00
Innei bb6082f7e4 fix: setting item sequence
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:13:11 +08:00
Innei cd224f5cfe fix: pass current route params when mark read by shortcut
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:05:19 +08:00
Cason Kervis 60a9240b02 fix: fix social media click Read more refresh (#4027)
* fix: fix social media click Read more refresh

* fix: apply suggest review request
2025-07-01 13:52:29 +08:00
Konv Suu 352e8ef3a1 Merge pull request #4042 from kovsu/feat/preview-media
feat(desktop): pass loading prop correctly
2025-07-01 00:20:02 +08:00
Fatpandac 4fcaf20a57 fix: customize-toolbar unintentionally causes infinite scroll during drag (#4018) 2025-06-30 20:41:51 +08:00
Konv Suu f54d0313b1 fix(desktop): improve action bar's visibility logic (#4033)
* fix(desktop): improve action bar's visibility logic

* feat: hide the action bar when menu is open and click outside

* chore: comment

* chore: transition

* chore: update
2025-06-30 17:48:05 +08:00
Innei 616e794d4c feat(tracking): integrate PostHog and Firebase tracking, add client and session ID management
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 17:11:15 +08:00
Stephen Zhou 32f473c545 fix(desktop): preview video media, close #3990 2025-06-30 10:20:47 +08:00
DIYgod 85a554730b Merge pull request #4025 from RSSNext/sync/main-to-dev-20250629
Sync main branch to dev branch
2025-06-29 13:35:23 +08:00
DIYgod 819f9823b5 feat: disable openpanel 2025-06-29 12:21:57 +08:00
Innei 440392fa43 chore: remove fast-folder-size
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-29 12:03:17 +08:00
Innei c48d211e22 hotfix: i18n
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-29 11:45:04 +08:00
DIYgod df80682b2c Merge branch 'main' into dev 2025-06-29 10:27:30 +08:00
Innei ef40845b54 feat: wrap blurhash rendering in ErrorBoundary for improved error handling
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-28 22:44:34 +08:00
DIYgod a097a0a715 feat(desktop): use server side ga 2025-06-28 15:47:38 +08:00
DIYgod 5c9b8acad6 fix(desktop): electron mas 2025-06-28 11:48:05 +08:00
DIYgod 2bf1583ae9 feat: disable postHog tracker 2025-06-28 09:34:26 +08:00
DIYgod 77ca532848 feat: desktop firebase analytics (#4017)
* feat: firebase analytics for desktop app and desktop web

* chore: fix deps

* feat: ga4 log

* chore: add VITE_GA4_KEY
2025-06-28 09:24:31 +08:00
Innei 9a698d11d3 fix: focus detection ignore inside iframe
- Implemented a new function to check if the current focus is within an iframe or webview.
- Enhanced the FocusableGuardProvider to prevent focus management when inside an iframe or webview.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-27 16:32:56 +08:00
Innei a7f650a226 fix: adjust GridItemFooter layout and styling
- Updated FeedIcon component to remove margin and added noMargin prop for better alignment.
- Modified description span to include padding for improved spacing.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 16:54:58 +08:00
Innei f24b25d008 feat: enhance image handling in PictureMasonry component
- Added functionality to fetch and save image dimensions from entries.
- Introduced type definitions for images to improve type safety.
- Included console logging for debugging item dimensions in MasonryItemFixedDimensionWrapper.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 15:51:36 +08:00
Innei 92d87b1d72 refactor: update toast styles and improve component structure
- Added toastStyles import to NeedActivationToast and updated button class.
- Enhanced AppNotificationContainer's toast message styling.
- Refactored Toaster component to utilize centralized toastStyles for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 14:31:33 +08:00
Stephen Zhou fbd0b3e08f fix: collection is not up to date (#4009) 2025-06-26 09:30:59 +08:00
Innei 35c713a82a fix: update EntryCommandShortcutRegister to include view parameter
- Modified the EntryCommandShortcutRegister component to accept a view parameter of type FeedViewType.
- Updated the EntryContent component to pass the view prop to EntryCommandShortcutRegister.
- Adjusted the StarCommand type definition to require the view parameter.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:28:53 +08:00
Innei 24113f7f6d fix: entry command shortcut registry, fixed #3970
- Removed the deprecated `components.tsx` file and its associated code.
- Updated imports in `EntryContent.tsx` to reflect new component structure.
- Simplified command binding logic in `EntryHeaderActions` by removing unused hooks.
- Adjusted shortcut handling for command buttons to disable trigger shortcuts globally.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-26 00:12:54 +08:00
Innei 81c544a7df feat: add switch link when login with email 2025-06-25 22:44:37 +08:00
Konv Suu edb80f447d feat(desktop): enhance podcast duration display (#4001) 2025-06-25 17:12:30 +08:00
Konv Suu e70c674ae6 feat: enhance scroll state management (#3962)
* feat: enhance scroll state management

* Drop 古法手写代码,使用 agent 进行优化

* chore: minor update

* update
2025-06-25 17:11:18 +08:00
Innei f663d06650 chore!: remove web mobile adapter (#3998)
* backup

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

* remove and cleanup

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

* refactor: remove unused mobile download page and update layout component to use responsive loading

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 02:40:09 +08:00
Innei e3e50af693 fix: adjust button positioning for email verification in EmailManagement component
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-24 23:41:32 +08:00
Innei 1579b08ace chore: ignore generated route import
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-24 13:44:23 +08:00
Innei d7f8f1d58d chore: ignore generated route import
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-24 13:43:15 +08:00
Innei eeeea479c7 feat: add 'dim read' setting to general settings and update list item template for read entries
- Introduced a new setting 'dimRead' to allow users to diminish the color of read entries in the timeline.
- Updated the ListItem component to apply the dimming effect based on the new setting.
- Added corresponding translations for the new setting in the English locale.
- Set default value for 'dimRead' to false in the general settings defaults.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 23:04:14 +08:00
Innei 22e988caa2 Merge branch 'dev' into sync/main-to-dev-20250623 2025-06-23 21:20:44 +08:00
Innei c7b7b71e58 cleanup
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 19:34:06 +08:00
Innei f8dc0aa5e8 refactor(desktop): remove debug logging from handleClick in EntryItemWrapper
- Commented out console logging in the handleClick function to clean up the code and reduce unnecessary output during click events.
- This change maintains the functionality while improving the overall readability of the code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 19:30:10 +08:00
Innei 8102400404 feat(desktop): add debug logging in EntryItemWrapper for click handling
- Introduced console logging in the handleClick function to track navigation decisions and entry details.
- This addition aids in debugging navigation logic by providing insights into the entryId and feedId during click events.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 19:15:37 +08:00
Innei 8ed0a6897f refactor(desktop): rename and restructure navigation functions for clarity
- Renamed `navigateEntry` to `getNavigateEntryPath` for better clarity on its purpose.
- Introduced a memoized `navigationPath` in `EntryItemWrapper` to optimize path generation.
- Updated the navigation logic to utilize the new function, improving code organization and readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-23 18:51:27 +08:00
DIYgod 592769758d chore: format 2025-06-23 18:36:50 +08:00
Innei 36f05b6e5e Merge pull request #3978 from cscnk52/link
fix(link): fix link start with '.' don't handle proper
2025-06-23 14:25:52 +08:00
Cason Kervis a76eb27cc7 fix: simplify 2025-06-22 22:08:44 +08:00