Commit Graph
47 Commits
Author SHA1 Message Date
Stephen Zhou ea53d1b9b5 fix(mobile): toast when toggling unread, fix entry context crash (#2997) 2025-03-07 12:16:49 +00:00
Stephen Zhou 7180e00d19 feat(mobile): list and inbox (#2969)
* feat(mobile): bring list and inbox back

* navigate to list

* inbox support

* fix: query entries

* use proxy image

* fix list and inbox state

* estimatedItemSize

* update

* update

* update

* fix list unread count

* unread count component

* update

* fix unread count by view
2025-03-05 21:36:26 +08:00
Stephen Zhou 13e02d7e9a feat(mobile): sign up, forget password, anonymous use (#2949)
* feat(mobile): sign up and forget password

* refactor(mobile): allow no login, move login as modal

* refactor(mobile): move 2fa as modal

* login icon

* update

* no login info

* color in dark mode

* style

* update

* update

* update

* update
2025-03-05 10:50:54 +08:00
Innei 8d8dafa37d refactor(mobile): Optimize header and form layouts
- Simplify NavigationHeader component by removing complex title centering logic
- Remove fixed width constraints in TimelineSelectorProvider header actions
- Add KeyboardAvoidingView to RSSHub form text inputs
- Conditionally render form sections based on available keys

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 21:04:18 +08:00
DIYgod fd81327913 feat: unified env 2025-03-01 15:00:36 +08:00
Whitewater 34540a1651 refactor(mobile): improve scroll-to-top handling (#2910)
* refactor(mobile): enhance navigation scroll view handling and type safety

* fix(mobile): update contentScrollerRef in discover screen

* fix(mobile): integrate navigation listener for scroll view reference attachment

* fix: types
2025-02-28 17:09:13 +08:00
Innei b09a86d905 fix(mobile): simplify header back button interactions
- Remove redundant TouchableOpacity wrapping for DefaultHeaderBackButton
- Directly render DefaultHeaderBackButton in multiple components
- Improve header navigation component simplicity

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-28 12:08:17 +08:00
DIYgod 861ae35819 fix: NavigationHeaderBackButton 2025-02-28 08:56:57 +08:00
Innei cbe4149bf5 feat(mobile): improve navigation and UI components
- Add NavigationHeaderBackButton component
- Adjust SafeNavigationScrollView scroll and inset settings
- Update TimelineSelectorProvider header actions
- Change delete account text color to red
- Modify EntryTitle padding

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 14:28:42 +08:00
Innei e52e03f2da feat(mobile): improve header layout and animation
- Add smooth centering animation for navigation header title
- Implement blur effect in search and discover headers
- Standardize header action group width
- Remove unnecessary refresh control in search tabs
2025-02-26 21:19:39 +08:00
Innei 09ed50a4d7 refactor(mobile): reorganize navigation and layout components
This commit restructures the mobile app's navigation and layout components, moving them from scattered locations into a more organized structure. Key changes include:

- Created new layout and navigation-related directories
- Moved context, hooks, and view components to more logical locations
- Improved imports and component organization
- Added constants for UI-related values
- Simplified and standardized navigation and tab bar components

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 21:00:51 +08:00
DIYgod 3ab1c5a9d2 feat(mobile): bigger header buttons 2025-02-26 15:53:44 +08:00
DIYgod 6fafbcb2b8 feat: remove pictureViewFilterNoImage 2025-02-26 15:42:01 +08:00
Innei 265f23fd76 feat(mobile): add native scroll to top functionality for iOS
- Implement `scrollToTop` function in HelperModule for iOS
- Add native module method to scroll scroll views to top
- Update hooks and components to use new native scroll to top method
- Enhance cross-platform scroll behavior for mobile app
2025-02-25 22:33:35 +08:00
DIYgod a60d1444a7 feat: add ProxiedImage 2025-02-25 20:02:59 +08:00
Innei 5ba9431075 fix: improve header and scroll behavior in mobile components
- Refactor SafeNavigationScrollView to dynamically calculate header height
- Update TimelineSelectorList scroll and indicator insets
- Modify navigation scroll to top hook with view offset

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-25 19:42:37 +08:00
Innei de547f3bc9 fix: improve header height and scroll behavior for timeline and subscriptions
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-25 19:14:39 +08:00
Innei 7bf4a26659 feat(mobile): enhance timeline and subscriptions header actions
- Extract UnreadOnlyActionButton as a reusable component
- Add support for secondary button variant
- Update TimelineSelectorProvider to handle subscriptions screen
- Modify EntryListContext to include 'subscriptions' type
- Refactor header actions to support different screen types

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-25 18:28:06 +08:00
DIYgod 494efa472c feat: remove lists in timeline selector 2025-02-25 18:00:45 +08:00
Innei 924cd70475 chore(mobile): update UIBarButton overlay prop and enhance 2FA screen styling
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-25 15:10:20 +08:00
Stephen Zhou 8d76c35d69 feat(mobile): toggle unread only (#2873) 2025-02-25 11:33:27 +08:00
Innei 150fbf7bac refactor(mobile): remove deprecated profile screen and update navigation
- Remove ProfileScreen from settings routes
- Comment out profile-related navigation links
- Add profile route to modal layout
- Update HomeLeftAction to use expo-router for profile navigation

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 23:23:46 +08:00
Innei fce03fe977 feat(mobile): enhance dialog system with dynamic actions and improved header
- Refactor dialog library to support dynamic button actions
- Add support for custom header components and icons
- Improve AddFeedDialog layout and interaction
- Implement MarkAllAsReadDialog integration in home screen actions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 23:05:32 +08:00
Innei ea1c666bcd feat(mobile): enhance dialog system and UI interactions
- Add new dialog library for flexible modal interactions
- Implement AddFeedDialog with improved UX
- Update Tabbar and Pressable components with smoother animations
- Remove RootSiblingParent from main component
- Upgrade react-native-uikit-colors to v0.3.8
- Introduce ScaleFadeRotateIn animation for consistent UI transitions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 22:27:14 +08:00
Innei 956d9dfd1e feat(mobile): add titles and improve navigation screen configurations
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 20:47:53 +08:00
Innei 1d62245f4b feat(mobile): add add feed button to discover header
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 19:47:15 +08:00
Innei 3b5fb5febe fix(mobile): disable scroll-to-top for timeline view selector
- Disabled scroll-to-top behavior for horizontal ScrollView in TimelineViewSelector
- Prevents unintended scrolling when tapping the status bar

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-23 15:45:41 +08:00
Whitewater 9b3439f711 feat(mobile): implement scroll-to-top functionality (#2831)
* refactor(mobile): wrap entry list components to forward refs

* feat(mobile): implement scroll-to-top functionality

* fix: cast ref types in TimelineSelectorMasonryList

* chore: ensure proper cleanup in useScrollToTopRef hook
2025-02-21 03:45:07 +08:00
Innei 761e7d5333 refactor(mobile): enhance navigation scroll view and tab bar interactions
- Introduced new context for attaching navigation scroll view refs
- Improved tab bar behavior when re-selecting the same tab
- Removed deprecated scroll view context
- Updated imports and context management for tab bar components

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 23:13:23 +08:00
Innei ea374cb30c refactor(mobile): improve bottom tab bar and related components
- Refactored bottom tab bar implementation with new context and hooks
- Added new components for bottom tab bar management
- Updated imports and references to bottom tab bar related functionality
- Introduced new spring presets and relative date time improvements

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 22:31:39 +08:00
Innei 63e6a30d83 refactor(mobile): Update TimelineViewSelector context menu handling
- Modify TimelineViewSelector to pass view-specific context menu props
- Adjust TimelineViewSelectorContextMenu to handle undefined viewId more precisely
- Simplify context menu rendering logic for view-based timelines

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 21:44:29 +08:00
Innei ba0c9119dc refactor(mobile): Replace TimelineSelectorHeader with TimelineSelectorProvider
- Remove TimelineSelectorHeader component
- Introduce TimelineSelectorProvider to manage timeline context
- Update entry list, subscriptions, and feed screens to use new provider
- Simplify component structure and improve context management

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 20:29:42 +08:00
Innei 03f92a51b2 feat(mobile): Add image context menu with save, copy, and share actions
Enhance image interaction by introducing a new ImageContextMenu component:
- Implement context menu for images with copy, save, and share functionalities
- Add support for saving images to device library
- Integrate image editing and file system utilities
- Update PreviewImage and EntryGridItem to use the new context menu

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 23:26:28 +08:00
Innei 47b1072993 feat(mobile): Add hide no media item feature for picture view
Implement a new UI setting to filter out entries without images in picture view mode:
- Add `pictureViewFilterNoImage` setting in UI settings
- Create `HideNoMediaActionButton` component for toggling the filter
- Update `EntryGridItem` to respect the new filter setting
- Integrate hide no media button in timeline and feed headers

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 20:17:20 +08:00
Whitewater c251aeaf65 feat(mobile): implement collection entry list (#2787)
* feat(mobile): implement collection entry list

* refactor(mobile): update entry item skeleton
2025-02-18 02:04:23 +08:00
Innei 1d4e37e35a feat(mobile): add preview image component with advanced gesture handling
Introduce a new PreviewImage component with sophisticated gesture interactions for mobile image preview:
- Implement pinch-to-zoom functionality
- Add pan and double-tap gestures for image manipulation
- Support smooth animations for zooming and closing
- Handle image scaling, translation, and modal transitions
- Refactor entry list components to use new preview image component

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 23:42:10 +08:00
Stephen Zhou c8f580c0a1 feat(mobile): auto mark as read when scrolling (#2781)
* feat(mobile): auto mark as read when scrolling

* reset unread state after fetch

* refetch with subscription and unread

* chore: auto-fix linting and formatting issues

* chore: trigger build
2025-02-17 13:16:37 +00:00
Stephen Zhou b397dc0658 fix(mobile): use the right import path for feed atom (#2779) 2025-02-17 07:47:51 +00:00
Stephen Zhou fc70859fe9 refactor(mobile): remove load archived entries button (#2774) 2025-02-17 14:50:55 +08:00
DIYgod f44b1a5604 feat: optimize unread indicator styles 2025-02-14 21:56:13 +08:00
Innei 665cf95afb feat(mobile): add feed or rsshub feed
- Add multiple new SVG icons in the mobile app's icons directory
- Create a new Overlay component in the UI components
- Update search module and other related components
- Refactor and clean up various mobile app files

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 21:31:17 +08:00
Innei ac06382d79 refactor(mobile): rename ItemPressable component and update imports
Rename `item-pressable.tsx` to `ItemPressable.tsx` and update all import references across the mobile app to maintain consistent file naming conventions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 20:03:18 +08:00
Innei 4095462f34 refactor(mobile): replace icons with UserAvatar and update tab layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 19:42:08 +08:00
Innei baf1af5f99 feat(mobile): add context menu and animated text for timeline view selector
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 22:55:16 +08:00
Innei 710ae5da7a refactor(mobile): reorganize timeline selector components and imports
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 22:41:14 +08:00
Stephen Zhou ddd6a2c8cd feat(mobile): unread state for entry (#2730)
* feat: unread state for entry

* mark feed as read

* fix type

* feat: mark as read when entering entry detail

* prefetch unread

* show unread count for view

* fix: use feed subscription for view unread count

* fix: clean not exist subscriptions

* Pre fetch subscriptions in advance

* fix: add entry ids to list
2025-02-13 18:51:39 +08:00
DIYgod 676e8bc55b feat: subscription list; TimelineSelectorHeader and TimelineSelectorList components 2025-02-13 13:58:46 +08:00