Commit Graph
2271 Commits
Author SHA1 Message Date
Stephen Zhou cf6d7567bc feat: server side readability (#3498) 2025-04-17 10:41:15 +08:00
Innei 6d9af8aeb1 feat(mobile): add EntryNavigationHeader and refactor EntryTitle
- Introduced EntryNavigationHeader component for improved navigation and header management in entry detail screens.
- Added titleHeightAtom to EntryContentContext for dynamic title height management.
- Refactored EntryTitle to utilize the new context and simplify layout handling.
- Updated EntryDetailScreen to integrate EntryNavigationHeader and enhance user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 01:02:46 +08:00
Innei 8602973016 feat(mobile): enhance EnhancePagerView with initialPageIndex prop
- Refactored EnhancePagerView to include an initialPageIndex property for better control over the starting page.
- Updated related components and specifications to support the new prop.
- Fixed a typo in the initialize method name for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 00:48:01 +08:00
Innei 70ef539788 feat(mobile): refactor ItemPressable usage and styles
- Replaced TouchableOpacity with ItemPressable in multiple components for improved interaction handling.
- Introduced a new UnStyled option in ItemPressableStyle to allow for customizable styling.
- Updated ItemPressable implementation in RelativeDateTime, EntryNormalItem, and CategoryGrouped components to enhance touch feedback and visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 00:39:00 +08:00
DIYgod ece26375a6 feat(mobile): actions icons 2025-04-16 22:47:24 +08:00
DIYgod f526edfad7 feat(desktop): actions icons 2025-04-16 22:47:24 +08:00
Innei f52026a3ce feat(mobile): enhance share subscription functionality in ProfileScreen
- Updated useShareSubscription hook to include a removeItemById method for managing subscriptions.
- Integrated the new functionality into ProfileScreen, allowing users to unsubscribe from feeds.
- Added context providers for managing profile state and actions.
- Refactored list item components to utilize ItemPressable for better interaction handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 22:46:49 +08:00
Innei 6c9448ccd1 chore(mobile):rename screen filename
- Updated import paths for existing screens to use camel case naming conventions.
- Introduced new screens: EditEmailScreen, FollowScreen, ForgetPasswordScreen, InvitationScreen, ListScreen, LoginScreen, ProfileScreen, RsshubFormScreen, SignUpScreen, TwoFactorAuthScreen, and SelectReadingModeScreen.
- Enhanced the onboarding experience with the addition of EditProfileScreen.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 22:02:00 +08:00
Innei dbf6954da0 feat(mobile): trending screen
- Updated imports for EntryDetailScreen and FeedScreen to reflect new file structure.
- Introduced OnboardingScreen and PlayerScreen components to improve user onboarding and media playback experience.
- Added PhUsersBold icon component for enhanced UI consistency.
- Adjusted animation timing in ItemPressableModule for better touch feedback.
- Updated sitemap to reflect new screen paths.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 21:58:21 +08:00
DIYgod 3bc658540a feat(mobile): update share and ai icons 2025-04-16 21:02:50 +08:00
DIYgod f447d6a7c0 feat(deskotp): update ai icons 2025-04-16 20:56:53 +08:00
DIYgod 34da9d24c7 feat(desktop): update share icon, close #762 2025-04-16 20:40:16 +08:00
Innei 667664aa67 feat(mobile): add camelcase-keys dependency and implement language options in discover module
- Added camelcase-keys version 9.1.3 to package.json and pnpm-lock.yaml.
- Introduced language options for the discover module, enhancing the user experience.
- Updated the discover screen to include a new "Good Luck" section.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 20:38:25 +08:00
DIYgod 144f7097e9 feat(desktop): feed badge 2025-04-16 20:26:24 +08:00
Innei cd431f336c fix: adjust padding for safe area in Recommendations and RecommendationCategoryScreen components
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 19:48:49 +08:00
Innei 102f66e264 fix(ios): fix tap gesture conflict handling and animation in ItemPressableModule
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 19:43:03 +08:00
DIYgod 5bfcbbcb16 chore: use different name for staging build 2025-04-16 18:13:58 +08:00
Konv Suu 18de7a8de8 refactor(desktop): improve shiki highlight component (#3461)
* refactor(desktop): improve shiki highlight component

* update

* update
2025-04-16 17:33:07 +08:00
DIYgod be093e1b75 feat(desktop): updateNotificationsToken 2025-04-16 16:16:44 +08:00
DIYgod 102710ef2f feat(desktop): optimize sign out logic 2025-04-16 12:39:44 +08:00
DIYgod 7a354abeaa fix(desktop): types 2025-04-16 11:54:13 +08:00
DIYgod 379dc0ff21 feat(desktop): remove user store 2025-04-16 11:43:02 +08:00
DIYgod 0ee8510032 feat(desktop): set cookie expirationDate 2025-04-16 11:29:46 +08:00
DIYgod b8bbdcebae fix(desktop): broken set cookie logic 2025-04-15 22:53:02 +08:00
DIYgod cabcac5467 feat(desktop): get cookie from renderer rather than main store 2025-04-15 22:53:02 +08:00
Innei cce400cca0 feat(discover): enhance Discover screen with category grid and navigation
- Introduced a new `RecommendationCategoryScreen` for displaying recommendations by category.
- Added a category grid in the Discover screen, allowing users to navigate to specific categories.
- Integrated emoji representation for categories using `CategoryEmojiMap`.
- Updated context management to streamline header height and animated values.
- Refactored `Recommendations` component to support new navigation structure.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-15 22:30:40 +08:00
dependabot[bot] a539d874c3 build(deps-dev): bump electron in the minor-and-patch group (#3480)
Bumps the minor-and-patch group with 1 update: [electron](https://github.com/electron/electron).


Updates `electron` from 34.5.0 to 34.5.1
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v34.5.0...v34.5.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 34.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 20:29:47 +08:00
DIYgod 319216e4ce feat: one time token (#3482)
* feat: unified auth for desktop and ssr

* feat: use one time token

* feat: remove better auth patch

* feat(desktop): handle session changes

* feat(desktop): recover ck auth for compatibility
2025-04-15 20:27:20 +08:00
Innei 05a22d3f30 refactor(ios): replace native PagerView
- Added `cssInterop` for styling in `PagerView`.
- Updated `onScrollEnd` to pass the current index in `PagerView`.
- Introduced `PagerList` component for better feed view management.
- Refactored imports to ensure consistency across modules.
- Enhanced type definitions for better TypeScript support.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-15 19:49:22 +08:00
Innei 57dad99913 refactor(ios): use ItemPressable native view to handle gesture
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-15 19:23:16 +08:00
Whitewater 53da938173 fix: add Readwise URL to buildSafeHeaders to resolve CORS issues (#3497) 2025-04-15 18:30:09 +08:00
DIYgod 0b5f30a986 fix: env import 2025-04-15 17:37:53 +08:00
DIYgod ad3edeaf56 fix: env import and more ssr proxy paths 2025-04-15 17:33:06 +08:00
DIYgod 1b9d010b79 feat(ssr): env.ssr 2025-04-15 12:54:43 +08:00
Whitewater 059dc01ab8 feat: add useBackHandler hook for handling hardware back press on Android (#3493) 2025-04-15 11:50:45 +08:00
Stephen Zhou b472db3b8e feat: save ai summary as description, close #3478 2025-04-15 10:51:57 +08:00
Stephen Zhou 54e1be0096 fix: player can not correctly navigate to entry, close #1401 2025-04-15 09:57:05 +08:00
Innei b48a31431e feat(entry-list): enhance EntryListFooter with dynamic label color
- Integrated useColor hook to dynamically set the label color for the CheckCircleCuteReIcon in EntryListFooter.
- Adjusted Text component to include margin for better layout.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 23:57:01 +08:00
Innei 11a0b5a394 fix(entry-list): update image source logic for audio view
- Modified image assignment in EntryNormalItem to fallback to feed image when cover image is not available and the view is set to Audios.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 23:55:28 +08:00
Innei ee5c66305a feat(tabbar): enhance BottomTabProvider with initialTabIndex and context integration
- Added initialTabIndex prop to BottomTabProvider for customizable tab index.
- Integrated BottomTabContext to manage tab state and improve context handling.
- Introduced useResetTabOpacityWhenFocused hook to reset tab opacity based on focus state.
- Updated TabRoot components to utilize context for tab index management.
- Adjusted PagerListVisibleContext default value for better visibility handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 23:50:07 +08:00
Innei 00e625b052 fix(timeline): remove unused tab bar opacity handling for improved clarity
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 23:34:32 +08:00
Innei 22964c71c0 refactor(tabbar): simplify tab item rendering and improve performance with memoization
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 23:07:19 +08:00
Innei a758e430de perf: optimize performance in dev mode
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 22:04:53 +08:00
Stephen Zhou 49f3cc2e13 fix: no inline for entry title 2025-04-14 21:42:26 +08:00
Stephen Zhou 3157ecfb5a chore: hide tts action by default 2025-04-14 21:14:31 +08:00
Innei 31a8701d2c feat(mobile): add checkScrollToBottom functionality to SafeNavigationScrollView and integrate with TimelineSelectorList
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-14 19:45:58 +08:00
Stephen Zhou a4d1653477 fix(main): tts not working 2025-04-14 19:21:38 +08:00
Stephen Zhou 7a7da58354 fix(main): dev userdata path 2025-04-14 18:15:48 +08:00
Konv SuuandStephen Zhou 5cde69212c refactor(desktop): move electron actions to entry actions (#3483)
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-04-14 16:16:40 +08:00
0-o0 81fcb6434c feat(ssr): enhance email validation and reCAPTCHA handling
feat(ssr): enhance email validation and reCAPTCHA handling
2025-04-13 22:41:08 +08:00