Commit Graph
354 Commits
Author SHA1 Message Date
Whitewater 244aca2ad6 feat: implement audio seeking functionality (#4295)
* refactor: move timeStringToSeconds to utility function

* feat: add seekAudio functionality to bridge and implement timestamp handling in MarkdownLink

* feat: implement audio seeking functionality in EntryContentWebView

* feat: implement audio seeking functionality for iOS

* chore: clean code

* fix: audio seeking functionality for iOS
2025-08-01 23:43:30 +08:00
Innei b0af343c8a feat(settings): add option for independent content font size and presets
- Introduced `useDifferentFontSizeForContent` and `mobileContentFontSize` settings in UISettings.
- Updated Appearance screen to allow users to toggle and select content-specific font sizes.
- Added localization for new settings in English, Japanese, Simplified Chinese, and Traditional Chinese.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 17:52:43 +08:00
lawvs a45a4e367f fix: add disabled state handling to Select component on Android 2025-07-25 15:08:17 +08:00
lawvs 72462ac771 fix: replace Animated.Text with Text component in RelativeDateTime 2025-07-25 05:39:48 +08:00
Innei 6892c05d09 feat(mobile): support font scaling for web render
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 22:12:45 +08:00
lawvs 82e4f6f07d fix: adjust flex properties for GroupedInsetListCard component 2025-07-24 20:29:42 +08:00
Innei cd37104e15 fix(mobile): update Text component to support ref forwarding
- Modified Text component to accept a ref prop for better integration with React Native components.
- Updated NavigationLink to use the new ref type for improved type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 01:54:35 +08:00
Innei 38553bfa85 feat(mobile): support custom text size. resolves FOL-2297
- Updated PlayerScreen to use consistent import statements and improved structure.
- Refactored CoverArt component to enhance animation handling with Reanimated.
- Added typography specifications to typography.ts for better text management.
- Extended Tailwind configuration to include custom font sizes.
- Implemented font scaling options in settings localization files for accessibility.
- Added a script to replace Text imports from react-native with a new import path.
- Updated package dependencies for Babel and added glob for file handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 01:40:02 +08:00
Innei 8b76fa3623 chore: move lightbox location
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-23 21:30:01 +08:00
Stephen Zhou cd4593604b fix: typecheck 2025-07-21 17:40:22 +08:00
Whitewater d45e4bac06 refactor: simplify audio state handling (#4188)
* chore: allow pause audio when playing

* refactor: update PlayerAction props to use state instead of isPlaying and isLoading

* refactor: remove playingAudioUrl from EntryExtraData

* refactor: simplify audio state

* refactor: simplify audio state handling

* chore: review
2025-07-19 15:14:34 +08:00
Whitewater 48004b1a7a chore: remove deprecated Galeria modules and components (#4182) 2025-07-17 13:57:18 +08:00
Stephen Zhou 51a243eeea fix: toggle translation settings, close #4187 2025-07-16 21:02:57 +08:00
Stephen Zhou 18b7407534 fix(mobile): remove text in Logo 2025-07-15 18:18:03 +08:00
lawvs 42e6ff600b fix: replace TouchableOpacity with NativePressable for improved touch handling 2025-07-15 01:27:29 +08:00
Cason Kervis 0f9aa59d6b fix(icon): polished icon (#3956)
* fix(icon): reoptimized icon

* fix(compress): use svgo 4.0 compress

* fix: add svg title

* fix: update icon in Apps

* fix: update icon in ssr

* fix: optimize folo text svg

* fix: optimize two icon

* fix: optimize lots icons

- change viewbox to 24
- merge path

* fix: optimize many icon

* fix: update mobile icons define

* fix: optmize ArrowUndoCircle icon

* fix: compress using svgo

* fix: using icon in simple-icons

* fix: optimize one icon

* fix: change instapaper to vertical input

* revert mgc icon compress

* fix: fix style in ssr og

* fix: change rss icon and folo icon same size
2025-07-14 21:36:04 +08:00
lawvs 9a194e5964 fix: improve image performance 2025-07-14 16:54:16 +08:00
lawvs 672978ca25 fix: improve image size handling for Android, closes #4151 2025-07-14 05:03:33 +08:00
Innei 56a7593586 chore: update expo-image package to version 2.3.2 and remove iOS image loading workaround
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-11 22:09:26 +08:00
DIYgod f8ecaab2b9 fix: adjust blurRadius for iOS image rendering 2025-07-11 22:04:57 +08:00
DIYgod 4c8a174eef fix: ios image fuzzy 2025-07-11 22:00:20 +08:00
30bb37c7b9 feat: referral (#3761)
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
2025-07-10 09:47:11 +08:00
lawvs 79c9b05246 refactor: add PlayerAction component for video playback controls, close #3915 2025-07-10 04:48:19 +08:00
lawvs 777f4caba9 refactor: optimize the user experience of lightbox 2025-07-09 18:55:43 +08:00
lawvs 68f1d35b69 refactor: simplify MediaCarousel components 2025-07-08 01:04:34 +08:00
lawvs a9709a27c5 fix: update Galeria type definition 2025-07-07 17:44:55 +08:00
lawvs 9931e412e0 refactor: remove Galeria component on iOS 2025-07-07 16:54:43 +08:00
lawvs 8e0767c985 fix: option can not be press when out of screen in the FlatList 2025-07-06 00:26:48 +08:00
Whitewater 533850b03f fix: improved lightbox component for iOS (#4089)
* feat: replace Image component with ProxyImage for improved performance and styling

* fix: update Image component style prop

* fix: improved layout in ImageItem component

* feat: integrate animated ref for media preview in EntryPictureItem
2025-07-06 00:08:47 +08:00
Whitewater e9e67de25f feat: implement imperative modal (#4041)
* feat: implement ImperativeModalProvider with modal context and controls

* fix: make onClose prop optional for bottom modal

* chore: add ImperativeModalProvider to context providers

* feat: wrap BottomModal content in KeyboardAvoidingView for better keyboard handling

* chore: add polyfill for Promise.withResolvers

* fix: wrap ImperativeModal in a View and update onClose to accept modal ID

* feat: implement ImperativeModal with context and modal control hooks

* refactor: redesign imperative modal with root-siblings

* fix: wrap BottomModal in a View to resolve rendering issues on Android

* refactor: replace Alert.prompt with modalPrompt for category creation and renaming
2025-07-02 17:20:41 +00:00
Innei cfa1d9ff0a feat: add title-case package and use it for label formatting in GroupedList component
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:17:38 +08:00
Innei b4eb9200d8 feat(lightbox): enhance image viewing experience with save and share functionality
- Updated ImageDefaultHeader to include save and share buttons for the current image.
- Refactored ImageView to pass current image URI to the header.
- Cleaned up unused code and improved footer rendering logic.
- Updated Info.plist to reflect new app version.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 19:58:18 +08:00
Stephen Zhou 41482bccb3 refactor(mobile): clean set page logic 2025-06-30 15:18:59 +08:00
lawvs 93bdac19ca chore: tweak styles for separator in Select component 2025-06-26 15:45:01 +08:00
Whitewater 9251204f19 feat: add BottomModal and Select components for Android (#4010)
* feat: add BottomModal component

* feat: implement Select component with modal for Android
2025-06-26 03:29:03 +08:00
lawvs b87569eb04 fix: update content view class name in SafeNavigationScrollView usage 2025-06-24 16:58:03 +08:00
Whitewater 7afbc5958b refactor: image preview handling on iOS (#3995)
* refactor: use lightbox to preview image on iOS

* refactor: replace atom-based image preview event handling with EventBus

* refactor: replace NotificationCenter with Combine

* chore: clean code
2025-06-24 16:53:27 +08:00
lawvs cabe8e107d fix: tweak style for proper layout on Android 2025-06-24 00:03:37 +08:00
Whitewater 524ad05002 feat: enhance scroll interactions in TimelineSelector (#3952)
* feat: enhance PagerView onScroll event to include position parameter for iOS

* feat: add TimelineSelectorDragProgress context and provider for managing drag state

* feat: enhance TimelineViewSelector with drag progress and animated item transitions

* feat: integrate drag progress into PagerList and TimelineViewSelector for enhanced user interaction

* feat: add animated icon transitions in ViewItem based on drag progress

* fix: add scrollViewDidEndDecelerating to trigger onScrollEnd callback

* fix: enhance PagerList to synchronize drag progress with timeline selection
2025-06-19 07:17:27 +00:00
lawvs 102d8bfb6a fix: update GroupedInsetListCard style for improved android layout 2025-06-19 12:46:08 +08:00
lawvs f01baf9ba7 fix: enhance NativeWebView to handle window opening and improve URL parsing error handling 2025-06-19 12:17:36 +08:00
lawvs fa78bad335 fix: replace View with Animated.View for animations in ImageView component 2025-06-15 02:05:40 +08:00
lawvs e3f27dd7d3 fix: text shift in TextInput for android 2025-06-13 04:19:57 +08:00
Whitewater 547a4fdc96 feat(mobile): lightbox (#3882)
* feat(mobile): lightbox

* chore: auto-fix linting and formatting issues

* feat: enhance back handler to close lightbox when active

* feat: integrate Lightbox component and move SafeAreaProvider to RootProviders

* refactor: update renderItem function to use destructured props

* feat: add Android manifest plugin to enable large heap size

* fix: add rounded corners to AspectRatioImage

* feat: set priority to high for image loading in ImageItem component

* chore: remove unused zIndex from ImageViewing

* feat: update ImageDefaultHeader and LightboxFooter for improved layout

* chore: simplify renderItem function signature in PagerList and Subscriptions components

* refactor: update galeria

* chore: tweak component

* feat: integrate lightbox functionality for media previews
2025-06-12 13:52:07 +08:00
Innei 8c0a5be15c feat(profile): add social media icons and links to user header banner
- Introduced social media icons for platforms like GitHub, Twitter, YouTube, Discord, Instagram, and Facebook in the UserHeaderBanner component.
- Enhanced the UserHeaderBanner to display user bio, website, and social links dynamically.
- Updated database schema to include new fields for user profiles: bio, website, and social_links.
- Adjusted layout and styles for better presentation of user information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 19:11:31 +08:00
Innei 95616e2d6c feat(profile): enhance user profile editing capabilities
- Added fields for bio, website, and social media links to the EditProfileScreen.
- Updated database schema to include new fields for user profiles.
- Modified UserAvatar component to adjust font size dynamically.
- Expanded environment options in debug settings to include 'local'.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 18:35:20 +08:00
Stephen Zhou 784a95cff1 refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
DIYgod 6a51c8f341 feat(mobile): optimize rsshub form screen 2025-06-05 18:40:12 +08:00
DIYgod 9c3457a29e feat(mobile): rsshub routes sorting 2025-06-05 13:22:36 +08:00
DIYgod 6f437bf780 fix: bottom tabbar background on initial load (#3867) 2025-06-04 16:50:28 +08:00