Commit Graph
1898 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 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
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 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 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
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
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
Stephen Zhou 0dc73f1e29 fix(mobile): allow scroll in login page (#3126) 2025-03-14 08:57:40 +00:00
DIYgod a404500f44 release(desktop): release v0.3.12 2025-03-14 11:11:36 +08:00
dependabot[bot]andDIYgod 3909813cb7 build(deps): bump the minor group across 1 directory with 7 updates (#3114)
* build(deps): bump the minor group across 1 directory with 7 updates

Bumps the minor group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| @better-auth/expo | `1.1.18` | `1.2.4` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.1.18` | `1.2.4` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.1.0` | `9.5.0` |
| [@mozilla/readability](https://github.com/mozilla/readability) | `0.5.0` | `0.6.0` |
| [plain-shiki](https://github.com/KazariEX/plain-shiki) | `0.1.1` | `0.2.0` |
| [re-resizable](https://github.com/bokuweb/react-resizable-box) | `6.10.3` | `6.11.2` |
| [react-scan](https://github.com/aidenybai/react-scan) | `0.1.3` | `0.2.14` |



Updates `@better-auth/expo` from 1.1.18 to 1.2.4

Updates `better-auth` from 1.1.18 to 1.2.4
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.2.4/packages/better-auth)

Updates `@sentry/react` from 9.1.0 to 9.5.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.1.0...9.5.0)

Updates `@mozilla/readability` from 0.5.0 to 0.6.0
- [Changelog](https://github.com/mozilla/readability/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mozilla/readability/compare/0.5.0...0.6.0)

Updates `plain-shiki` from 0.1.1 to 0.2.0
- [Release notes](https://github.com/KazariEX/plain-shiki/releases)
- [Changelog](https://github.com/KazariEX/plain-shiki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KazariEX/plain-shiki/compare/v0.1.1...v0.2.0)

Updates `re-resizable` from 6.10.3 to 6.11.2
- [Release notes](https://github.com/bokuweb/react-resizable-box/releases)
- [Changelog](https://github.com/bokuweb/re-resizable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bokuweb/react-resizable-box/commits)

Updates `react-scan` from 0.1.3 to 0.2.14
- [Release notes](https://github.com/aidenybai/react-scan/releases)
- [Commits](https://github.com/aidenybai/react-scan/compare/v0.1.3...v0.2.14)

---
updated-dependencies:
- dependency-name: "@better-auth/expo"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: better-auth
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@mozilla/readability"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: plain-shiki
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: re-resizable
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-scan
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

* fix

* fix

* fix

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-03-14 11:10:08 +08:00
Stephen ZhouandWhitewater 9d4f5749da feat(mobile): show onboarding check (#3104)
* feat(mobile): show onboarding check

* fix

---------

Co-authored-by: Whitewater <me@waterwater.moe>
2025-03-14 00:27:53 +08:00
Innei 5827946223 refactor(mobile): rename NavigationHeader and introduce TabClient component
- Renamed `NavigationHeader` to `InternalNavigationHeader` for clarity in usage.
- Added a new `TabClient` component to enhance tab navigation functionality.
- Updated imports in `SafeNavigationScrollView` and `terms.tsx` to reflect the renaming.
- Adjusted the layout in `_layout.tsx` by commenting out unused animation properties for cleaner code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-14 00:24:53 +08:00
Innei bf97861377 fix(mobile): sheet modal corners and view
background

- Updated the `EntryNormalItem` component to improve styling with rounded corners and overflow handling.
- Integrated `ThemedBlurView` for a better visual effect in the play button area.
- Modified layout structure in `_layout.tsx` and `(stack)/_layout.tsx` to ensure consistent background and overflow behavior.
- Enhanced the animated stack with dynamic border radius based on scaling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 23:51:42 +08:00
Innei ef4c864e0f refactor(mobile): enhance RSSHub form layout and keyboard handling
- Wrapped the main content in a `KeyboardAvoidingView` to improve keyboard handling on mobile devices.
- Cleaned up the structure of the form by removing unnecessary nesting and ensuring consistent formatting.
- Maintained existing functionality while improving the overall user experience in the RSSHub form.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 23:33:00 +08:00
Innei 2854255050 feat(mobile): enhance 2FA settings and loading experience
- Renamed `Setting2FA` to `TwoFASettingScreen` for clarity and consistency.
- Removed the deprecated `Setting2FAScreen` component.
- Updated loading behavior to support both promise-based and immediate loading states.
- Integrated `ActivityIndicator` for iOS and retained `RotateableLoading` for other platforms.
- Improved loading overlay with a `BlurView` for better visual feedback during operations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 23:29:24 +08:00