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>
* 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>
- 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>
- 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>
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>
* chore: clean code
* feat(mobile): add star fn in the image context menu
* feat(mobile): add video context menu with star, open, copy, and share options
* feat(mobile): integrate video context menu and enhance media item rendering
* refactor: strict types
* chore: clean code
* fix: types
- Added PlayerTabBar component to display active track in the tab bar
- Replaced FloatingBar with PlayerTabBar for consistent player controls
- Improved play/pause button with animated transitions
- Updated progress bar text styling with tabular numbers
- Refined DismissIndicator styling in player screen
Signed-off-by: Innei <tukon479@gmail.com>
- Created a new MediaCarousel component to handle multiple media types in a scrollable view
- Implemented dynamic indicator for multi-image carousels
- Refactored EntryGridItem to use the new MediaCarousel component
- Exposed PreviewImageProps interface for better type compatibility
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored EntryListContentGrid to use direct entry IDs instead of complex masonry item mapping
- Introduced EntryListContext to provide view type context
- Updated EntryGridItem to handle multiple media types and scrolling
- Simplified ViewPagerList to render a single view instead of multiple pages
- Removed unused pager view logic and simplified entry list rendering
Signed-off-by: Innei <tukon479@gmail.com>
Remove scroll-to-top atom and consolidate scroll-to-top logic into a new hook, improving component integration and reducing complexity
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- 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>
- Add onPreview callback to PreviewImage for custom actions during image preview
- Implement WebView entry setting when previewing an item in EntryGridItem
- Add fade-in animation to EntryGridItemAccessory for smoother UI transitions
Signed-off-by: Innei <tukon479@gmail.com>
- Enhance PreviewImage with optional Accessory component
- Update PreviewPageProvider to support rendering accessories in image preview
- Add noMedia prop to EntryContentWebView for selective media rendering
- Implement EntryGridItemAccessory to show entry details in image preview
- Update HTML renderer to support noMedia configuration
Signed-off-by: Innei <tukon479@gmail.com>
- Refactor EntryListContentGrid to dynamically render media items from entry store
- Update EntryGridItem to support image and video media types
- Modify viewable items hook to support custom ID extraction
- Add support for more flexible grid item rendering with type-specific content
Signed-off-by: Innei <tukon479@gmail.com>
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>
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>
Refactor image preview functionality into a centralized provider:
- Create PreviewImageProvider for managing image preview state
- Add advanced gesture handling for pinch, pan, and tap interactions
- Improve image loading with transition and recycling key
- Enhance user experience with smooth animations and interactions
Signed-off-by: Innei <tukon479@gmail.com>
Add a loading footer component to the EntryListContentGrid to show an ActivityIndicator when there are more entries to load. Update the component to use the hasNextPage flag from useFetchEntriesControls to conditionally render the loading indicator.
Signed-off-by: Innei <tukon479@gmail.com>
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>