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

merge-main-to-public #815

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3986258
[ENG-3842] feat: Add the mixpanel events for featured apps in the ext…
dhriaznov Mar 11, 2024
07cc83f
Update src/app/utils/mixpanel.ts
dhriaznov Mar 12, 2024
f50379f
Add the MIX_PANEL_TOKEN_EXPLORE_APP import
dhriaznov Mar 12, 2024
b23e451
Add the MIX_PANEL_TOKEN_EXPLORE_APP to the .env.example file, as well…
dhriaznov Mar 13, 2024
0d302cd
Add lazy loading for the mixpanel instances
dhriaznov Mar 13, 2024
b5cdcff
Trigger CI build
dhriaznov Mar 14, 2024
6adb01f
Merge branch 'develop' into denys/eng-3842-add-the-mixpanel-events-fo…
dhriaznov Mar 14, 2024
f946599
Merge branch 'develop' into denys/eng-3842-add-the-mixpanel-events-fo…
teebszet Mar 15, 2024
45cf27e
Merge pull request #148 from secretkeylabs/release/v0.32.3
teebszet Mar 19, 2024
b510d70
Merge branch 'develop' into denys/eng-3842-add-the-mixpanel-events-fo…
dhriaznov Mar 19, 2024
10653d1
[ENG-3477] feat: Open the onboarding screen right after user installs…
dhriaznov Mar 21, 2024
c11a9d2
Merge branch 'develop' into denys/eng-3842-add-the-mixpanel-events-fo…
dhriaznov Mar 21, 2024
6c08ff9
[ENG-3937] Replace the old STX logo leftovers on the web-extension (#…
dhriaznov Mar 25, 2024
3980cae
fix: remove satributes component from receive section in payment addr…
fedeerbes Mar 25, 2024
a62315f
fix: qr config, avoid hiding dots covered by image (#154)
fedeerbes Mar 25, 2024
5759028
[ENG-3972] fix: Issue with balance sip-10 tokens fiat value does not …
dhriaznov Mar 25, 2024
59ae427
Add sighash none warning (#152)
victorkirov Mar 25, 2024
66fafe6
[ENG-3340] feat: Add UI warning about the Non default sighash Ledger …
dhriaznov Mar 25, 2024
f13eb25
[ENG-3956] setup healthcheck test (#153)
Christine-Pinto Mar 25, 2024
9e3ba2b
Merge pull request #130 from secretkeylabs/denys/eng-3842-add-the-mix…
dhriaznov Mar 25, 2024
b0f8c32
Sats connect RPC support (#141)
m-aboelenein Mar 27, 2024
7473e00
feat: add support for BLOCK9_450, BLOCK286 and LEGACY satributes (#156)
fedeerbes Mar 27, 2024
98ef0f9
release: v0.33.0
Mar 27, 2024
1bf2015
Merge branch 'main' into release/v0.33.0
teebszet Mar 27, 2024
dcd7859
fix: add mixpanel types and fix type errors (#165)
teebszet Mar 28, 2024
34cd1d1
Merge branch 'develop' into release/v0.33.0
teebszet Mar 28, 2024
489ab8d
Merge pull request #161 from secretkeylabs/release/v0.33.0
teebszet Apr 2, 2024
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ MOON_PAY_API_KEY=

# Analytics
MIX_PANEL_TOKEN=
MIX_PANEL_EXPLORE_APP_TOKEN=
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"project": "./tsconfig.json"
},
"plugins": ["react", "prettier", "eslint-plugin-no-inline-styles", "@tanstack/query"],
"ignorePatterns": ["tests/**/*", "playwright.config.ts"],
"rules": {
"consistent-return": "off",
"import/prefer-default-export": 1,
Expand Down Expand Up @@ -50,7 +51,8 @@
}
],
"no-plusplus": "off",
"@tanstack/query/exhaustive-deps": 1
"@tanstack/query/exhaustive-deps": 1,
"import/order": 0
},
"settings": {
"import/resolver": {
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
TRANSAC_API_KEY: ${{ secrets.TRANSAC_API_KEY }}
MOON_PAY_API_KEY: ${{ secrets.MOON_PAY_API_KEY }}
MIX_PANEL_TOKEN: ${{ secrets.MIX_PANEL_TOKEN }}
MIX_PANEL_EXPLORE_APP_TOKEN: ${{ secrets.MIX_PANEL_EXPLORE_APP_TOKEN }}
run: |
npm run build
zip -rj build.zip ./build
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,19 @@ jobs:
TRANSAC_API_KEY: ${{ secrets.TRANSAC_API_KEY }}
MOON_PAY_API_KEY: ${{ secrets.MOON_PAY_API_KEY }}
MIX_PANEL_TOKEN: ${{ secrets.MIX_PANEL_TOKEN }}
MIX_PANEL_EXPLORE_APP_TOKEN: ${{ secrets.MIX_PANEL_EXPLORE_APP_TOKEN }}
run: npm run build --if-present
- name: Install Playwright Browsers
run: npx playwright install chromium --with-deps
- name: Run health check
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" npx playwright test tests/specs/healthcheck.spec.ts --reporter=html
- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Save Filename
run: |
BRANCH_NAME=$(echo ${{ github.head_ref }} | sed 's/\//-/g')
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Playwright Tests
on:
workflow_dispatch:
inputs:
branch:
description: Branch name
required: true
default: develop
jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
always-auth: true
node-version: 18
registry-url: https://npm.pkg.github.com
scope: '@secretkeylabs'
cache: npm
- name: Install dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGE_REGISTRY_TOKEN }}
run: npm ci
- name: Build
env:
TRANSAC_API_KEY: ${{ secrets.TRANSAC_API_KEY }}
MOON_PAY_API_KEY: ${{ secrets.MOON_PAY_API_KEY }}
MIX_PANEL_TOKEN: ${{ secrets.MIX_PANEL_TOKEN }}
run: npm run build --if-present
- name: Install Playwright Browsers
run: npx playwright install chromium --with-deps
- name: Run UI test suite
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" npx playwright test --reporter=html
- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: playwright-report/
retention-days: 30

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ yarn-error.log*
#editors
.idea
.vscode
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
3. Username: GITHUB USERNAME
Password: PERSONAL_ACCESS_TOKEN
Email: PUBLIC-EMAIL-ADDRESS
4. Run `npm install` to install the dependencies.
5. Run `npm start`
6. Load your extension on Chrome following:
4. Add .env file (example: .env.example)
5. Run `npm install` to install the dependencies.
6. Run `npm start`
7. Load your extension on Chrome following:
1. Access `chrome://extensions/`
2. Check `Developer mode`
3. Click on `Load unpacked extension`
Expand All @@ -31,3 +32,14 @@ make or pull your local changes to xverse-core, then:
cd ../xverse-core && npm i && npm run build:esm && \
cd $OLDPWD && npm i --legacy-peer-deps @secretkeylabs/xverse-core@../xverse-core && npm start
```

### Run UI Tests
To run ui tests, run:
```
npm run uitest
```

To generate test report, run:
```
npm run uitest:report
```
Loading