Refactored coordinate calculations in triangle menu interaction:
- Reordered point parameters in `isPointInTriangle` function
- Adjusted trigger and panel rectangle coordinate references
- Modified margin classes for better layout spacing
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>
* feat(mobile): auto mark as read when scrolling
* reset unread state after fetch
* refetch with subscription and unread
* chore: auto-fix linting and formatting issues
* chore: trigger build
- Enhance social media entry list with dynamic text expansion and "See more" option
- Update entry detail view to support social media view type
- Adjust unread indicator and pressable styles
- Add social media specific title and info components
- Refactor settings screen with improved section organization
Signed-off-by: Innei <tukon479@gmail.com>
Add close button to timeline selector panel and implement conditional rendering based on timeline column visibility. Improve panel header layout and interaction.
Signed-off-by: Innei <tukon479@gmail.com>
Implement a more sophisticated mouse tracking mechanism for the timeline selector panel, using a triangle-based approach to determine when to open and close the panel. Replace previous Jotai-based state management with a custom hook that tracks mouse movement and provides a more intuitive panel interaction.
Signed-off-by: Innei <tukon479@gmail.com>
Introduce a memoized state for timelineId to ensure consistent rendering and prevent potential race conditions when route parameters change dynamically.
Signed-off-by: Innei <tukon479@gmail.com>
- Add multiple new SVG icons in the mobile app's icons directory
- Create a new Overlay component in the UI components
- Update search module and other related components
- Refactor and clean up various mobile app files
Signed-off-by: Innei <tukon479@gmail.com>
- Update EntryItem component with improved styling and user interactions
- Add UserAvatar and RelativeDateTime components
- Adjust layout for author information and entry description
- Implement navigation to feed page on avatar press
Signed-off-by: Innei <tukon479@gmail.com>
Rename `item-pressable.tsx` to `ItemPressable.tsx` and update all import references across the mobile app to maintain consistent file naming conventions.
Signed-off-by: Innei <tukon479@gmail.com>
This commit includes several structural changes:
- Added Vite alias for `~` to simplify imports
- Moved atoms and hooks into `src` directory
- Updated import paths across components
- Removed unused hooks and files
Signed-off-by: Innei <tukon479@gmail.com>
* feat: unread state for entry
* mark feed as read
* fix type
* feat: mark as read when entering entry detail
* prefetch unread
* show unread count for view
* fix: use feed subscription for view unread count
* fix: clean not exist subscriptions
* Pre fetch subscriptions in advance
* fix: add entry ids to list
- Remove Media.xcassets and Accent color set
- Update Utils.swift to hardcode accent color
- Enhance AISummary component with error handling and retry functionality
- Adjust layout and styling for AI summary
- Update image size calculation to handle undefined dimensions
Signed-off-by: Innei <tukon479@gmail.com>
- Implement AI summary feature for entry details
- Add summaries table to database schema
- Create summary service and store for managing summaries
- Introduce new components for displaying AI-generated summaries
- Add header actions for generating and toggling summaries
- Integrate with API for summary generation
Signed-off-by: Innei <tukon479@gmail.com>
- Replace PlatformPressable with Pressable in tab layout
- Add separator between views and lists in view selector
- Use ReAnimatedTouchableOpacity and useAnimatedStyle
- Simplify color and styling imports
Signed-off-by: Innei <tukon479@gmail.com>