- Add `anonymous` flag to navigation links
- Implement dynamic filtering of navigation groups for anonymous users
- Use `useMemo` to optimize navigation group rendering
- Integrate user authentication state with settings visibility
Signed-off-by: Innei <tukon479@gmail.com>
- Introduce `proxyEnv` to dynamically manage environment configurations
- Add `EnvProfileIndicator` to show current environment profile
- Create `useEnvProfile` and `setEnvProfile` for runtime env switching
- Update imports and references to use `proxyEnv` instead of static `env`
Signed-off-by: Innei <tukon479@gmail.com>
- Replace FlashList with FlatList in PreviewFeeds component
- Limit preview to first 5 entries
- Add router navigation to full feed view from preview
- Remove unnecessary key extractor function
Signed-off-by: Innei <tukon479@gmail.com>
* 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
* 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
- Update ProfileScreen to pass current user's ID to useShareSubscription
- Ensure subscriptions are fetched for the logged-in user
- Improve data fetching logic in profile route
Signed-off-by: Innei <tukon479@gmail.com>
* feat(mobile): add deep link redirection to follow screen
* fix(mobile): enhance modal close behavior with conditional redirection
* chore: auto-fix linting and formatting issues
- Add null check for whoami.id before rendering UserHeaderBanner
- Prevent rendering header banner when user is not logged in
- Improve user profile screen rendering logic
Signed-off-by: Innei <tukon479@gmail.com>
- Implement AspectRatioImage component for flexible image display
- Add support for square and aspect-ratio thumbnail rendering
- Use thumbnailRatio setting to dynamically choose image display mode
- Preserve image quality and aspect ratio in entry list view
Signed-off-by: Innei <tukon479@gmail.com>
- Add support for dynamic user profile rendering
- Modify user schema to make email field optional
- Update database migrations with new migration script
- Refactor profile-related hooks and components to support flexible user viewing
- Extract EntryReadHistory component from EntryTitle
Signed-off-by: Innei <tukon479@gmail.com>
- Implement preview for article view in feed context menu
- Use FlashList to render entry previews efficiently
- Add conditional rendering for preview based on feed view type
- Remove commented-out menu items for future cleanup
Signed-off-by: Innei <tukon479@gmail.com>
- Remove unnecessary string conversion for feed view type
- Simplify view type parsing in subscription form submission
- Ensure direct enum value usage for feed view selection
Signed-off-by: Innei <tukon479@gmail.com>
- resolves FOL-1680
- Replace TouchableOpacity with Pressable in view selector
- Remove background color from SafeModalScrollView
- Adjust content container margins in modal scroll views
- Update form schema to coerce view to number
- Add loading state management in RSSHub form submission
- Enhance user interaction and form validation
Signed-off-by: Innei <tukon479@gmail.com>
- Create ModalHeader component for consistent modal UI
- Add ModalScrollViewContext for scroll-related state management
- Refactor SafeModalScrollView to use new context and header
- Implement dynamic header height calculation utility
- Update various modal screens to use new components
- Simplify header and scroll view interactions
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
Refactored the WebView implementation in the mobile app to:
- Separate concerns in WebView delegate and configuration
- Simplify WebView initialization and state management
- Improve JavaScript injection and custom URL scheme handling
- Add content height change event support
Signed-off-by: Innei <tukon479@gmail.com>
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>
- 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>
- 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>
* 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
- 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>
- 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>