From 30dc32db1a2e5104c035f6a3612d6c4be5a895f9 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 24 Jun 2024 12:07:45 -0400 Subject: [PATCH 1/4] chore: update xgov guide url --- src/xgov-dapp/src/features/rounds/index.tsx | 2 +- src/xgov-dapp/src/features/status/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xgov-dapp/src/features/rounds/index.tsx b/src/xgov-dapp/src/features/rounds/index.tsx index 702ba01..bb8ff92 100644 --- a/src/xgov-dapp/src/features/rounds/index.tsx +++ b/src/xgov-dapp/src/features/rounds/index.tsx @@ -69,7 +69,7 @@ const VotingRoundsPage = () => {
- + xGov Guide diff --git a/src/xgov-dapp/src/features/status/index.tsx b/src/xgov-dapp/src/features/status/index.tsx index 52be391..c202faa 100644 --- a/src/xgov-dapp/src/features/status/index.tsx +++ b/src/xgov-dapp/src/features/status/index.tsx @@ -151,7 +151,7 @@ function Status() { - + xGov Guide From 297ea44577a9891cae49759e8fc0b173c3458b26 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 24 Jun 2024 12:10:36 -0400 Subject: [PATCH 2/4] chore: remove program info --- src/xgov-dapp/src/features/status/index.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/xgov-dapp/src/features/status/index.tsx b/src/xgov-dapp/src/features/status/index.tsx index c202faa..069a124 100644 --- a/src/xgov-dapp/src/features/status/index.tsx +++ b/src/xgov-dapp/src/features/status/index.tsx @@ -144,12 +144,6 @@ function Status() { Your xGov stats
- - - xGov Program Info - - - xGov Guide From 438b87b12cf5cef30f492c3374e043fa1918cd77 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 24 Jun 2024 12:14:34 -0400 Subject: [PATCH 3/4] ci: increase threshold --- .github/workflows/node-ci.yml | 2 +- .github/workflows/pr.yml | 10 +++++----- .github/workflows/release.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index df0bede..3fa8362 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -25,7 +25,7 @@ on: audit-script: required: false type: string - default: npm audit --audit-level=high + default: npm audit --audit-level=critical build-script: required: false type: string diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8370563..4bbf8d5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,14 +20,14 @@ jobs: with: working-directory: ./src/dapp run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical build-xgov-dapp: name: xGov Dapp uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/xgov-dapp pre-run-script: cd ../dapp && npm ci - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical run-dispatch: true secrets: chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} @@ -37,7 +37,7 @@ jobs: uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/build-a-bull - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical secrets: npm-auth-token: ${{ secrets.GITHUB_TOKEN }} build-api: @@ -47,7 +47,7 @@ jobs: node-version: 18.x working-directory: ./src/voting-metadata-api run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical build-algorand: name: Algorand build uses: ./.github/workflows/smart-contract-ci.yml @@ -59,4 +59,4 @@ jobs: with: working-directory: ./infrastructure run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d9970e..6f17e3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: with: working-directory: ./src/dapp compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-xgov-dapp: name: CI xGov Dapp uses: ./.github/workflows/node-ci.yml @@ -30,27 +30,27 @@ jobs: working-directory: ./src/xgov-dapp pre-run-script: cd ../dapp && npm ci compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-events-dapp: name: CI Events Dapp uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/build-a-bull compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-api: name: CI API uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/voting-metadata-api compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-infrastructure: name: CI Infrastructure uses: ./.github/workflows/node-ci.yml with: working-directory: ./infrastructure - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-algorand: name: Algorand build uses: ./.github/workflows/smart-contract-ci.yml From 4400de7295d2a63b892be4ae4454a27978c47d2b Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 24 Jun 2024 12:24:05 -0400 Subject: [PATCH 4/4] chore: remove footer links --- src/xgov-dapp/src/components/siteFooter.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xgov-dapp/src/components/siteFooter.tsx b/src/xgov-dapp/src/components/siteFooter.tsx index dd2c604..f8aec26 100644 --- a/src/xgov-dapp/src/components/siteFooter.tsx +++ b/src/xgov-dapp/src/components/siteFooter.tsx @@ -14,9 +14,8 @@ function NavLink(props: { link: Link }) { } const links: Link[] = [ - { name: 'Algorand Community', href: 'https://community.algorand.org/' }, + { name: 'Algorand Community', href: 'https://forum.algorand.org/' }, { name: 'Developer Resources', href: 'https://developer.algorand.org/' }, - { name: 'FAQs', href: 'https://algorand.foundation/faq' }, { name: 'Disclaimers', href: 'https://algorand.foundation/terms-and-conditions-and-important-disclaimers-of-algo-token-incentives', @@ -25,7 +24,6 @@ const links: Link[] = [ name: 'Privacy Policies', href: 'https://algorandfoundationv2.cdn.prismic.io/algorandfoundationv2/120c23ac-cc63-4c42-a10e-a53169fa4134_AF_Privacy_Policy.pdf', }, - { name: 'Contact Us', href: 'https://algorand.foundation/contact' }, { name: 'Algorand Inc.', href: 'https://www.algorand.com/' }, ] export default function SiteFooter() {