Commit Graph

3435 Commits

Author SHA1 Message Date
DIYgod 71bddca2e8
chore: disbale prettier objectWrap 2025-02-20 18:03:18 +08:00
DIYgod c4422a57e1
chore: profile input (#2827) 2025-02-20 17:43:17 +08:00
Konv Suu 5a5716470f
refactor(timeline): simplify timeline view rendering (#2819) 2025-02-20 15:57:27 +08:00
cnk e73eb540ed
fix(listEntryCover): fix the cover mistakely render as audio (#2813)
- add cross-env for better windows dev experience
2025-02-20 15:56:45 +08:00
Innei 033b0748c7
chore(release): release v0.3.6 2025-02-20 15:55:33 +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 6fb4d7c5e9
chore(vite): Remove unused chalk import and simplify build type logging
- Replace chalk.green with kolorist's green function
- Remove unnecessary chalk import
- Maintain existing build type logging functionality

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 22:18:51 +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
DIYgod 7ccea72707
chore: fix dependencies 2025-02-19 19:03:30 +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 277e27cadc
chore: update pnpm lock 2025-02-19 17:12:37 +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
Innei b276de9655
feat(ui): Add quick timeline selector with improved menu interaction
Enhance timeline column with a new quick selector feature:
- Implement dynamic panel rendering with smooth animations
- Improve triangle menu interaction with configurable delay
- Add trigger area for better user experience

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 14:08:27 +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
DIYgod e40acd8237
docs: update slogan 2025-02-18 21:03:58 +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
DIYgod 878ca93b50
fix: eas build (#2798)
* feat: change eas profile

* chore: use self-hosted runner

* chore: use self-hosted runner

* chore: use self-hosted runner

* chore: revert self hosted runner
2025-02-18 18:05:30 +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
Innei 113c4045b7
feat(mobile): Implement global image preview with advanced gestures
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>
2025-02-18 17:26:50 +08:00
Innei 9d8ac3021d
feat(auth): Enhance login provider icons with custom styling
Add custom text color classes for GitHub and Apple login providers to improve visual consistency across dark and light modes

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 16:37:16 +08:00
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
IzumiMasaharu 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
DIYgod 9a70853281
chore: add timeout_minutes to retry 2025-02-18 11:22:48 +08:00
DIYgod 7ae7c89b96
chore: macos build with retry 2025-02-18 11:20:05 +08:00
DIYgod 5313795be4
feat: disable EnableCookieEncryption (#2796) 2025-02-18 11:00:49 +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