From a28544d0469a8b7e981c8c9cf156c4b2e27c6147 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Sat, 22 Oct 2022 13:20:16 -0700 Subject: [PATCH 01/20] Update Cypress GHA to use newer checkout and setup-node actions --- .github/workflows/cypress.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 7cace626c..1bca63dd3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -2,7 +2,7 @@ name: Cypress Tests on: pull_request: - types: [ opened, review_requested, synchronize ] + types: [opened, review_requested, synchronize] jobs: cypress: if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')" @@ -24,19 +24,19 @@ jobs: - module: "bisq" spec: | cypress/e2e/bisq/bisq.spec.ts - + name: E2E tests for ${{ matrix.module }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ${{ matrix.module }} - + - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16.15.0 - cache: 'npm' + cache: "npm" cache-dependency-path: ${{ matrix.module }}/frontend/package-lock.json - name: Chrome browser tests (${{ matrix.module }}) @@ -46,14 +46,14 @@ jobs: working-directory: ${{ matrix.module }}/frontend build: npm run config:defaults:${{ matrix.module }} start: npm run start:local-staging - wait-on: 'http://localhost:4200' + wait-on: "http://localhost:4200" wait-on-timeout: 120 record: true parallel: true spec: ${{ matrix.spec }} group: Tests on Chrome (${{ matrix.module }}) browser: "chrome" - ci-build-id: '${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}' + ci-build-id: "${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}" env: COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} From 75459729adf15db094f2631af8446ed552da6f01 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 1 Dec 2022 19:17:59 +0900 Subject: [PATCH 02/20] Block page audit fallback --- frontend/mempool-frontend-config.sample.json | 1 + .../src/app/components/block/block.component.html | 12 ++++++------ frontend/src/app/components/block/block.component.ts | 10 +++++++++- frontend/src/app/services/state.service.ts | 2 ++ frontend/src/app/shared/graphs.utils.ts | 4 ++-- 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/frontend/mempool-frontend-config.sample.json b/frontend/mempool-frontend-config.sample.json index 938c71c1b..8b0d79471 100644 --- a/frontend/mempool-frontend-config.sample.json +++ b/frontend/mempool-frontend-config.sample.json @@ -17,5 +17,6 @@ "LIQUID_WEBSITE_URL": "https://liquid.network", "BISQ_WEBSITE_URL": "https://bisq.markets", "MINING_DASHBOARD": true, + "BLOCK_AUDIT_START_HEIGHT": 0, "LIGHTNING": false } diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html index 05702a428..2c240c250 100644 --- a/frontend/src/app/components/block/block.component.html +++ b/frontend/src/app/components/block/block.component.html @@ -61,7 +61,7 @@ Unknown - + Fee span @@ -146,7 +146,7 @@ - + @@ -169,7 +169,7 @@
- +
@@ -233,7 +233,7 @@
- +
@@ -253,7 +253,7 @@
-
+
-
+