- 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>
- Extract WebView configuration into a separate class
- Improve JavaScript injection mechanism
- Move injected script loading to a static method
- Enhance URL scheme handling and script management
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
* fix(mobile): enhance modal close behavior with conditional redirection
* refactor(mobile): implement deep link handling with intent hook
* chore: auto-fix linting and formatting issues
- 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>
- Import useWhoami hook to retrieve current user information
- Conditionally render UserHeaderBanner with user ID when user is logged in
- Improve user profile display in settings screen
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>
- Convert WebViewDelegate to an extension of FOWebView
- Remove separate delegate class
- Use direct access to state and view controller
- Simplify navigation and script message handling
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>
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>
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>
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>
- 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>