Commit Graph
3817 Commits
Author SHA1 Message Date
Stephen Zhou c2d5e977ff fix: do not decode cookie (#3196) 2025-03-20 10:04:51 +08:00
DIYgod 781ee5535d feat: x-mas header 2025-03-20 10:03:05 +08:00
Innei f21b9e7bf0 refactor: replace @react-navigation and expo-router (#3151)
* init

* init

* refactor(mobile): enhance tab navigation and structure

- Added `TabScreenModule` and `TabScreenView` to support dynamic tab management.
- Replaced `FOTabBarController` with a more streamlined `UITabBarController` implementation.
- Updated `TabBarModule` to utilize new tab switching logic and event handling.
- Modified `TabBarRootView` to manage tab views more effectively and handle tab index changes.
- Adjusted main application file to integrate new tab components and improve navigation flow.

These changes aim to improve the tab navigation experience and maintainability of the codebase.

* tabbar

* refactor(mobile): streamline navigation and tab management

- Refactored main application structure to enhance tab navigation, integrating `BottomTabs` and `TabRoot` components for improved tab management.
- Updated `NavigationHeader` and `SafeNavigationScrollView` to better handle header visibility and scrolling behavior.
- Introduced `ScreenItemContext` for managing screen state and scroll position across navigation.
- Cleaned up unused imports and optimized component structure for better maintainability.

These changes aim to improve the overall navigation experience and code organization within the mobile application.

* update

* feat(mobile): implement BottomTabProvider for enhanced tab management

- Introduced `BottomTabProvider` component to manage tab visibility and scroll view context.
- Refactored `BottomTabs` to utilize context for background opacity and tab visibility, simplifying the component structure.
- Removed the deprecated `TabClient` component to streamline the tab implementation.
- Added a null check in `Tabbar` to prevent rendering when there are no tab screens.

These changes aim to improve the organization and functionality of the tab navigation system within the mobile application.

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

* update

* update

* update

* update

* update

* feat(mobile): integrate ErrorBoundary and enhance navigation context

- Added `ErrorBoundary` component to handle errors gracefully within the application.
- Integrated `BottomTabProvider` to manage tab visibility and scroll view context more effectively.
- Refactored navigation components to utilize new context for improved state management.
- Updated `SafeNavigationScrollView` and `Settings` components to streamline scrolling behavior and context usage.
- Removed deprecated code and optimized component structure for better maintainability.

These changes enhance the user experience by providing error handling and improving navigation management.

* feat(mobile): enhance navigation and layout components

- Registered new screens (`TermsScreen`, `LoginScreen`, `SignUpScreen`, `ForgetPasswordScreen`, `TwoFactorAuthScreen`) with the `NavigationSitemapRegistry` for improved navigation management.
- Adjusted layout properties in `HeaderElements` and `NavigationHeader` for better alignment and responsiveness.
- Refactored `Tabbar` to remove unnecessary animated reactions, optimizing performance.
- Exported `ActionGroup` component for better reusability in `TimelineSelectorProvider`.
- Updated `DebugScreen` to utilize the new navigation methods for component presentation.

These changes improve the overall navigation experience and component structure within the mobile application.

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

* feat(mobile): implement new architecture support and refactor TabBar components

- Added support for the new architecture in the iOS podspec by conditionally defining `OTHER_SWIFT_FLAGS`.
- Refactored `TabBarPortalModule`, `TabBarRootView`, and `TabScreenView` to improve structure and maintainability.
- Replaced native view components with standard React Native views in `TabBarPortal`, `TabRoot`, and `TabScreen` for better compatibility and performance.
- Updated import paths for `TabScreenProps` to ensure correct type usage.

These changes enhance the navigation experience and prepare the codebase for future architecture improvements.

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

* feat(mobile): refactor navigation and onboarding components

- Removed outdated navigation dependencies from `package.json` to streamline the project.
- Enhanced `TabBarRootView` to improve tab switching animations and manage view transitions more effectively.
- Updated `App` component structure for better readability and integration of onboarding logic.
- Introduced `OnboardingScreen` with improved layout and navigation handling.
- Refactored navigation context types to include additional screen options for better flexibility.

These changes enhance the navigation experience and prepare the application for future onboarding features.

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

* feat(mobile): enhance intent handling with navigation integration

- Added navigation support in `useIntentHandler` to handle incoming URLs more effectively.
- Integrated `FollowScreen` for presenting user-specific content based on URL parameters.
- Updated effect dependencies to include navigation for improved functionality.

These changes improve the handling of deep links and enhance the user experience when navigating to the follow screen.

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

* chore: clean up pnpm-lock.yaml by removing unused navigation dependencies

- Removed outdated navigation packages including `@react-navigation/bottom-tabs`, `@react-navigation/drawer`, and `@react-navigation/native` to streamline the lock file.
- Cleaned up unnecessary entries and peer dependencies to improve maintainability and reduce clutter.

These changes help in optimizing the dependency management for the project.

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

* lint

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

* chore: auto-fix linting and formatting issues

* fix

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

* update

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

* refactor: update PickerIos component and remove FeedDrawer

- Added import for Portal in PickerIos component.
- Removed the FeedDrawer component entirely, cleaning up unused code.
- Replaced router.dismiss() with navigation.dismiss() in list screen options for better navigation handling.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-19 22:35:49 +08:00
DIYgod 853d32afa4 feat: hide apple login in mas 2025-03-19 22:21:26 +08:00
DIYgod f2e29252f2 feat: rename (#3181)
* feat: rename

* fix

* fix

* fix
2025-03-19 21:43:55 +08:00
pacexy 279f2dbb29 fix: recommendations header has no background color (#3185) 2025-03-19 21:11:42 +08:00
Stephen Zhou 36fcd52328 refactor: always query all subscription list (#3190) 2025-03-19 20:38:03 +08:00
Whitewater 65780489a2 fix: add key prop to SubscriptionList (#3188) 2025-03-19 18:55:46 +08:00
Stephen Zhou eb04c4b7e6 build: disable logging in react-scan by default (#3174) 2025-03-18 23:36:08 +08:00
Stephen Zhou 001f14f751 fix: use listId to unfollow list (#3167)
* fix: use listId arg to unfollow list

* update
2025-03-18 23:33:35 +08:00
Stephen Zhou e6a22e6962 fix: unable to update subscription information in time (#3173) 2025-03-18 23:32:39 +08:00
DIYgod bef3105f3d chore: add platform in issue template 2025-03-18 22:32:24 +08:00
DIYgod 0fae7271fa chore: issue labeler 2025-03-18 22:28:45 +08:00
DIYgod d5eeb84c0a chore: add platform in issue template 2025-03-18 22:13:41 +08:00
DIYgod f7b93ccc71 fix(ssr): add feed popup 2025-03-18 19:08:36 +08:00
DIYgod 5cfbe85182 fix(ssr): tailwind config 2025-03-18 17:36:38 +08:00
DIYgod 2d6902c410 fix(ssr): env 2025-03-18 17:36:38 +08:00
Stephen Zhou 5d1573bd13 build: fix electron version (#3166) 2025-03-18 16:33:19 +08:00
Stephen Zhou fe10419827 refactor(mobile): avoid multiple useScaleHeight call (#3165) 2025-03-18 16:27:32 +08:00
Innei db3b8d6e4e refactor(mobile): update color usage in settings routes to utilize useColors hook
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-18 12:28:26 +08:00
Innei 278e228308 chore: downgrade electron version to 34.2.0 in package.json and pnpm-lock.yaml
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-18 11:16:54 +08:00
Konv Suu bb51cc45e7 refactor: improve time formatting to support multiple formats (#3157) 2025-03-18 10:15:58 +08:00
Konv SuuandStephen Zhou 3c2586df51 fix: incorrect formatting of time duration (#3148)
* feat(desktop): add duration formatting for audio entries

* update

* update

* update

* update

* update

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-03-18 09:33:27 +08:00
LavaCandStephen Zhou b9cd34617d fix(desktop): incorrect svg favicon name (#3156)
* fix(desktop): incorrect svg favicon name

* update

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-03-18 08:43:31 +08:00
DIYgod bb864dca50 fix: clipboard 2025-03-17 22:29:43 +08:00
DIYgod a5ff94795f feat(mobile): subscription list scroll protection 2025-03-17 21:05:46 +08:00
DIYgod f05f2964a1 feat(mobile): cleaner subscription list 2025-03-17 21:00:34 +08:00
DIYgod cf8ff92773 feat(mobile): swipeable subscription list 2025-03-17 20:50:59 +08:00
DIYgod 07d379ba28 feat(mobile): extract PageList component 2025-03-17 20:40:28 +08:00
DIYgod 9dc0e8375f fix(mobile): large header init value 2025-03-17 20:27:57 +08:00
DIYgod 1543cb699c feat(mobile): use firebase modular api 2025-03-17 19:32:24 +08:00
DIYgod 2dfd589d9e fix(mobile): null incomingUrl warning 2025-03-17 19:04:06 +08:00
DIYgod 47927d9372 fix(mobile): disable entry routing when horizontal scrolling 2025-03-17 14:30:07 +08:00
DIYgod d6a5cfcdad feat(mobile): add haptics 2025-03-17 13:45:56 +08:00
DIYgod 7761f3bcd0 feat(mobile): optimize border color 2025-03-17 12:41:29 +08:00
DIYgod 3df0879e63 feat(mobile): remove entry list hover background 2025-03-17 12:27:50 +08:00
Stephen Zhou 3ab096e505 build: update to pnpm 10 (#3149)
* build: update to pnpm 10

* update
2025-03-17 12:18:27 +08:00
Stephen Zhou 180fd7ba3e refactor(mobile): action condition layout and select (#3147) 2025-03-17 10:50:06 +08:00
Konv Suu 4a00493ce7 feat(desktop): hide separator when availableActions is empty (#3045) 2025-03-17 09:59:50 +08:00
LavaC 37a2e68dce fix(desktop): description section uses hyphen style (#3146) 2025-03-17 09:49:50 +08:00
Stephen Zhou 38a9da26bf fix(mobile): show validate message, support for small screen (#3130)
* show validate message

* support small screen
2025-03-17 09:37:25 +08:00
Stephen Zhou 08b273ed4b ci: add development build (#3136)
* ci: add development build

* update

* update

* update

* name

* simulator

* cancel

* push

* update

* name

* Revert "update"

This reverts commit 34e65dcbd13265e519f99c0575fd6b5f386c7d75.

* path
2025-03-16 10:18:43 +08:00
dependabot[bot] 534744210c build(deps): bump the patch group with 2 updates (#3132)
Bumps the patch group with 2 updates: [expo](https://github.com/expo/expo/tree/HEAD/packages/expo) and [lightningcss](https://github.com/parcel-bundler/lightningcss).


Updates `expo` from 52.0.38 to 52.0.39
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo)

Updates `lightningcss` from 1.29.2 to 1.29.3
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](https://github.com/parcel-bundler/lightningcss/compare/v1.29.2...v1.29.3)

---
updated-dependencies:
- dependency-name: expo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: lightningcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-15 10:52:02 +08:00
dependabot[bot] 324d3c7bde build(deps): bump the minor group with 5 updates (#3131)
Bumps the minor group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@tanstack/query-sync-storage-persister](https://github.com/TanStack/query/tree/HEAD/packages/query-sync-storage-persister) | `5.67.3` | `5.68.0` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.67.3` | `5.68.0` |
| [@tanstack/react-query-persist-client](https://github.com/TanStack/query/tree/HEAD/packages/react-query-persist-client) | `5.67.3` | `5.68.0` |
| [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) | `5.67.3` | `5.68.0` |
| [cmdk](https://github.com/pacocoursey/cmdk/tree/HEAD/cmdk) | `1.0.4` | `1.1.1` |


Updates `@tanstack/query-sync-storage-persister` from 5.67.3 to 5.68.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.68.0/packages/query-sync-storage-persister)

Updates `@tanstack/react-query` from 5.67.3 to 5.68.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.68.0/packages/react-query)

Updates `@tanstack/react-query-persist-client` from 5.67.3 to 5.68.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.68.0/packages/react-query-persist-client)

Updates `@tanstack/react-query-devtools` from 5.67.3 to 5.68.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.68.0/packages/react-query-devtools)

Updates `cmdk` from 1.0.4 to 1.1.1
- [Release notes](https://github.com/pacocoursey/cmdk/releases)
- [Commits](https://github.com/pacocoursey/cmdk/commits/v1.1.1/cmdk)

---
updated-dependencies:
- dependency-name: "@tanstack/query-sync-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: cmdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-15 10:46:00 +08:00
DIYgod d7fa3f1420 chore: dependabot seperate pathed 2025-03-15 09:37:33 +08:00
Whitewater 9f07a3b0fd feat(mobile): implement language-based preset feeds for onboarding (#3109)
* feat(mobile): implement language-based preset feeds for onboarding

* fix: enhance useIsNewUser hook to accept enabled parameter

* refactor(mobile): streamline subscription handling in StepInterests component

* fix(mobile): correct feedId values in English feeds JSON
2025-03-15 00:40:55 +08:00
DIYgod ca897ebf2c chore: update patch (#3129)
* chore: update patch

* fix

* fix
2025-03-14 23:01:39 +08:00
Innei 883ed75bd4 refactor(mobile): improve navigation header and layout components
- Updated `NavigationHeader` to enhance modal presentation handling and UI customization.
- Adjusted `getDefaultHeaderHeight` function to simplify header height calculations for iOS devices.
- Integrated `NativeNavigationHeader` in the terms screen for consistent header behavior.
- Cleaned up layout files by removing unused imports and optimizing component structure.

This refactor aims to streamline navigation and improve the overall user experience across mobile screens.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-14 22:20:24 +08:00
dependabot[bot] bfec384151 build(deps): bump the patch group across 1 directory with 9 updates (#3124) 2025-03-14 18:42:41 +08:00
Stephen Zhou 5129e5aeb4 Revert "fix(mobile): allow scroll in login page (#3126)" (#3127)
This reverts commit 0dc73f1e29.
2025-03-14 17:10:10 +08:00