Commit Graph
1542 Commits
Author SHA1 Message Date
Konv Suu 0487034edd feat(select): add itemClassName prop for customizable item styling (#2793)
* feat(select): add itemClassName prop for customizable item styling

* update

* udpate
2025-02-18 13:42:17 +08:00
Innei 640bbf1c74 fix(ui): Correct triangle menu and layout positioning logic
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>
2025-02-18 13:26:26 +08:00
IzumiMasaharuandWhitewater afbea643e6 fix: Resolved the issue of being unable to reset it to empty after using the proxy. (#2788)
* Update proxy.ts

* Update next.md

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Whitewater <me@waterwater.moe>
2025-02-18 13:05:05 +08:00
Whitewater c251aeaf65 feat(mobile): implement collection entry list (#2787)
* feat(mobile): implement collection entry list

* refactor(mobile): update entry item skeleton
2025-02-18 02:04:23 +08:00
Stephen Zhou f226de53ab fix(mobile): can not load native module (#2791) 2025-02-17 23:59:40 +08:00
Innei 22ac1be1a5 feat(mobile): add loading indicator for infinite scroll in entry list
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>
2025-02-17 23:46:21 +08:00
Innei 1d4e37e35a feat(mobile): add preview image component with advanced gesture handling
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>
2025-02-17 23:42:10 +08:00
Stephen Zhou c8f580c0a1 feat(mobile): auto mark as read when scrolling (#2781)
* 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
2025-02-17 13:16:37 +00:00
Innei a52798729e feat(mobile): improve entry list and detail view with UI refinements
- 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>
2025-02-17 20:16:23 +08:00
Innei c3e2ea6921 feat(timeline): enhance timeline selector panel with close button and conditional rendering
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>
2025-02-17 17:57:16 +08:00
Innei befd15ea22 refactor(timeline): improve timeline selector panel interaction with triangle menu
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>
2025-02-17 17:31:35 +08:00
Innei e0292fa44d feat(timeline): add advanced timeline selector panel with quick navigation
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 17:12:45 +08:00
Stephen Zhou b397dc0658 fix(mobile): use the right import path for feed atom (#2779) 2025-02-17 07:47:51 +00:00
Stephen Zhou fc70859fe9 refactor(mobile): remove load archived entries button (#2774) 2025-02-17 14:50:55 +08:00
Konv Suu 4295decfa9 feat(profile): enhance email management and avatar fallback for better mobile support (#2776) 2025-02-17 12:23:44 +08:00
Konv Suu c7b151394a feat(mobile): add triggerAsChild prop to EntryReadHistory component (#2773) 2025-02-17 11:09:26 +08:00
Stephen Zhou fad9f944d5 fix(mobile): unread style not working, bring views back (#2765) 2025-02-16 10:12:12 +00:00
Whitewater 34648a366d chore(mobile): display feed title in entry item (#2756)
* fix: correct spelling of RelativeDateTime

* chore: display feed title in entry item

* feat(mobile): add feed icon to entry item display
2025-02-15 19:01:43 +08:00
DIYgod f44b1a5604 feat: optimize unread indicator styles 2025-02-14 21:56:13 +08:00
Innei d1612131aa fix(timeline): stabilize timeline ID handling with memoized state
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>
2025-02-14 21:48:24 +08:00
Innei 665cf95afb feat(mobile): add feed or rsshub feed
- 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>
2025-02-14 21:31:17 +08:00
Innei 9a32c87e02 refactor(mobile): enhance social timeline entry item layout and interactions
- 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>
2025-02-14 20:21:25 +08:00
DIYgod 2de63b04d0 feat: remove nightly build 2025-02-14 20:05:27 +08:00
Innei ac06382d79 refactor(mobile): rename ItemPressable component and update imports
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>
2025-02-14 20:03:18 +08:00
Innei 4095462f34 refactor(mobile): replace icons with UserAvatar and update tab layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 19:42:08 +08:00
Whitewater 15232f6b59 chore: update social timeline (#2752)
* feat: add unread indicator animation

* feat: enable image preview on press in social timeline
2025-02-14 18:36:11 +08:00
Innei 63a1774635 refactor: reorganize html-renderer project structure and imports
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>
2025-02-14 17:30:11 +08:00
Innei 62fea74c24 refactor: replace cn utility with clsx and update imports
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 17:26:42 +08:00
DIYgod 29f48e3918 feat: timeline selector onWheel 2025-02-14 10:46:14 +08:00
DIYgod 9fb0affd82 feat: revert notifications and audio list styles 2025-02-14 10:29:59 +08:00
Stephen Zhou aff54864af Revert "refactor: merge audio item layout (#2722)" (#2745)
This reverts commit e8e385105a.
2025-02-14 01:11:28 +00:00
WhitewaterandStephen Zhou 903b98953a feat(mobile): add social entry list component (#2733)
* refactor(mobile): extract entry list article component

* feat(mobile): add social entry list component

* fix: lint

* chore: typo

* refactor(mobile): replace FlashList with TimelineSelectorList

* chore: auto-fix linting and formatting issues

* refactor(mobile): extract ItemSeparator component

* chore: add diff

* fix: merge

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-02-14 00:02:14 +08:00
DIYgod c475ecd400 feat: timeline button width 2025-02-13 22:59:37 +08:00
DIYgod 4303da22e1 feat: revert view merge, hide unused view 2025-02-13 22:59:37 +08:00
Innei baf1af5f99 feat(mobile): add context menu and animated text for timeline view selector
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 22:55:16 +08:00
Innei 710ae5da7a refactor(mobile): reorganize timeline selector components and imports
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 22:41:14 +08:00
Innei 8703a0d503 feat(mobile): add animated unread indicator for entries
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 22:23:46 +08:00
Innei fcdf4df5b2 chore: add eas build ci (#2741)
* eas build

Signed-off-by: Innei <tukon479@gmail.com>

* fix pnpm

Signed-off-by: Innei <tukon479@gmail.com>

* fix

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 21:56:24 +08:00
Stephen Zhou ddd6a2c8cd feat(mobile): unread state for entry (#2730)
* 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
2025-02-13 18:51:39 +08:00
DIYgod 614c9b70b5 feat: update updater channel 2025-02-13 18:08:40 +08:00
DIYgod 8963f222cb fix: missing icon 2025-02-13 17:37:58 +08:00
DIYgod 3f01ce87fa feat: optimize translation display 2025-02-13 17:35:17 +08:00
DIYgod 676e8bc55b feat: subscription list; TimelineSelectorHeader and TimelineSelectorList components 2025-02-13 13:58:46 +08:00
Stephen Zhou 1327f5671c fix(mobile): context menu crash when released too quickly (#2732) 2025-02-12 22:34:03 +08:00
Innei bc252c33a0 refactor(mobile): improve AI summary component and remove unused assets
- 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>
2025-02-12 20:42:01 +08:00
Innei f5c4d35c6c feat(mobile): add AI summary generation for entries
- 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>
2025-02-12 18:11:42 +08:00
DIYgod 39ca541fc5 fix: types 2025-02-12 16:56:05 +08:00
DIYgod 36f7767b56 feat: update icons 2025-02-12 16:52:03 +08:00
Whitewater dea3380beb fix(mobile): update types and star entry with view (#2728) 2025-02-12 16:17:06 +08:00
Innei 60a2b9cad5 refactor(mobile): improve view selector and tab layout components
- 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>
2025-02-12 15:49:51 +08:00