Commit Graph
411 Commits
Author SHA1 Message Date
Stephen Zhou 09ccd39496 fix(mobile): read state not updated after mark view as read (#2875) 2025-02-24 15:30:37 +00:00
Innei 150fbf7bac refactor(mobile): remove deprecated profile screen and update navigation
- Remove ProfileScreen from settings routes
- Comment out profile-related navigation links
- Add profile route to modal layout
- Update HomeLeftAction to use expo-router for profile navigation

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 23:23:46 +08:00
Innei fce03fe977 feat(mobile): enhance dialog system with dynamic actions and improved header
- Refactor dialog library to support dynamic button actions
- Add support for custom header components and icons
- Improve AddFeedDialog layout and interaction
- Implement MarkAllAsReadDialog integration in home screen actions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 23:05:32 +08:00
Stephen Zhou c7256cb331 fix(mobile): svg circle support (#2874) 2025-02-24 14:58:50 +00:00
Innei ea1c666bcd feat(mobile): enhance dialog system and UI interactions
- Add new dialog library for flexible modal interactions
- Implement AddFeedDialog with improved UX
- Update Tabbar and Pressable components with smoother animations
- Remove RootSiblingParent from main component
- Upgrade react-native-uikit-colors to v0.3.8
- Introduce ScaleFadeRotateIn animation for consistent UI transitions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 22:27:14 +08:00
DIYgod 270e3bee76 chore: regenerate eas.json 2025-02-24 22:09:38 +08:00
Innei 956d9dfd1e feat(mobile): add titles and improve navigation screen configurations
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 20:47:53 +08:00
Innei 1d62245f4b feat(mobile): add add feed button to discover header
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 19:47:15 +08:00
Innei 5e53dd4927 feat(mobile): improve debug button with gesture handling and persistent position
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 19:43:09 +08:00
Whitewater 8a0049dc15 fix(mobile): revert ref bind for nav scroll view ref (#2856) 2025-02-23 21:38:33 +08:00
Whitewater 5a3825e36d refactor(mobile): remove legacy scroll-to-top (#2855) 2025-02-23 16:09:54 +08:00
Innei 3b5fb5febe fix(mobile): disable scroll-to-top for timeline view selector
- Disabled scroll-to-top behavior for horizontal ScrollView in TimelineViewSelector
- Prevents unintended scrolling when tapping the status bar

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-23 15:45:41 +08:00
Innei 79631bbcbc fix(mobile): remove shadow from PlayerTabBar
- Removed shadow styling from PlayerTabBar component
- Simplified tab bar appearance by eliminating unnecessary shadow effect

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-22 15:51:35 +08:00
Innei 577f07f85e feat(mobile): enhance player UI with floating tab bar and control improvements
- 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>
2025-02-21 23:11:10 +08:00
Innei 48461f15e6 feat(mobile): add reusable MediaCarousel component
- 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>
2025-02-21 22:46:00 +08:00
Innei ae89d8d716 refactor(mobile): simplify entry list rendering and context management
- 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>
2025-02-21 21:48:02 +08:00
Innei c4c9ceb385 refactor(mobile): simplify scroll-to-top implementation
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>
2025-02-21 20:32:50 +08:00
Stephen Zhou 15e3e1c27f refactor(entries): remove isArchived parameter from entry fetching logic (#2836) 2025-02-21 17:07:51 +08:00
Innei 8dbb6343fb feat(mobile): add native iOS toast module with SPIndicator
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-21 16:52:24 +08:00
Stephen Zhou c0afb39788 feat(mobile): render as read (#2835) 2025-02-21 02:37:22 +00:00
Stephen Zhou cc51d861c9 fix(mobile): auth redirect and 2fa support (#2829) 2025-02-21 02:27:44 +00:00
Whitewater 9b3439f711 feat(mobile): implement scroll-to-top functionality (#2831)
* refactor(mobile): wrap entry list components to forward refs

* feat(mobile): implement scroll-to-top functionality

* fix: cast ref types in TimelineSelectorMasonryList

* chore: ensure proper cleanup in useScrollToTopRef hook
2025-02-21 03:45:07 +08:00
Innei 9c720a7d8c feat(mobile): enhance tab bar icon and label animations
- Implemented new TabIcon and TextLabel components for improved tab bar interactions
- Added fade and color interpolation animations for tab icons and labels
- Extracted icon and label rendering logic from main Tabbar component
- Introduced new animation configurations for tab bar elements

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 23:53:16 +08:00
Innei 761e7d5333 refactor(mobile): enhance navigation scroll view and tab bar interactions
- 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>
2025-02-20 23:13:23 +08:00
Innei ea374cb30c refactor(mobile): improve bottom tab bar and related components
- 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>
2025-02-20 22:31:39 +08:00
Stephen Zhou 8e2dfe99c8 feat(mobile): audio player (#2801) 2025-02-20 20:40:44 +08:00
Stephen Zhou bd476807e5 refactor(native): remove sn pro font (#2828) 2025-02-20 20:31:26 +08:00
DIYgod 5b6dbd2a6d fix: types 2025-02-20 11:29:29 +08:00
DIYgod 79b4703026 feat(mobile): deletion button 2025-02-20 10:49:52 +08:00
Stephen Zhou 6b991d379e fix(mobile): svg background transparent (#2820) 2025-02-20 02:01:37 +00:00
DIYgod 995b269260 fix: rn-micro-web-app build (#2816) 2025-02-19 22:34:45 +08:00
Innei 63e6a30d83 refactor(mobile): Update TimelineViewSelector context menu handling
- Modify TimelineViewSelector to pass view-specific context menu props
- Adjust TimelineViewSelectorContextMenu to handle undefined viewId more precisely
- Simplify context menu rendering logic for view-based timelines

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 21:44:29 +08:00
Innei 0d219a5a28 chore(mobile): Configure CI environment for build and asset handling
- Add CI environment variable to GitHub Actions workflow for iOS build
- Update app configuration to use CI-specific asset paths
- Modify Vite configuration for HTML renderer to support CI build output

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 21:37:06 +08:00
Innei 5d340ec0ca feat(mobile/html-renderer): Add WrappedElementProvider for dynamic element tracking
- Introduce WrappedElementProvider to track element size and position
- Create ProviderComposer for composing multiple context providers
- Add hooks for accessing wrapped element details
- Update HTML component to use new provider
- Enhance image rendering with dynamic width calculation

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 21:23:18 +08:00
Innei ba0c9119dc refactor(mobile): Replace TimelineSelectorHeader with TimelineSelectorProvider
- Remove TimelineSelectorHeader component
- Introduce TimelineSelectorProvider to manage timeline context
- Update entry list, subscriptions, and feed screens to use new provider
- Simplify component structure and improve context management

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 20:29:42 +08:00
Innei bdff613867 feat(mobile): Enhance PreviewImage and EntryGridItem with interactive preview and animation
- 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>
2025-02-19 20:12:43 +08:00
Innei 9113c0a2e5 feat(mobile): Add media preview accessories and no-media rendering support
- 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>
2025-02-19 20:07:48 +08:00
Innei 27818f6559 feat(mobile): Enhance grid view with dynamic media rendering and improved item handling
- 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>
2025-02-19 19:26:05 +08:00
Innei b412798958 refactor(mobile): Simplify EntryListSelector and ViewPagerList component structure
Move TimelineSelectorHeader to wrap ViewPagerList and remove redundant wrapping in EntryListSelector

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 18:48:44 +08:00
DIYgod 2130af1079 chore: fix dependencies 2025-02-19 17:09:00 +08:00
DIYgod 9c269e0ee9 chore: fix nativewind config 2025-02-19 16:56:03 +08:00
DIYgod 4512819bf5 chore: fix dependencies 2025-02-19 16:51:54 +08:00
DIYgod ac64569da0 chore: fix test 2025-02-19 16:08:16 +08:00
DIYgod 94b4129eb8 fix: format 2025-02-19 15:55:13 +08:00
DIYgod 36ea29ae7d chore: update dependencies 2025-02-19 15:27:20 +08:00
Whitewater 714a933361 feat(mobile): refactor EntryList to use pager view (#2802)
* feat(mobile): refactor EntryList to use pager view

* chore: clean code
2025-02-19 02:10:47 +08:00
Innei b31705b546 feat(ui): Improve triangle menu interaction with configurable delay
Enhance triangle menu behavior by:
- Adding configurable open delay to useTriangleMenu hook
- Implementing timeout mechanism for smoother menu interactions
- Fixing timer management and state updates in menu trigger logic

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 23:32:10 +08:00
Innei 03f92a51b2 feat(mobile): Add image context menu with save, copy, and share actions
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>
2025-02-18 23:26:28 +08:00
Innei 47b1072993 feat(mobile): Add hide no media item feature for picture view
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>
2025-02-18 20:17:20 +08:00
Innei 053517db63 feat(mobile): Add image headers for cross-origin image loading
Enhance image loading across multiple components by:
- Importing `getImageHeaders` utility function
- Adding custom headers to image sources to resolve cross-origin issues
- Improving image rendering with transition and recycling key support

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 17:42:18 +08:00