Commit Graph

1894 Commits

Author SHA1 Message Date
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 Suu 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
LavaC 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] 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 Zhou 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
Innei 26928c63ef
feat(mobile): implement QR code generation for 2FA setup
- Added QR code generation functionality using the `qrcode` library.
- Created new components for QR code rendering and customization.
- Integrated QR code display in the 2FA settings screen.
- Updated package dependencies to include `@types/qrcode` and `qrcode`.
- Refactored related components to support QR code features.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 22:35:29 +08:00
Whitewater 2d92a4f59d
feat(mobile): implement onboarding screen (#3029)
* feat(mobile): implement onboarding screen

* refactor(mobile): extract avatar setting functionality into a separate utility function

* feat(mobile): integrate  StepInterests into onboarding

* feat(mobile): add preset feeds configuration for onboarding

* feat(mobile): add onboarding completion and welcome steps

* chore: tweak styles

* fix: icon

* chore: add personalization prompt to onboarding preferences

* chore: enhance onboarding with improved layout

* chore: clean code

* refactor: compatible with modal for EditProfileModal
2025-03-13 18:15:54 +08:00
DIYgod d54535dc45
feat: remove @auth/core 2025-03-13 18:14:40 +08:00
Stephen Zhou 76ebd6969d
refactor(mobile): allow do not open links in app (#3101) 2025-03-13 17:20:07 +08:00