Commit Graph
365 Commits
Author SHA1 Message Date
Innei 45b607d8fa fix(header): adjust header and banner styles for modal presentation
Updated the header and user banner components to conditionally adjust styles based on modal presentation state. The header now accounts for modal visibility when setting padding, and the user banner adjusts its margin and padding accordingly to enhance layout consistency in modal views.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-03 22:42:31 +08:00
Innei c221cb3691 fix: remap prop setting -> enabled
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 01:41:41 +08:00
DIYgod 8757e5a2ef fix: prettier tailwindcss classname sorting 2025-10-21 16:49:19 +08:00
Innei d0b148b101 refactor(mobile): update header height calculations for improved layout
- Refactored the `getDefaultHeaderHeight` function calls across multiple components to accept an object with properties for landscape orientation, modal presentation, and top inset. This change enhances the clarity and maintainability of the header height calculations.
- Updated components including `NavigationHeader`, `SafeNavigationScrollView`, `ProfileScreen`, and `Settings` to utilize the new function signature, ensuring consistent header height behavior across the mobile application.

These changes aim to improve the layout responsiveness and maintainability of the mobile app's header components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 23:59:07 +08:00
Innei 822d6b0417 feat(mobile): integrate expo-glass-effect for enhanced blur effects
- Added the `expo-glass-effect` package to `package.json` to enable glass effect features.
- Updated `BlurEffect` and `ThemedBlurView` components to conditionally render a glass effect on iOS 26 devices.
- Introduced `GlassPlayerTabBar` component for improved tab bar aesthetics and functionality.
- Enhanced `PlayerAction` component to utilize the new glass effect in its UI.

These changes aim to improve the visual experience of the mobile application by incorporating modern UI effects.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 23:53:37 +08:00
Innei 2a90db2d1f feat(mobile): implement NativeTabBarHolder for dynamic tab bar height adjustment
- Added the `NativeTabBarHolder` component to manage the height of the bottom tab bar based on safe area insets, ensuring proper layout on iOS devices.
- Updated the `ReactNativeTab` component to render `NativeTabBarHolder` when conditions are met, enhancing the user interface for iPad and iPhone users.
- Utilized `useLayoutEffect` to adjust the tab bar height dynamically, improving the overall user experience in the mobile app.

These changes aim to provide a more responsive and visually appealing tab bar layout in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 22:41:59 +08:00
Innei 04f20e4431 fix: type error
- Created a new .watchmanconfig file to specify directories to ignore during file watching, enhancing performance and reducing unnecessary processing.
- Modified the Xcode project configuration to clean up output paths and ensure proper handling of build flags.
- Updated BottomTabProvider to use ResolvedTabScreenProps for better type safety.
- Adjusted spring configurations in various components for improved animation performance.
- Added Eye2CuteReIcon to EntryDetailScreen for enhanced user interface.

These changes aim to optimize the development workflow and improve the overall user experience in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-23 00:27:51 +08:00
Innei 866abbef20 feat(sentry): integrate Sentry for error tracking and monitoring
- Added Sentry for error reporting in the mobile application.
- Updated the app configuration to initialize Sentry with the necessary DSN and settings.
- Replaced Firebase Crashlytics with Sentry for error capturing in the ErrorBoundary component.
- Updated various workflows to include Sentry authentication token.
- Adjusted dependencies to use React Native version 0.79.6 and updated related packages.

This integration enhances the application's ability to track and manage errors effectively.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-22 23:12:11 +08:00
Innei a9d5cbd519 feat(ios): support liquid glass tabbar
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-22 22:07:59 +08:00
lawvs c647f11c59 fix(mobile): update injected js on Android 2025-08-27 16:37:40 +08:00
Innei a9bb77167e refactor(webview): ios preload webview module
- Refactored WebViewManager to improve lifecycle management and state handling.
- Introduced a debug panel for monitoring WebView state and actions in development mode.
- Updated JavaScript injection methods to use a centralized dispatch system for better maintainability.
- Improved handling of local HTML loading and state replay after process termination.
- Added new functions for debugging, including state retrieval and flushing pending scripts.

This update aims to enhance the overall performance and usability of the WebView component, providing developers with better tools for debugging and state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-26 22:20:57 +08:00
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