Commit Graph

1029 Commits

Author SHA1 Message Date
Whitewater e9e67de25f
feat: implement imperative modal (#4041)
* feat: implement ImperativeModalProvider with modal context and controls

* fix: make onClose prop optional for bottom modal

* chore: add ImperativeModalProvider to context providers

* feat: wrap BottomModal content in KeyboardAvoidingView for better keyboard handling

* chore: add polyfill for Promise.withResolvers

* fix: wrap ImperativeModal in a View and update onClose to accept modal ID

* feat: implement ImperativeModal with context and modal control hooks

* refactor: redesign imperative modal with root-siblings

* fix: wrap BottomModal in a View to resolve rendering issues on Android

* refactor: replace Alert.prompt with modalPrompt for category creation and renaming
2025-07-02 17:20:41 +00: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
Whitewater 8bcc6faada
feat: support android adaptive icon (#4058) 2025-07-02 04:30:35 +00:00
DIYgod 35fb71cbbe
feat: x-app-platform header 2025-07-01 20:31:44 +08:00
Innei 66591e452b
feat(mobile): add horizontal padding for pic and video layout
- Added contentContainerStyle to EntryListContentPicture and EntryListContentVideo for consistent padding.
- Updated TimelineSelectorList to merge additional contentContainerStyle and scrollIndicatorInsets from props.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:24:01 +08:00
Innei cfa1d9ff0a
feat: add title-case package and use it for label formatting in GroupedList component
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:17:38 +08:00
lawvs 650a68fccd fix: improve unread count display in ViewItem 2025-07-01 12:25:24 +08:00
Innei 9711a0bc20
feat(timeline): implement animated title transition in TimelineHeader
- Added AnimatedTitle component to handle cross-fade animation for title changes in the TimelineHeader.
- Utilized useSharedValue and useAnimatedStyle from react-native-reanimated for smooth opacity transitions.
- Improved user experience by visually indicating title changes during navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 20:31:13 +08:00
Innei 86d75b9252
feat(timeline): enhance unread message indicator with animated visibility
- Wrapped the UnreadCount component in an Animated.View to improve visibility during drag interactions.
- Added opacity animation based on drag progress to create a smoother user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 20:15:08 +08:00
Innei b4eb9200d8
feat(lightbox): enhance image viewing experience with save and share functionality
- Updated ImageDefaultHeader to include save and share buttons for the current image.
- Refactored ImageView to pass current image URI to the header.
- Cleaned up unused code and improved footer rendering logic.
- Updated Info.plist to reflect new app version.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 19:58:18 +08:00
Innei 4c80e83787
feat(analytics): add posthog-react-native integration and session management
- Integrated posthog-react-native for enhanced analytics tracking.
- Added client and session ID management functionality.
- Updated Info.plist and Expo.plist for configuration changes.
- Updated package dependencies to include posthog-react-native version 4.1.3.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 19:44:25 +08:00
Stephen Zhou 41482bccb3
refactor(mobile): clean set page logic 2025-06-30 15:18:59 +08:00
lawvs ae005c1708 refactor: integrate providers into ComposeContextProvider 2025-06-30 13:38:27 +08:00
Stephen Zhou 65730a3e44
chore: bring expo-drizzle-studio-plugin back 2025-06-30 10:51:22 +08:00
DIYgod 930add1fb0
Merge pull request #4022 from RSSNext/sync/main-to-dev-20250629
Sync main branch to dev branch
2025-06-29 10:30:40 +08:00
DIYgod df80682b2c
Merge branch 'main' into dev 2025-06-29 10:27:30 +08:00
DIYgod fc6f2a32bb
chore(mobile): update version 2025-06-28 10:46:57 +08:00
DIYgod b844df5157
docs(mobile): update changelog 2025-06-28 10:44:00 +08:00
lawvs 36b8cde4ba refactor: improve layout in TimelineViewSelector 2025-06-27 03:39:08 +08:00
lawvs 1f7a2c89d6 fix: update content view class name in SafeNavigationScrollView usage 2025-06-27 03:38:47 +08:00
lawvs 1d13370367 fix: tweak style for proper layout on Android 2025-06-27 03:37:51 +08:00
Stephen Zhou 2bbe51221d
fix: try credentials: "omit" 2025-06-26 21:03:23 +08:00
lawvs 93bdac19ca chore: tweak styles for separator in Select component 2025-06-26 15:45:01 +08:00
Stephen Zhou abbc8ca1c9
fix: collection is not up to date (#4009) 2025-06-26 09:33:53 +08:00
Stephen Zhou fbd0b3e08f
fix: collection is not up to date (#4009) 2025-06-26 09:30:59 +08:00
lawvs b5a81f379b feat: replace Modal with BottomModal in SelectableTextSheet component 2025-06-26 03:29:31 +08:00
Whitewater 9251204f19
feat: add BottomModal and Select components for Android (#4010)
* feat: add BottomModal component

* feat: implement Select component with modal for Android
2025-06-26 03:29:03 +08:00
lawvs d9e8f8da2c refactor: improve layout in TimelineViewSelector 2025-06-24 19:17:23 +08:00
lawvs b87569eb04 fix: update content view class name in SafeNavigationScrollView usage 2025-06-24 16:58:03 +08:00
Whitewater 7afbc5958b
refactor: image preview handling on iOS (#3995)
* refactor: use lightbox to preview image on iOS

* refactor: replace atom-based image preview event handling with EventBus

* refactor: replace NotificationCenter with Combine

* chore: clean code
2025-06-24 16:53:27 +08:00
lawvs cabe8e107d fix: tweak style for proper layout on Android 2025-06-24 00:03:37 +08:00
Innei bcf4f78fab
release(mobile): release v0.2.2 2025-06-23 22:36:09 +08:00
DIYgod d74cea5b1f
fix: lint 2025-06-23 18:05:24 +08:00
lawvs 0a012dcd8d fix: prevent unnecessary scroll when not dragging in PagerList 2025-06-23 16:23:44 +08:00
lawvs fbe1de4e7d fix: wrap SelectableTextSheet in a View to prevent rendering errors on Android 2025-06-23 15:52:20 +08:00
Whitewater 6a7ebd2c01
chore(mobile): upgrade dependencies for mobile (#3971)
* chore: upgrade dependencies

* chore: update dependencies for native example
2025-06-21 14:01:22 +08:00
lawvs f9595ffff8 fix: compatible with android for summary modal 2025-06-21 04:18:40 +08:00
Innei 6d76d6b558
chore: update dependencies and improve type safety
- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 23:32:42 +08:00
lawvs e8dd69e478 fix: prevent link navigation for image-only children 2025-06-20 03:13:10 +08:00
Whitewater 524ad05002
feat: enhance scroll interactions in TimelineSelector (#3952)
* feat: enhance PagerView onScroll event to include position parameter for iOS

* feat: add TimelineSelectorDragProgress context and provider for managing drag state

* feat: enhance TimelineViewSelector with drag progress and animated item transitions

* feat: integrate drag progress into PagerList and TimelineViewSelector for enhanced user interaction

* feat: add animated icon transitions in ViewItem based on drag progress

* fix: add scrollViewDidEndDecelerating to trigger onScrollEnd callback

* fix: enhance PagerList to synchronize drag progress with timeline selection
2025-06-19 07:17:27 +00:00
lawvs 69851eb443 fix: add color prop to User3CuteReIcon in Trending component 2025-06-19 14:52:59 +08:00
lawvs 102d8bfb6a fix: update GroupedInsetListCard style for improved android layout 2025-06-19 12:46:08 +08:00
lawvs f01baf9ba7 fix: enhance NativeWebView to handle window opening and improve URL parsing error handling 2025-06-19 12:17:36 +08:00
Stephen Zhou b5478d8436
chore: add typecheck for rn-micro-web-app 2025-06-18 16:58:00 +08:00
Stephen Zhou c5bb56372a
chore: fix import in web app html-render 2025-06-18 16:52:29 +08:00
Stephen Zhou 8f66d91ce1
feat: changeCategoryView for mobile, better local data update 2025-06-18 16:46:27 +08:00
Stephen Zhou f108a45601
feat: delete or rename category for mobile, improve local data update, close #3945 2025-06-18 16:14:52 +08:00
Innei c51639ba69
chore(settings): add avatar update feedback with success and error notifications
- Updated the `setAvatar` function to include success and error handling for the avatar update process.
- Integrated toast notifications to inform users of the outcome of their avatar update, improving user experience and feedback.

These changes aim to provide clearer communication to users regarding the status of their avatar updates.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-18 13:53:15 +08:00
lawvs e25451aa2b fix: prevent image rendering error in ThumbnailImage 2025-06-17 22:47:44 +08:00
Stephen Zhou 95b23c3be7
refactor: move image sync service to mobile, bring hydration back 2025-06-16 16:25:43 +08:00