Commit Graph
149 Commits
Author SHA1 Message Date
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 f2e29252f2 feat: rename (#3181)
* feat: rename

* fix

* fix

* fix
2025-03-19 21:43:55 +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
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
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 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
DIYgod d7fa3f1420 chore: dependabot seperate pathed 2025-03-15 09:37:33 +08:00
DIYgod a741f62196 chore: dependabot ignore @shopify/flash-list 2025-03-14 14:00:17 +08:00
Stephen Zhou 3f74147edf ci: include lock file in path check (#3107) 2025-03-13 22:07:10 +08:00
Stephen Zhou c4412c5e0a build: revert unist-util-visit-parents update (#3106) 2025-03-13 13:51:58 +00:00
DIYgod 009a580557 chore: update dependabot ignore 2025-03-13 18:53:43 +08:00
DIYgod f79354d5af chore: dependabot 2025-03-13 14:31:45 +08:00
DIYgod 366870ccc6 chore: dependabot group and time 2025-03-13 14:01:29 +08:00
DIYgod f932dbd004 chore: update dependabot limit 2025-03-13 10:51:19 +08:00
dependabot[bot] 39ac2618fd build(deps): bump actions/checkout from 3 to 4 (#3039)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 10:11:20 +08:00
dependabot[bot] 1b96afe934 build(deps): bump pnpm/action-setup from 2 to 4 (#3038)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 4.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2.0.0...v4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 10:10:54 +08:00
dependabot[bot] 6ae51bc93a build(deps): bump actions/attest-build-provenance from 1 to 2 (#3037)
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 1 to 2.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 10:10:31 +08:00
dependabot[bot] 5f8870d0eb build(deps): bump ytanikin/PRConventionalCommits from 1.1.0 to 1.3.0 (#3036)
Bumps [ytanikin/PRConventionalCommits](https://github.com/ytanikin/prconventionalcommits) from 1.1.0 to 1.3.0.
- [Commits](https://github.com/ytanikin/prconventionalcommits/compare/1.1.0...1.3.0)

---
updated-dependencies:
- dependency-name: ytanikin/PRConventionalCommits
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 10:09:20 +08:00
DIYgod 9c87ad028c chore: check env before build 2025-03-13 09:35:12 +08:00
DIYgod 75510b8d4f chore: overrides @electron/node-gyp 2025-03-13 09:24:18 +08:00
DIYgod ca90669a9f chore: set --unsafe-perm for actions 2025-03-13 09:00:44 +08:00
DIYgod 6b43a320f1 chore: update pr commit validation task_types 2025-03-13 08:54:20 +08:00
DIYgod fa9329a1a4 chore: add dependabot 2025-03-13 08:47:38 +08:00
Innei 62b3b8fe89 fix: build
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:37:07 +08:00
Innei e5e9e8dfde ci: Update version setup action to support desktop and mobile app versioning
- Add input parameter to specify app type (desktop or mobile)
- Modify version extraction logic to use correct package.json based on app type
- Update build workflow to explicitly set app type when setting up version

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 15:32:32 +08:00
Innei 0ded5e37dd ci: Add 'release' task type to PR title validation workflow
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 14:35:24 +08:00
Innei 3e84f73aec chore: extract ssr as single app
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:01:18 +08:00
DIYgodandDIYgod 8b07a9a573 chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +08:00
DIYgod 2fc2056e01 chore: auto submit 2025-02-23 18:58:17 +08:00
DIYgod c4422a57e1 chore: profile input (#2827) 2025-02-20 17:43:17 +08:00
Innei 0d219a5a28 chore(mobile): Configure CI environment for build and asset handling
- Add CI environment variable to GitHub Actions workflow for iOS build
- Update app configuration to use CI-specific asset paths
- Modify Vite configuration for HTML renderer to support CI build output

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-19 21:37:06 +08:00
DIYgod 878ca93b50 fix: eas build (#2798)
* feat: change eas profile

* chore: use self-hosted runner

* chore: use self-hosted runner

* chore: use self-hosted runner

* chore: revert self hosted runner
2025-02-18 18:05:30 +08:00
DIYgod 9a70853281 chore: add timeout_minutes to retry 2025-02-18 11:22:48 +08:00
DIYgod 7ae7c89b96 chore: macos build with retry 2025-02-18 11:20:05 +08:00
DIYgod 2de63b04d0 feat: remove nightly build 2025-02-14 20:05:27 +08:00
Innei fcdf4df5b2 chore: add eas build ci (#2741)
* eas build

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

* fix pnpm

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

* fix

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-13 21:56:24 +08:00
DIYgod a397ab7f7c chore: fix tag_version 2025-02-13 19:27:46 +08:00
DIYgod a3566ee548 chore: fix tag_version type 2025-02-13 19:01:42 +08:00
DIYgod e03f38a7fd feat: mas (#2692)
* feat: build pkg for mas

* fix: mas build script

* chore: manual mas build

* chore: optional tag_version

* fix: mas build input

* chore: debug

* feat: pkg keychain

* feat: remove pkg maker

* Revert "feat: remove pkg maker"

This reverts commit 0fef70050c9b9e862db7319798171cc47278d65b.

* feat: disable dmg maker for mas

* feat: update version to match mas' requirement

* feat: mas arch

* fix: mas build

* chore: update version

* feat: login and account deletion for mas

* feat: dynamic build version

* feat: recover version

* feat: add BUILD_CERTIFICATE_MASPKG_BASE64
2025-02-08 19:40:39 +08:00
DIYgod 8bbd8bf856 feat: add default value for VITE_WEB_URL and remove VITE_IMGPROXY_URL 2025-01-17 22:50:33 +08:00
Stephen Zhou 6ed9bd6b07 ci: update 2025-01-17 09:47:59 +08:00
Stephen Zhou a7e5a0468a ci: try 2025-01-16 20:44:38 +08:00
Innei 682d1ea37f chore: update bug report template to include 'bug' label
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-16 16:38:34 +08:00
Innei 5bccea21fd chore: update pr template
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 19:45:26 +08:00
Innei fb08ee964d fix(ci): should upload render assets
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-12 22:18:02 +08:00
Innei 31f1f132eb chore: issue template add issue type
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-05 00:16:34 +08:00
DIYgod 9102203956 feat: migrate to better auth (#1951)
* feat: add better-auth

* feat: remove hono/auth-js

* fix: authention check

* fix: signout refetch

* feat: init server auth plugins

* feat: remove types/authjs

* feat: server auth create session plugin

* feat: web login returning

* fix: types

* fix: test env
2024-12-03 12:59:41 +08:00
Innei ca4751acd2 feat(infra): electron app can hot update renderer layer (#1209)
* ci

Signed-off-by: Innei <i@innei.in>

* feat: hotupdate renderer impl

* fix: skip dev

Signed-off-by: Innei <i@innei.in>

* update logci

Signed-off-by: Innei <i@innei.in>

* update logci

Signed-off-by: Innei <i@innei.in>

* feat: tracker

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

* log

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

* fix: hash

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

* fix: build

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

* fix: deps

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

* Update nightly.yml

* update

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

* update

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

* update

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

* update minimunm

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

* calc main hash

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

* add main Hash logic

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

* remove

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

* fix

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

* log

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

* update

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

* update

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

* test

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

* update

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

* update

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

* fix: update

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

* debug

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

* update

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

* fix

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

* update

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

* fix: only one

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

* try fix cookie

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

* update

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

* fix cookie

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

* fix: domain

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

* fix

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

* fix: remove test code

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

* fix

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

---------

Signed-off-by: Innei <i@innei.in>
Signed-off-by: Innei <tukon479@gmail.com>
2024-11-25 21:49:20 +08:00