Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/prime login0 limi #6599

Draft
wants to merge 55 commits into
base: feat/prime-login0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
6812190
feat: Enhance TableRow component with drag-and-drop animation support…
limichange Jan 21, 2025
0381380
feat: update i18n content
limichange Jan 22, 2025
46731a7
feat: update i18n content
limichange Jan 22, 2025
4bd3084
feat: update PrimeHeaderIconButton
limichange Jan 22, 2025
dd04022
feat: update PrimeHeaderIconButton
limichange Jan 22, 2025
03bd9c6
feat: add PrimeBenefitsList
limichange Jan 22, 2025
e278e99
feat: add OTPInput component
limichange Jan 22, 2025
a389d86
feat: update OTPInput color
limichange Jan 22, 2025
243dafc
feat: update OTPInputGallery demo
limichange Jan 22, 2025
837db20
feat: fix suggestions value
limichange Jan 22, 2025
5d2947d
feat: add PrimeSignupTest
limichange Jan 22, 2025
122bc42
feat: upgrade @privy-io/expo
limichange Jan 22, 2025
63ee690
feat: native PrimeSignupTest test success
limichange Jan 23, 2025
f6ad061
fix: prime icon
limichange Jan 23, 2025
dc70b1e
feat: add memo
limichange Jan 23, 2025
20dd723
feat: update OTPInput style
limichange Jan 23, 2025
2b833e0
feat: reset usePrivyUniversal
limichange Jan 23, 2025
04e0fe9
feat: add comments
limichange Jan 23, 2025
2d3a664
feat: update OTPInput
limichange Jan 23, 2025
e9d97d9
feat: remove VerificationCodeInput
limichange Jan 23, 2025
4464e3d
feat: update OTPInput demo
limichange Jan 23, 2025
955b4dd
feat: add usePrivyUniversalV2
limichange Jan 23, 2025
e14365a
feat: update usePrivyUniversalV2
limichange Jan 23, 2025
bafa875
feat: add PrimeLoginEmailCodeDialogV2
limichange Jan 23, 2025
2b736ac
feat: PrimeLoginEmailDialogV2
limichange Jan 23, 2025
70386b8
feat: add base login ui
limichange Jan 24, 2025
a81c61c
feat: test login ui
limichange Jan 24, 2025
0da6567
fix: usePrivyUniversalV2 type
limichange Jan 24, 2025
765ef9c
fix: useLoginWithEmail onError
limichange Jan 24, 2025
d0626e2
feat: add state
limichange Jan 24, 2025
6e5d9fe
feat: remove changePassword
limichange Jan 24, 2025
5c2f76a
feat: remove old test component
limichange Jan 24, 2025
3c6dda9
feat: check state
limichange Jan 24, 2025
b65ba6a
feat: update i18n content
limichange Jan 24, 2025
e7ec3f9
feat: update i18n content
limichange Jan 24, 2025
f8eccdb
feat: test
limichange Jan 25, 2025
fb0fb44
feat: import test env
Jan 25, 2025
a6abcfa
feat: add logout
Jan 25, 2025
bb184a3
feat: test ci
Jan 25, 2025
c283608
feat: test ci
Jan 25, 2025
13cc98a
feat: test ci
Jan 26, 2025
ac04066
feat: test ci
Jan 26, 2025
b98d15a
fix: V2
Jan 26, 2025
61d5ec4
feat: test
Jan 26, 2025
dd623e4
feat: watch state
Jan 26, 2025
86d0f45
feat: auth
Jan 26, 2025
a4934fb
feat: remove logs
Jan 26, 2025
30bcfe8
feat: test release
Jan 26, 2025
79cfba4
feat: test release
Jan 26, 2025
da28085
feat: showPrimeTest true
Jan 26, 2025
139e669
feat: test ci
Jan 26, 2025
0cb369f
feat: test ci
Jan 26, 2025
8a22643
feat: test ci
Jan 26, 2025
44c8da1
feat: test ci
Jan 26, 2025
ee34eb6
reset
Jan 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release-android-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
# https://github.com/orgs/community/discussions/25678
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Checkout Source Code
uses: actions/checkout@v3
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env.expo"
env_file_name: '.env.expo'
sentry_project: ''
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# https://github.com/orgs/community/discussions/25678
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache

- name: Upload Main Debug APK
uses: actions/upload-artifact@v3
with:
Expand All @@ -99,7 +99,7 @@ jobs:
name: release-google-debug
path: |
./apps/mobile/android/app/build/outputs/apk/google/debug

- name: Upload Huawei Debug APK
uses: actions/upload-artifact@v3
with:
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: false
default: ''

jobs:
jobs:
release-android:
runs-on: ubuntu-latest
if: ${{ !github.event.workflow_run || (github.event.workflow_run && github.event.workflow_run.conclusion == 'success') }}
Expand All @@ -22,14 +22,14 @@ jobs:
uses: actions/checkout@v3
with:
lfs: true
- name: Run Shared Env Setup

- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
additional_env: |
NO_FLIPPER=1
SENTRY_DISABLE_AUTO_UPLOAD=false
env_file_name: ".env.expo"
env_file_name: '.env.expo'
sentry_project: ''
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: |
# pass BUILD_NUMBER as env variable to expo server
echo "BUILD_NUMBER=${{ env.BUILD_NUMBER }}" >> .env.version

- name: Write .sentry.properties
run: |
echo "auth.token=${{ secrets.SENTRY_TOKEN }}" >> apps/mobile/android/sentry.properties
Expand All @@ -84,14 +84,12 @@ jobs:
run: |
yarn


- name: Build WebEmbed
env:
NODE_OPTIONS: '--max_old_space_size=8192'
SENTRY_DISABLE_AUTO_UPLOAD: 'true'
run: |
yarn app:web-embed:build


- name: Build on EAS And Submit
if: ${{ github.event.workflow_run }}
Expand All @@ -114,4 +112,3 @@ jobs:
path: |
./apps/web-embed/web-build
if-no-files-found: error

4 changes: 2 additions & 2 deletions .github/workflows/release-desktop-mas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env"
env_file_name: '.env'
sentry_project: 'desktop-mas'
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release-desktop-winms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env"
env_file_name: '.env'
sentry_project: 'desktop-winms'
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand All @@ -36,8 +36,6 @@ jobs:
revenuecat_api_key_apple: ${{ secrets.REVENUECAT_API_KEY_APPLE }}
revenuecat_api_key_google: ${{ secrets.REVENUECAT_API_KEY_GOOGLE }}



- name: 'Setup ENV'
run: |
eval "$(node -e 'const v=require("./apps/desktop/package.json").version; console.log("pkg_version="+v)')"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
uses: actions/checkout@v3
with:
lfs: true
- name: Run Shared Env Setup

- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env"
env_file_name: '.env'
sentry_project: 'chrome-extension'
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/release-ios-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env.expo"
env_file_name: '.env.expo'
sentry_project: ''
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand All @@ -37,8 +37,6 @@ jobs:
revenuecat_api_key_apple: ${{ secrets.REVENUECAT_API_KEY_APPLE }}
revenuecat_api_key_google: ${{ secrets.REVENUECAT_API_KEY_GOOGLE }}



- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -87,7 +85,7 @@ jobs:
yarn app:web-embed:build
cd apps/mobile/ios
xcodebuild -workspace OneKeyWallet.xcworkspace -configuration Debug -scheme OneKeyWallet -sdk iphonesimulator -derivedDataPath ./outputs

- name: Zip artifact
run: |
cd apps/mobile/ios/outputs/Build/Products/Debug-iphonesimulator
Expand All @@ -100,5 +98,3 @@ jobs:
path: |
./apps/mobile/ios/outputs/Build/Products/Debug-iphonesimulator/OneKeyWallet-Debug.zip
if-no-files-found: error


5 changes: 2 additions & 3 deletions .github/workflows/release-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
additional_env: |
NO_FLIPPER=1
SENTRY_DISABLE_AUTO_UPLOAD=false
env_file_name: ".env.expo"
env_file_name: '.env.expo'
sentry_project: ''
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand All @@ -40,7 +40,6 @@ jobs:
revenuecat_api_key_apple: ${{ secrets.REVENUECAT_API_KEY_APPLE }}
revenuecat_api_key_google: ${{ secrets.REVENUECAT_API_KEY_GOOGLE }}


- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
lfs: true

- name: Run Shared Env Setup
- name: Run Shared Env Setup
uses: ./.github/actions/shared-env
with:
env_file_name: ".env"
env_file_name: '.env'
sentry_project: 'web'
covalent_key: ${{ secrets.COVALENT_KEY }}
sentry_token: ${{ secrets.SENTRY_TOKEN }}
Expand All @@ -36,7 +36,6 @@ jobs:
revenuecat_api_key_apple: ${{ secrets.REVENUECAT_API_KEY_APPLE }}
revenuecat_api_key_google: ${{ secrets.REVENUECAT_API_KEY_GOOGLE }}


- name: Setup Environment
uses: actions/setup-node@v3
with:
Expand Down
Loading
Loading