Commit Graph
702 Commits
Author SHA1 Message Date
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
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
DIYgod 0b5f30a986 fix: env import 2025-04-15 17:37:53 +08:00
Whitewater 059dc01ab8 feat: add useBackHandler hook for handling hardware back press on Android (#3493) 2025-04-15 11:50:45 +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
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
DIYgod b284c275fd chore: update dependencies (#3477)
* chore: update dependencies

* fix: types
2025-04-13 18:16:27 +08:00
DIYgod c01a433773 feat(mobile): android releaseStatus draft 2025-04-13 16:54:37 +08:00
DIYgod b104080108 feat(mobile): android releaseStatus draft 2025-04-13 16:51:18 +08:00
DIYgod c04ffbe0b8 docs: update changelog 2025-04-12 16:30:47 +08:00
DIYgod ea680f6e9b fix(mobile): relative date time not updated 2025-04-12 15:51:00 +08:00
DIYgod 7b2063316c fix(mobile): expo-image crashes with certain svg 2025-04-12 11:58:30 +08:00
DIYgod ed7a6acb39 feat(mobile): add ErrorBoundary to ExpoImage 2025-04-12 10:53:57 +08:00
DIYgod 75778fa0b6 fix(mobile): switching unread-only not refresh the list 2025-04-11 23:19:54 +08:00
DIYgod 0c16ef992e fix(mobile): notification view styles 2025-04-11 22:51:30 +08:00
DIYgod 2a0436c9f7 fix(mobile): types 2025-04-11 22:37:43 +08:00
DIYgod d66d49c067 fix(mobile): view selector blinks when pressed 2025-04-11 22:12:27 +08:00
Innei fbc8553dc1 fix(entry-list): update background class in EntryItemSkeleton for consistency
- Changed background class from 'bg-secondary-system-grouped-background' to 'bg-system-background' in EntryItemSkeleton component.
- Ensured consistent styling across entry list components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:20:40 +08:00
Innei 9368136793 fix(subscription-item): ItemSeparator in list list
- Refactored ListSubscriptionItem component to enhance readability by restructuring JSX elements.
- Maintained existing functionality while ensuring consistent styling and layout.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:09:25 +08:00
Innei 3669223c13 feat(entry-list): enhance entry components with view type support
- Updated EntryNormalItem, EntrySocialItem, EntryVideoItem, and EntryGridFooter to accept and utilize view type for better context handling.
- Refactored EntryListSelector to include a NoLoginGuard for improved user experience.
- Added display names for memoized components for better debugging.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:08:34 +08:00
Whitewater b295711f5e feat(mobile): implement webview in android (#3442)
* feat(mobile): implement webview in android

* fix(mobile): update Android resource paths to use 'assets' directory

* fix(mobile): add injected JavaScript for WebView height management

* feat(mobile): enhance WebView navigation handling
2025-04-11 20:18:03 +08:00
DIYgod 05f2fbd9d6 feat(mobile): optimize feed info styles in entry header 2025-04-11 18:13:37 +08:00
DIYgod 219e122984 docs: update changelog 2025-04-11 17:43:16 +08:00
Innei ac39545c39 perf: optimize re-render when switch view
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 17:27:26 +08:00
Innei 755e895b6e refactor: simplify useSelectedView hook and update selectTimeline function to use target parameter for event dispatching
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 16:39:45 +08:00
Innei 12bfa9ba9c fix: correct view type in useSelectedFeed hook to ensure proper feedId retrieval
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 16:28:16 +08:00
DIYgod 46f8ae0e48 refactor(mobile): optimize useSelectedView hook 2025-04-11 15:27:14 +08:00
Innei 23eaf86926 feat: implement tap gesture for ItemPressable component; refactor context menu entry and entry list components for improved performance and readability
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 14:19:57 +08:00
Innei 3e3698a044 refactor: replace TimelineSelectorProvider with TimelineHeader in entry list and feed screens; enhance useSelectedFeed for better selector support
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 13:37:10 +08:00
DIYgod 87aa06243e feat(mobile): ai summary card styles 2025-04-11 11:38:52 +08:00
DIYgod ce7ab76a1b release(mobile): release v0.1.5 2025-04-11 00:16:59 +08:00
DIYgod 17dd1e70f2 fix(mobile): entry normal item text positions 2025-04-11 00:09:45 +08:00
DIYgod 7e553db6cb feat(mobile): link to actions documentation 2025-04-10 23:26:38 +08:00
Stephen Zhou baff103ded fix(mobile): prefetch for preview feed 2025-04-10 18:48:26 +08:00
Stephen Zhou 23adc686ac feat(mobile): show error message (#3455) 2025-04-10 10:22:47 +00:00
Stephen Zhou e7728a3d34 refactor: unify unread count locales and logic (#3453) 2025-04-10 16:22:46 +08:00
Innei f1e113a012 chore(mobile): update icon background color in ActionsScreen
- Changed the icon background color in the ActionsScreen from #D8B4FE to #9333EA to align with the new design scheme.

This modification aims to enhance visual consistency within the settings section of the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:53:37 +08:00
Innei 4ce80cda9d chore(mobile): update icon background colors in settings and invitations
- Changed the icon background colors for various settings in the SettingsList component to enhance visual consistency.
- Updated the icon background color in the InvitationsScreen to match the new design scheme.

These modifications aim to improve the overall aesthetic and user experience within the settings and invitations sections.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:49:01 +08:00
Stephen Zhou 8dd6d5c846 fix(mobile): optimize translation query (#3450)
* fix(mobile): optimize translation query

* update

* update
2025-04-10 14:05:58 +08:00
DIYgod b52e084448 feat(desktop): display feed updatesPerWeek 2025-04-09 23:35:53 +08:00
Innei f24f21ae73 fix(mobile): update clipboard handling and refine dropdown menu visibility logic, fix #3443
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 21:20:29 +08:00
Innei 16de0b54da fix(mobile): update toast icons to use filled variants for better visibility
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 21:12:21 +08:00
Stephen Zhou 104c3fb5f1 fix(mobile): mark as read payload for feed list (#3441)
* fix(mobile): make as read payload for feed list

* update
2025-04-09 21:02:37 +08:00