diff --git a/.env.example b/.env.example index 63bd8e95..f07635be 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,6 @@ +# neccessary Algolia envs for searching to work properly +ALGOLIA_APPLICATION_ID=YOUR_ALGOLIA_APPLICATION_ID +ALGOLIA_API_KEY=YOUR_ALGOLIA_API_KEY + # dev envs not needed in production YATA_API_TOKEN=YOUR_YATA_API_TOKEN # yata api token for fetching translations diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3be56d63..1a3e92f8 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -65,6 +65,8 @@ module.exports = { rules: { 'import/order': 'off', '@typescript-eslint/no-unused-vars': 'off', + 'playwright/no-networkidle': 'off', + 'playwright/no-skipped-test': 'off', }, }, { diff --git a/.github/auto_assign.yaml b/.github/auto_assign.yaml new file mode 100644 index 00000000..9620a493 --- /dev/null +++ b/.github/auto_assign.yaml @@ -0,0 +1,20 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +# It can also be set to "author" +addAssignees: false + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - dzbo + - richtera + - Hugoo + - doubleppereira + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 + +skipKeywords: + - chore( diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be422b62..0981f37e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ on: env: CF_PROJECT_NAME: wallet-universalprofile-cloud CF_BASE_URL: wallet-universalprofile-cloud + ALGOLIA_API_KEY: '${{ secrets.ALGOLIA_API_KEY }}' + ALGOLIA_APPLICATION_ID: '${{ secrets.ALGOLIA_APPLICATION_ID }}' jobs: test: diff --git a/.github/workflows/review.yaml b/.github/workflows/review.yaml new file mode 100644 index 00000000..42caab1e --- /dev/null +++ b/.github/workflows/review.yaml @@ -0,0 +1,12 @@ +name: 'Auto Assign' +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.4 + with: + configuration-path: '.github/auto_assign.yaml' diff --git a/components/AppAvatar.vue b/components/AppAvatar.vue index c3c6ba54..54f7660b 100644 --- a/components/AppAvatar.vue +++ b/components/AppAvatar.vue @@ -19,11 +19,11 @@ defineProps() > -
- -
+
-
- -
+
() size="small" slice-by="4" > -
- -
+
diff --git a/components/AppFooter.vue b/components/AppFooter.vue index a79872ed..91704654 100644 --- a/components/AppFooter.vue +++ b/components/AppFooter.vue @@ -1,41 +1,54 @@ - + diff --git a/components/AppNavbar.vue b/components/AppNavbar.vue index 248ca906..1eff92dc 100644 --- a/components/AppNavbar.vue +++ b/components/AppNavbar.vue @@ -35,6 +35,10 @@ const handleDisconnect = async () => { disconnect() } +const handleNavigationDiscovery = () => { + window.open(BASE_UP_CLOUD_URL, '_self') +} + const extensionStoreData = () => { const url = browserInfo().storeLink const icon = `logo-${browserInfo().id}` @@ -56,9 +60,16 @@ const browserSupportExtension = extensionStore.url !== '' :is-testnet="IS_TESTNET" icon="wallet-outline" has-menu - @on-brand-click="handleNavigateProfile" + @on-brand-click="handleNavigationDiscovery" >
+ + {{ $formatMessage('header_discovery') }} +
+ + {{ $formatMessage('header_discovery') }} + ()
{{ $formatMessage('token_details_images') }}
-
+
+
+
diff --git a/components/AssetSupply.vue b/components/AssetSupply.vue new file mode 100644 index 00000000..96c781c8 --- /dev/null +++ b/components/AssetSupply.vue @@ -0,0 +1,26 @@ + + + diff --git a/components/SendCardAmount.vue b/components/SendCardAmount.vue new file mode 100644 index 00000000..eeb0c0ea --- /dev/null +++ b/components/SendCardAmount.vue @@ -0,0 +1,77 @@ + + + diff --git a/components/SendCardDraft.vue b/components/SendCardDraft.vue index fab96ddf..f71b4a6f 100644 --- a/components/SendCardDraft.vue +++ b/components/SendCardDraft.vue @@ -1,95 +1,10 @@