Commit Graph
392 Commits
Author SHA1 Message Date
DIYgod c144c36baa fix(mobile): restore scrolled header background 2026-07-11 09:05:16 +08:00
DIYgod 1158281f59 chore(deps): update frontend dependencies (#5038)
* chore(deps): update frontend dependencies

* fix(ci): format OTA verification commands
2026-07-10 22:36:12 +08:00
DIYgod d8a7e10f4c fix(mobile): align expo sdk 55 build deps 2026-04-15 08:39:04 +08:00
DIYgod 59fe06bd20 fix(ci): harden isolated workspace dependency resolution 2026-04-14 16:35:39 +08:00
DIYgod f77ac26541 feat(mobile): upgrade expo sdk 55 and rnfirebase 2026-04-10 22:42:21 +08:00
DIYgod ad1cf02cd7 feat(mobile): add streaming tts playback 2026-04-10 20:44:09 +08:00
DIYgod f6cdb64186 feat: add spotlight settings across desktop and mobile 2026-04-09 13:45:05 +08:00
DIYgod e8619436c7 feat: refine spotlight settings and highlighting 2026-04-09 13:45:05 +08:00
Luke D Williams 01dcb2985e fix(mobile): preserve pitch for Android video playback (#4940) 2026-04-02 21:00:25 +08:00
DIYgod a2a88d9fd4 fix(mobile): improve ipad layouts and detail rendering 2026-03-13 13:20:31 +08:00
DIYgod cfb23ad15d fix(mobile): polish settings and discover ui (#4913) 2026-03-12 14:31:33 +08:00
DIYgod f78d7e766b feat(mobile): support anonymous timeline reading (#4911) 2026-03-12 11:29:45 +08:00
DIYgod 65c18693da fix(mobile): avoid android modal header overlap (#4907) 2026-03-11 11:43:41 +08:00
DIYgod 93e4a3b48f feat: add cross-platform e2e coverage (#4901)
* feat: add cross-platform e2e coverage

* fix: stabilize desktop e2e navigation

* fix: harden desktop e2e read flow

* fix: harden desktop e2e auth and follow flows

* fix: stabilize desktop e2e discover entry flows

* fix: run android e2e in a single shell

* fix: speed up mobile e2e builds in ci

* fix: build android e2e app from mobile workspace

* fix: invoke android gradle build from repo root

* fix: use absolute path for android ci build

* fix: restore android eas build in ci

* fix: target iOS simulator by udid in ci

* fix: align desktop e2e with discover card flow

* fix: reorder web e2e after relogin

* fix: navigate web e2e via real hash url

* fix: close stale settings modal before reopening

* fix: track android maestro flows

* fix: wait for settings router in web e2e

* fix: wait for web settings sync propagation

* fix: stabilize desktop e2e settings flows

* fix: harden desktop e2e regressions

* fix: stabilize desktop e2e selectors

* fix: read desktop entry state from locators

* fix: relax desktop e2e entry assertions

* fix: avoid waiting on missing desktop feed ids
2026-03-10 11:32:00 +08:00
DIYgod b548f5a39c Merge remote-tracking branch 'origin/mobile-main' into release/mobile/0.3.0
# Conflicts:
#	apps/desktop/layer/main/src/updater/custom-github-provider.ts
#	apps/desktop/layer/renderer/src/modules/achievement/AchievementModalContent.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/EntrySubscriptionItem.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/components/EntryPlaneToolbar.tsx
#	apps/desktop/layer/renderer/src/modules/entry-column/components/EntrySubscriptionSkeleton.tsx
#	apps/desktop/layer/renderer/src/modules/entry-content/EntryContent.legacy.tsx
#	apps/desktop/layer/renderer/src/modules/new-user-guide/guide-modal-content.tsx
#	apps/desktop/layer/renderer/src/modules/settings/tabs/invitations.tsx
#	apps/desktop/layer/renderer/src/modules/settings/tabs/referral.tsx
#	apps/desktop/layer/renderer/src/modules/wallet/level.tsx
#	apps/mobile/src/modules/login/referral.tsx
#	apps/mobile/src/modules/settings/routes/Invitations.tsx
#	apps/mobile/src/modules/settings/routes/Referral.tsx
#	apps/mobile/src/screens/(modal)/InvitationScreen.tsx
2026-02-18 23:53:40 +08:00
DIYgod 0da9f2098e feat: migrate desktop/mobile error tracking to posthog (#4858)
* feat: migrate desktop and mobile error tracking to PostHog

* fix(mobile): remove unsupported tab bar minimize API

* Revert "fix(mobile): remove unsupported tab bar minimize API"

This reverts commit e234dda51257dc6810f0f78e06ee918adf2214b0.
2026-02-18 23:16:00 +08:00
DIYgod 6db0b452f6 fix(mobile): align header height with safe area inset (#4850)
* fix(mobile): use safe area inset for header height

* fix(mobile): reset timeline on view switch
2026-02-15 11:56:13 +08:00
DIYgod 7c80dab193 fix: mobile full audit for UI consistency and stability (#4849)
* fix(mobile): complete full mobile audit improvements

* chore: remove mobile audit planning artifacts

* fix(mobile): stabilize editable row keys in settings actions
2026-02-15 10:18:09 +08:00
DIYgod 4f80c47250 style(mobile): rebalance typography sizes (#4848) 2026-02-14 21:20:28 +08:00
DIYgodandClaude Haiku 4.5 87784b2246 fix(mobile): migrate SwipeableItem to ReanimatedSwipeable and upgrade react-native-css-interop (#4846)
- Replace deprecated Swipeable (old API) with ReanimatedSwipeable (new API with Reanimated integration)
- Migrate from React Native Animated to react-native-reanimated for animations
- Extract LeftActionItem component to properly use useAnimatedStyle hook
- Update renderRightActions to use SharedValue translation for detecting swipe-right-to-call-action
- Replace RN Animated.AnimatedInterpolation with Reanimated's interpolate function
- Use useAnimatedReaction to monitor translation.value and trigger haptic feedback
- Upgrade react-native-css-interop from 0.1.22 to 0.2.1 (removes outdated React 19 compatibility issue)

Fixes React 19 + React Native 0.81 compatibility issues with gesture handler and animation APIs.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-14 20:36:34 +08:00
DIYgodandClaude Haiku 4.5 56263d229b fix(mobile): fix Crashlytics crash issues affecting 101+ users (#4845)
- Fix iOS WebViewState initialization on non-main thread
- Fix iOS SecureStore background access failures in auth/env setup
- Fix Android TrackPlayer ForegroundService crash with AppState check
- Fix Android TabBar event handler null reference crashes
- Fix iOS BackgroundTask handler registration timing
- Fix Android VideoView state management during fullscreen
- Fix DatabaseSource stream state before enqueue operation

Addresses 8 critical Crashlytics issues across iOS and Android:
- iOS WebView main thread: 22 users
- iOS SecureStore background: 18 users
- Android ForegroundService: 26 users
- Android TabPress null ref: 12 users
- Android VideoView not found: 6 users
- Stream enqueue race: 7 users
- iOS BackgroundTask handler: 2 users
+ improvements to error handling and recovery paths

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-14 19:53:53 +08:00
DIYgod 992e5ce3ea fix(mobile): upgrade Expo SDK54 and fix iOS sqlite startup crash (#4841)
* fix(mobile): stabilize Expo SDK54 startup and sqlite migration

* fix(ci): resolve mobile typecheck and desktop release failures

* fix(ci): format files failing prettier check

* fix(ci): align drizzle and mobile menu dependency resolution

* fix(mobile): align react versions for lint

* fix(mobile): upgrade react-native-menu

* fix(mobile): patch track-player android build
2026-02-14 09:35:25 +08:00
01da257c90 feat(i18n): merge #4597/#4774 and complete localization audit (#4839)
* chore: Update Japanese translations for new features and errors

Added and updated multiple Japanese locale strings across AI, app, errors, external, settings, and shortcuts modules. Changes include new labels, descriptions, error messages, and UI text for features such as scheduling, token usage, inbox management, toolbar customization, and quick search.

* Add Japanese README documentation

Introduces README-ja.md with comprehensive information about Folo, including features, installation instructions, community links, contribution guidelines, code signing policies, and license details for Japanese-speaking users.

* Update formatting in Japanese README

Corrected the admonition marker from '[!重要]' to '[!IMPORTANT]' for consistency and made minor formatting adjustments in the README-ja.md file.

* Update community section in Japanese README

Revised wording and formatting in the community participation section of README-ja.md for improved clarity and consistency.

* Remove Japanese README file

Deleted README-ja.md to reduce duplication or outdated documentation. All relevant information should now be referenced from the main README or other documentation files.

* feat: add French (fr-FR) localization

* fix: sort imports in default-resource.ts to resolve lint error

* feat: add missing French translations for mobile/default, native, and external locales

* feat: add French language filter to discovery/recommended feeds

* docs: update changelog for French localization

* feat(i18n): merge PR #4597/#4774 and finish localization audit

---------

Co-authored-by: dai <dosada@gmail.com>
Co-authored-by: Anthony Mahé <snpepito@gmail.com>
Co-authored-by: Anthony Mahé <104373430+AnthonyMahe@users.noreply.github.com>
2026-02-13 09:25:08 +00:00
DIYgod 0859f56ad4 chore: update workspace dependencies and lockfile (#4838)
* chore: update workspace dependencies

- bump dependencies across desktop, mobile, ssr, and internal packages

- refresh pnpm lockfile

- apply type compatibility fixes required by upgraded packages

* fix(ssr): prevent tsdown CI warning from failing build

- set inlineOnly to false in tsdown config

* style: format files for CI prettier check

- apply prettier formatting to files reported by format:check

* fix(mobile): downgrade reanimated for rn 0.79 ios build
2026-02-13 16:04:13 +08:00
Stephen Zhou f207cc328d feat: secure image proxy in plan 2025-11-19 21:54:29 +08:00
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 8db25e6157 Merge remote-tracking branch 'origin/dev' into mobile-main
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 14:59:18 +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 87ea8b7a20 feat(tabbar): add TabBarBottomAccessoryModule and enhance TabBarRootView
- Introduced `TabBarBottomAccessoryModule` to provide a new bottom accessory view for the tab bar.
- Updated `TabBarRootView` to utilize a custom tab bar controller, improving the management of the tab bar's visibility and behavior.
- Refactored `UIWindow` extension methods for better readability and structure.
- Enhanced `expo-module.config.json` to include the new module and improved formatting for better clarity.

These changes aim to enhance the tab bar functionality and improve the overall user interface experience in the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-25 23:06:51 +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