Commit Graph
1698 Commits
Author SHA1 Message Date
DIYgod fd81327913 feat: unified env 2025-03-01 15:00:36 +08:00
DIYgod d9e15de48e feat: add mobile specific resolver functionality 2025-03-01 14:40:41 +08:00
Innei 0427362226 refactor(mobile): enhance tab bar icon and label animations
Improve tab bar interactions by:
- Simplifying text label color transitions
- Adding smooth opacity, scale, and rotation animations for tab icons
- Introducing gentleSpringPreset for more consistent press interactions

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-01 10:26:06 +08:00
Stephen Zhou c416fc8f9b fix(mobile): active views in pager, first loading no mark read (#2920)
* fix(mobile): only show active views in pager

* fix: disable mark as read when first loading
2025-03-01 09:28:12 +08:00
Stephen Zhou 872835a31c refactor(mobile): auto mark as read logic (#2919)
* refactor(mobile): auto mark as read logic

* update
2025-03-01 09:05:44 +08:00
Stephen Zhou 7fbd2d7208 fix(mobile): player tab animation (#2918) 2025-02-28 23:34:03 +00:00
Innei 84b44b3062 fix(mobile): improve item separator background color
Update ItemSeparator components in entry-list and subscription modules to use a secondary system grouped background, ensuring consistent visual styling across different list views.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-01 01:10:50 +08:00
Innei 7de1132f6c refactor(mobile): replace custom web view with SFSafariViewController
This change updates the web view presentation logic to use SFSafariViewController instead of custom modal web view controllers. The modification simplifies the web view handling and provides a more standard iOS browsing experience with built-in Safari features.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-01 01:02:07 +08:00
Stephen Zhou cd576fff82 fix(mobile): no marking read when no scrolling (#2913) 2025-02-28 09:16:13 +00: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
Stephen Zhou 30aef70849 fix(mobile): onViewableItemsChanged is not reactive (#2911) 2025-02-28 16:44:05 +08:00
Stephen Zhou ab27ab83b1 fix(mobile): can not mark view as read (#2909) 2025-02-28 07:52:45 +00:00
Stephen Zhou 11b5f7ad72 fix(mobile): crash when parsing invalid url (#2908) 2025-02-28 07:35:12 +00:00
Innei 7d23f2fda5 refactor(mobile): simplify SafeModalScrollView and RSSHub form handling
- Replace KeyboardAwareScrollView with standard ScrollView
- Update form error handling to use JSON parsing
- Modify ScreenOptions and ModalHeaderSubmitButtonImpl to pass form errors
- Improve type safety and component props

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-28 13:38:04 +08:00
Innei 8e33327a31 refactor(mobile): remove commented-out user group navigation links
- Remove UserGroupNavigationLinks array
- Modify NavigationLinkGroup to skip rendering todo links
- Simplify settings navigation rendering

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-28 12:26:23 +08:00
Innei 4b84f106f8 refactor(mobile): update subscription category hook and usage
- Rename `useListSubscriptionCategory` to `useSubscriptionCategory`
- Modify hook to return an empty array when view is undefined
- Update import and usage in feeds context menu component

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-28 12:24:50 +08:00
Konv Suu f0ef7d0e04 fix(mobile): title text style in social media (#2907) 2025-02-28 12:16:31 +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 39b3b489b7 chore: revert tablet setting 2025-02-28 09:43:19 +08:00
DIYgod 3c10ae976b chore(mobile): update version 2025-02-28 09:10:30 +08:00
DIYgod 3146ba6d8e fix: types 2025-02-28 09:04:50 +08:00
DIYgod 3bc3f862c8 feat(mobile): image fallback and referer 2025-02-28 08:58:57 +08:00
DIYgod 861ae35819 fix: NavigationHeaderBackButton 2025-02-28 08:56:57 +08:00
Innei d45ba9ecfe feat(mobile): add RNS base view controller and navigation utilities
- Create RNSViewController as a base view controller
- Update WebViewController to inherit from RNSViewController
- Add UIWindow extension to find RNS navigation controller
- Modify HelperModule to use new navigation and web view utilities
- Refactor WebViewManager to use WebViewController for modal views

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 21:09:14 +08:00
Innei 6c2bc6633e feat(mobile): enhance web view navigation and header interactions
- Add ModalWebViewController and WebViewController for improved web browsing
- Implement WebViewManager method to push modal web views
- Create UINavigationHeaderActionButton for consistent header button styling
- Update header components to use new action button and back button components
- Refactor navigation header and scroll view interactions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 19:44:49 +08:00
Whitewater 97dda3ed7d refactor(mobile): enhance video entry handling in mobile app (#2903)
* fix(mobile): improve description height for video entries in EntryGridFooter

* fix(mobile): set fixed height for MediaCarousel to prevent resizing issues

* feat(mobile): add EntryListContentVideo and EntryVideoItem components for video entries

* refactor(mobile): simplify EntryGridItem component

* feat(mobile): integrate EntryListContentVideo for video feed view

* refactor(mobile): rename grid to picture for entry list selector

* feat(mobile): add skeleton loading component for video entries
2025-02-27 19:16:09 +08:00
DIYgod 63c304c02e fix: lists mark read 2025-02-27 19:13:53 +08:00
Innei 11d2034485 fix(mobile): trim whitespace in entry title and description
- Trim whitespace from entry title in EntryTitle component
- Conditionally render entry title in EntryNormalItem with trimmed text
- Ensure clean and consistent text display in entry list and details

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 17:45:11 +08:00
Innei 1c5ffd3bf9 feat(mobile): enhance Tabbar and Tab Layout with custom tab buttons
- Add support for custom tab buttons in Tabbar component
- Modify tab layout to use custom tab button rendering
- Wrap tab items with optional custom tab button component

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 17:24:05 +08:00
天空的盡頭 9cebf9887d feat(locales): add support for "zh_HK" and "zh_TW" context menu locales (#2850)
* feat(locales): add support for zh_HK and zh_TW context menu locales

* update
2025-02-27 16:45:32 +08:00
Konv Suu 39039e8139 fix: make icon center when media has play status (#2898)
* fix: make icon center when media has play status

* chore: minor tweaks
2025-02-27 16:45:06 +08:00
Konv SuuandInnei 76bf80dd7f fix(mobile): make play icon center in audio cover (#2901)
Co-authored-by: Innei <i@innei.in>
2025-02-27 16:44:20 +08:00
Innei fa32cf4507 fix(mobile): enhance social login button UI and interaction
- Increase gap between social login buttons
- Add `hitSlop` to improve touch target area
- Increase social login icon size for better visibility

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 16:42:54 +08:00
Innei a80edbd542 fix(mobile): improve email login input touchability
- Add `hitSlop` to email and password input fields
- Increase touch target area for better user interaction

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 16:38:38 +08:00
Whitewater 59db5a8de5 refactor(mobile): improve dev experience in login page (#2902) 2025-02-27 15:23:41 +08:00
Innei 90ba67acac fix(mobile): optimize animation cancellation and UI styling
- Add `cancelAnimation` to prevent animation conflicts in SubmitButton and Tabbar
- Adjust Tabbar animation duration for smoother transitions
- Update email login background color to use secondary system background

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 15:04:55 +08:00
Innei 001a4b08aa fix(mobile): improve animation and UI tweaks
- Cancel ongoing animations in Tabbar and Player components
- Adjust unread indicator position in EntryNormalItem
- Enhance player cover art scale transition with spring preset

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 14:56:29 +08:00
Innei 9203a4d5f8 fix(mobile): conditionally render entry description
Ensure description is only displayed when it exists in EntryNormalItem component

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 14:31:59 +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
DIYgod 8caafbd769 fix(mobile): video entry fixed height 2025-02-27 14:00:55 +08:00
Stephen Zhou 5126a6ff89 feat(mobile): cache rsshub query (#2900) 2025-02-27 13:38:01 +08:00
DIYgod 0c761925b1 fix(mobile): list entries cache 2025-02-27 12:21:19 +08:00
Stephen Zhou a67d84b7d7 feat(mobile): cache image info (#2899) 2025-02-27 11:10:32 +08:00
Stephen Zhou bd12076b21 feat(mobile): player cover scale transition (#2897) 2025-02-27 10:02:16 +08:00
Innei 053c5330be fix(mobile): improve item separator rendering
- Use Tailwind's height utility class for consistent separator height
- Add `collapsable={false}` to prevent rendering artifacts
- Use `transform: [{ scaleY: 0.5 }]` for precise hairline width
- Update separators in entry list, settings, and subscription modules

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-27 00:53:38 +08:00
Innei 67152ff06d refactor(mobile): improve entry content header actions
- Refactor header right actions with centralized action items
- Add type definition for action items
- Extract action handlers into separate functions
- Simplify dropdown menu and action bar rendering
- Add missing type imports for menu and icon configurations

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 23:27:19 +08:00
Innei 546e4482c3 feat(mobile): enhance header actions and layout
- Add star icon with color for starred entries in dropdown menu
- Conditionally render star action based on subscription
- Adjust NavigationHeader height and layout styling
- Remove flex direction and alignment in header component

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 23:20:05 +08:00
Innei a3955dffed fix(mobile): adjust entry title and feed title display
- Reduce horizontal padding in EntryTitle component
- Trim feed title to remove potential whitespace

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 23:12:32 +08:00
Innei b844af9a8d fix(mobile): improve NavigationHeader layout and styling
- Update rootTitleBarStyle with row layout and center alignment
- Adjust flex direction and alignment in header grid view
- Enhance header component's visual consistency

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 23:09:02 +08:00
Innei 458cbf7a5f feat(mobile): enhance entry header with dynamic title and read history
- Add headerTitleAbsolute prop to NavigationHeader for flexible title positioning
- Implement EntryReadHistory component to show recent readers
- Improve header left group with back button and read history avatars
- Optimize header title rendering and opacity animation
- Update UserAvatar and EntryNormalItem styling

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 22:58:30 +08:00