Commit Graph

168 Commits

Author SHA1 Message Date
Stephen Zhou 987d2611ce
ci: clear cache after build 2025-03-31 11:00:13 +08:00
Stephen Zhou cb73dfd7e1
ci: clear xcode cache for self-hosted runner 2025-03-31 10:56:13 +08:00
DIYgod 2881d655ee
feat: staging build (#3365)
* feat: move constants isElectronBuild

* feat: move constants isWebBuild

* feat: unified isDev

* feat: unified isProd

* chore: staging build

* update

* fix

* fix

* feat: staging icons

* fix
2025-03-30 22:13:11 +08:00
DIYgod 77d48b9f99
chore: fix appx name 2025-03-28 20:05:43 +08:00
DIYgod fa3f3d9b95
chore: set continue-on-error for signpath 2025-03-28 18:50:53 +08:00
Stephen Zhou 5a45700204
ci: fix skip condition 2025-03-28 11:10:52 +08:00
DIYgod 252bc0e347
chore: disable windows sign for dev 2025-03-27 12:16:17 +08:00
DIYgod 23df2bfeb0
chore: use signpath test signing for non production 2025-03-26 18:38:04 +08:00
DIYgod cf6b609490
chore: update signpath signing-policy-slug 2025-03-26 18:13:13 +08:00
DIYgod 9eb044e91a
chore: relax concurrency limits for non iOS builds 2025-03-26 12:19:49 +08:00
DIYgod 12e4a2c25a
chore: build file names 2025-03-26 12:04:56 +08:00
DIYgod 0e4a810493
chore: signpath (#3286)
* chore: separate artifacts

* chore: use signpath

* update

* update

* update

* update

* update
2025-03-26 00:03:49 +08:00
Stephen Zhou a1fed5c62a
ci: pass for external contributor 2025-03-24 11:32:01 +08:00
Stephen Zhou 89e8cdfa29
ci: fix empty state fro external contributor 2025-03-24 11:23:09 +08:00
Stephen Zhou 4bdd6bac4e
ci: restrict build workflow to dev branch only (#3255) 2025-03-23 17:31:30 +08:00
Stephen Zhou 2f8f13738c
ci: introduce self host runner (#3237)
* ci: test self host runner

* update

* update

* push

* prefer self then github

* update

* log

* update

* update

* update

* update

* update

* try label

* Revert "try label"

This reverts commit 05d19cf24f760df39cb1c739e2b0ee073368137b.

* include build mac

* try hyoban to build mac

* update

* update

* update

* update

* push

* push

* push

* push

* push

* push

* try

* try

* Revert "try"

This reverts commit c1be653a93a87bfa14c6cfc7fb2e8ba20ae39bf4.

* fix build

* add runner

* Revert "add runner"

This reverts commit 70e0c357467d118bf2b28c1d979f5fc43cf2793a.

* clean

* avoid setup on self host

* update
2025-03-23 17:21:59 +08:00
DIYgod 427045d2b4
feat: appx (#3219)
* feat: add appx maker

* update

* update

* fix

* update

* update

* update

* update

* Revert "update"

This reverts commit 798e6124dcd0fa2080f03fc1f952076bf5a11fd4.
2025-03-21 17:28:12 +08:00
dependabot[bot] 9d3713d5d4
build(deps): bump redhat-plumbers-in-action/advanced-issue-labeler (#3176)
Bumps [redhat-plumbers-in-action/advanced-issue-labeler](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler) from 2 to 3.
- [Release notes](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler/releases)
- [Commits](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler/compare/v2...v3)

---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/advanced-issue-labeler
  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-20 14:23:21 +08:00
dependabot[bot] f83e47271e
build(deps): bump actions/checkout from 3 to 4 (#3177)
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-20 14:23:09 +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 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
DIYgod 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