* refactor: update routes from /feeds to /timeline and improve timeline navigation
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: improve timeline selector and list view rendering
- Optimize timeline selector with auto-scrolling and dynamic rendering
- Enhance list switch button with improved styling and title display
- Memoize and optimize timeline-related hooks and components
- Add utility functions for scrolling and visibility detection
Signed-off-by: Innei <tukon479@gmail.com>
* fix: prevent timeline selector error when timelineId is undefined
- Add null check for timelineId before processing timeline selection
- Ensure safe handling of timeline selector when no timeline is selected
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add InboxSwitchButton for timeline navigation
- Implement InboxSwitchButton component for inbox timeline selection
- Add handling for inbox timeline in TimelineSwitchButton
- Support unread indicator and navigation for inbox timelines
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Modify pnpm workspace to point to 'web-app' directory
- Update web-app package.json build script to run build from html-renderer subdirectory
Signed-off-by: Innei <tukon479@gmail.com>
- Implement dynamic inline style rendering for WebView content
- Create new atom for managing reader inline style preference
- Update EntryContentWebView to support toggling inline style rendering
- Modify HTML renderer to conditionally apply inline styles
Signed-off-by: Innei <tukon479@gmail.com>
- Replace zinc color skeletons with system fill color in EntryItemSkeleton
- Remove negative margin from entry title text in EntryItem
- Improve visual consistency using system background and fill colors
Signed-off-by: Innei <tukon479@gmail.com>
- Add CORS headers to CustomURLSchemeHandler for cross-origin requests
- Implement custom URL scheme protocol for image loading in MarkdownImage
- Replace HTTP/HTTPS URLs with a custom protocol to enable cross-origin image rendering
Signed-off-by: Innei <tukon479@gmail.com>
- Upgrade react-native-uikit-colors to v0.2.0
- Enhance CustomURLSchemeHandler with improved task management
- Update RecommendationListItem and EntryListItem with context menu improvements
- Refactor entry list item styling using system colors and context menu preview
- Add context menu preview to login and entry list modules
Signed-off-by: Innei <tukon479@gmail.com>
- Remove unnecessary WebView preparation in main entry point
- Extract WebView entry setting logic into a separate function
- Preload WebView for entry rendering in the main index screen
- Optimize entry list item press handling with WebView entry preparation
Signed-off-by: Innei <tukon479@gmail.com>
- Add blurhash and image scaling to MarkdownImage component
- Implement useCalculateNaturalSize hook for responsive image sizing
- Create atoms and types for entry model and media
- Update HTML renderer to support dynamic image rendering with Jotai state management
- Improve iOS image preview with save functionality and dynamic root view controller retrieval
Signed-off-by: Innei <tukon479@gmail.com>
- Add SDWebImage dependency to FollowNative.podspec
- Refactor ImagePreview and PreviewControllerController for robust image preview
- Implement dynamic file extension handling for image preview
- Update WebView bridge to support more flexible image preview payload
- Improve MarkdownImage component to use Uint8Array for image conversion
Signed-off-by: Innei <tukon479@gmail.com>
- Add ImagePreview helper class for displaying images using QuickLook
- Extend HelperModule with previewImage function to load and display images
- Update WebView bridge to support image preview from web content
- Implement MarkdownImage component with base64 image conversion
- Add cross-platform quickLookImage method for native image preview
Signed-off-by: Innei <tukon479@gmail.com>
- Migrate NavigationBlurEffectHeader to use Reanimated's useAnimatedStyle
- Optimize header opacity animation with shared value
- Enhance ViewSelector ScrollView with horizontal scroll indicator control
- Adjust padding in ViewSelector for better layout
Signed-off-by: Innei <tukon479@gmail.com>
- Renamed `ModalHeaderShubmitButton` to `ModalHeaderSubmitButton` for consistency.
- Updated `SwipeableItem` to include animated text for action labels.
- Refactored `TextField` to support an input postfix element and improved styling.
- Enhanced `GroupedInsetListCard` to conditionally show separators between children.
- Adjusted `MarkdownWeb` to prevent vertical overflow.
- Updated `FollowFeed`, `FollowList`, and `rsshub-form` to use the corrected `ModalHeaderSubmitButton`.
- Added navigation functionality to the `AddListButton` in `ListsScreen`.
- Improved color validation in utility functions.
These changes improve code consistency and enhance the user interface across various components.
Signed-off-by: Innei <tukon479@gmail.com>