Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
3c4585e
chore: update .gitignores to clarify tool version management file exc…
Ciabas May 16, 2025
c4eb4f4
feat: add updateWalletGivenName method to WalletManager for updating …
kneerose May 19, 2025
bb4556e
fix: update DRep comment visibility checks in proposal budget tests
kneerose May 19, 2025
891e918
fix: costing rejection test by focusing to display error message
kneerose May 19, 2025
d011b9a
fix: trim whitespace in proposal title search assertion
kneerose May 19, 2025
6396e29
chore: add outcomes and pdf-ui version tags to sentry
MSzalowski May 19, 2025
0b23e80
fix: increase timeout for visibility checks in DRep tests
kneerose May 20, 2025
d4d80d4
fix: handle unnecessary wait if title is already on response
kneerose May 20, 2025
49b6256
Merge pull request #3646 from IntersectMBO/feat/1613-provide-pdf-vers…
MSzalowski May 20, 2025
f5ed371
feat: add support for CIP129 in governance actions
Ciabas May 20, 2025
1a0ff7e
Added Sentiment Feedback Option to Feedback Modal
olindost May 20, 2025
049f930
feat: add deployment environment script and integrate into backend wo…
kneerose May 21, 2025
7e7fc25
fix: update report scripts to include GROUP_NAME in paths
kneerose May 21, 2025
c49541e
chore: add set deployment env logic for integration test
kneerose May 21, 2025
d16b35e
feat: add deployment environment setup for integration test workflow
kneerose May 21, 2025
c6256a1
fix: add group name before reportName on every workflow steps
kneerose May 21, 2025
415b1bd
chore: remove report registration step from backend and integration w…
kneerose May 21, 2025
6e77b72
fix: correct environment variable name for faucet stake private key
kneerose May 21, 2025
bc96e67
chore: remove unnecessary condition for group name
kneerose May 21, 2025
4a0566e
Merge pull request #3658 from IntersectMBO/refactor/report-workflow
kneerose May 21, 2025
f57b314
fix(#3192): fix missing proposals dashboard title
MSzalowski May 20, 2025
856ef3d
fix: add missing deployment url on integration test
kneerose May 22, 2025
3786d15
fix: deployment for schedule workflow
kneerose May 22, 2025
187bd70
Merge pull request #3661 from IntersectMBO/refactor/report-workflow
kneerose May 22, 2025
e528f5f
Merge pull request #3645 from IntersectMBO/fix/report-410-issue
kneerose May 22, 2025
1aa41e9
feat(#3619): CIP-129 support for gov_actions hashes in Live Voting (g…
Ciabas May 22, 2025
ae73c1d
Merge pull request #3654 from IntersectMBO/fix/3192-proposals-title-m…
MSzalowski May 22, 2025
a39bd39
feat: add support for Parameter Change and Hard Fork Initiation gov a…
MSzalowski May 21, 2025
a2cbaff
Merge pull request #3660 from IntersectMBO/feat/add-support-for-hard-…
MSzalowski May 22, 2025
60721e2
feat(#3622): home page redesign
MSzalowski May 16, 2025
22fe269
Merge pull request #3642 from IntersectMBO/feat/3622-updated-dashboar…
MSzalowski May 22, 2025
b9570d2
chore: update GovTool to v2.0.23
github-actions[bot] May 22, 2025
82e9083
Merge pull request #3663 from IntersectMBO/chore/update-govtool-to-v2…
MSzalowski May 22, 2025
8701000
feat: pass ada holder voting power request to PDF
MSzalowski May 22, 2025
fc6ceb7
feat: pass wallet name to wallet api
MSzalowski May 23, 2025
c158a74
fix: missing testIds on home page cards
Ciabas May 23, 2025
5048f6d
Merge pull request #3670 from IntersectMBO/feat/add-wallet-name-to-wa…
MSzalowski May 23, 2025
99ba41d
Merge pull request #3664 from IntersectMBO/feat/pass-ada-holder-votin…
MSzalowski May 23, 2025
0903942
Merge pull request #3671 from IntersectMBO/3669-missing-testids-and-t…
Ciabas May 23, 2025
9a2f971
fix(#3622): apply new design system theme changes to home page
MSzalowski May 23, 2025
a931f57
feat(#3622): add hover on home cards
MSzalowski May 23, 2025
74c6824
Merge pull request #3675 from IntersectMBO/fix/3622-layout-updates
MSzalowski May 23, 2025
dd1027a
chore: remove sanchonet and make preview as a default network
kneerose May 26, 2025
f2e60c1
fix: update text references from 'sanchonet' to 'preview' on default …
kneerose May 26, 2025
074afd0
fix: update text references to include selected network
kneerose May 26, 2025
d50d557
Merge pull request #3676 from IntersectMBO/fix/update-network-references
kneerose May 26, 2025
20dec46
fix: update dRep registration to use dRep keys instead of stake keys
kneerose May 26, 2025
845ef48
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-30
github-actions[bot] May 26, 2025
475458e
Merge pull request #3680 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m May 26, 2025
8e355bf
Revert "feat(#3622): home page redesign"
MSzalowski May 26, 2025
2b3e509
Revert "fix(#3622): apply new design system theme changes to home page"
MSzalowski May 26, 2025
5b73fb1
Revert "feat(#3622): add hover on home cards"
MSzalowski May 26, 2025
5313ce6
fix: increase timeout to visibility checks for delegated DRep card an…
kneerose May 27, 2025
4eb8518
fix: add group_name output to publish-report steps in backend and int…
kneerose May 27, 2025
87ba85a
Move label and description to config file
olindost May 27, 2025
75b29fb
Merge pull request #3684 from IntersectMBO/revert/3622
MSzalowski May 27, 2025
b5f778f
feat(#3672): add /account service for the usage of Proposal Discussio…
Ciabas May 26, 2025
52b1e8a
Merge pull request #3686 from IntersectMBO/fix/commit-status-report-url
kneerose May 28, 2025
4c620b9
fix: update test IDs for budget discussion form components and relate…
kneerose May 28, 2025
4617a46
feat: extend proposed government action type to support extra responses
kneerose May 28, 2025
374b880
feat: update budget propsoal filter logic to support updated filter
kneerose May 28, 2025
68f7292
Merge pull request #3691 from IntersectMBO/tests/budget-proposal-filter
kneerose May 28, 2025
36aa140
Merge pull request #3685 from IntersectMBO/fix/drep_teardown
kneerose May 28, 2025
4a1248e
fix(#3681): preserve maintenance banner expanded state
MSzalowski May 27, 2025
2238a84
feat(#3681): add local storage for the value persistence
MSzalowski May 27, 2025
e1a8db7
Merge pull request #3688 from IntersectMBO/fix/3681-bug-red-banner-co…
MSzalowski May 28, 2025
7260f0b
fix(#3490): add missing DRep references
MSzalowski May 28, 2025
8a7678f
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-31
github-actions[bot] May 28, 2025
9338a35
Merge pull request #3693 from IntersectMBO/fix/3490-off-chain-data-re…
Ciabas May 28, 2025
d60580d
Merge pull request #3694 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m May 28, 2025
875ba35
chore: update @intersect.mbo/govtool-outcomes-pillar-ui to v1.4.3
github-actions[bot] May 28, 2025
6b966f1
Merge pull request #3695 from IntersectMBO/chore/@intersect.mbo/govto…
bosko-m May 28, 2025
11fe8c7
Merge pull request #3656 from olindost/feature/3535-add-sentiment-fee…
MSzalowski May 29, 2025
9e58b59
cache
Ciabas May 29, 2025
170b196
Merge pull request #3687 from IntersectMBO/3672-add-account-service-f…
Ciabas May 29, 2025
592019c
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-32
github-actions[bot] May 29, 2025
36bc5d8
Merge pull request #3700 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m May 29, 2025
752cd26
Revert "Added Sentiment Feedback Option to Feedback Modal"
MSzalowski May 29, 2025
412a93f
Merge pull request #3701 from IntersectMBO/revert/olindost/usersnap-f…
Ciabas May 29, 2025
7f83827
fix: add remaining missing test ids of budget submission form
kneerose May 29, 2025
ea68d94
fix: overlapping banners over app content
MSzalowski May 29, 2025
45ed4a3
Merge pull request #3699 from IntersectMBO/fix/3681-red-banner-overla…
MSzalowski May 29, 2025
79f9269
Merge pull request #3696 from IntersectMBO/fix/budget-discussion-testId
kneerose May 30, 2025
1fa8aba
fix: update the content of the red banner displayed on GovTool
Ciabas May 30, 2025
f5a5252
Merge pull request #3706 from IntersectMBO/3702-update-red-banner-cop…
Ciabas May 30, 2025
7ed85f4
Merge pull request #3707 from IntersectMBO/develop
Ciabas May 30, 2025
f609a67
chore: split out generate-address from crypto
kneerose May 30, 2025
e0f0161
chore: update stake and address on propsal wallet setup
kneerose May 30, 2025
fc139c5
refactor: remove redundant stake key creation in proposal submission …
kneerose May 30, 2025
7a9f768
fix: Check if the input field is set; otherwise, skip the process on …
kneerose May 30, 2025
8e464f3
chore: update @cardanoapi/cardano-test-wallet to version 3.3.2
kneerose May 30, 2025
a40a8a9
feat: enhance sorting functionality for proposed governance actions
kneerose Jun 2, 2025
af7a9b1
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-33
github-actions[bot] Jun 2, 2025
c0260ca
Merge pull request #3711 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m Jun 2, 2025
a8e9049
Merge pull request #3712 from IntersectMBO/develop
bosko-m Jun 2, 2025
aa41aa1
fix: update response URL filter for vote count in proposal visibility…
kneerose Jun 3, 2025
e5ba568
fix: handle visibility of progress bar during outcome searches
kneerose Jun 3, 2025
6c9751c
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-34
github-actions[bot] Jun 3, 2025
78bcc2c
Merge pull request #3718 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m Jun 3, 2025
15c62a7
fix(#3714): type error on linkReferences when editing dRep page
Ciabas Jun 3, 2025
ead46a0
Merge pull request #3717 from IntersectMBO/3714-blank-screen-and-type…
bosko-m Jun 3, 2025
a5cab03
Merge pull request #3708 from IntersectMBO/fix/test-proposal-wallet-i…
kneerose Jun 3, 2025
b9b2dfb
Merge pull request #3710 from IntersectMBO/tests/proposal-discussion-…
kneerose Jun 3, 2025
04aa7d6
fix: correct abstain votes reference in outcome details test
kneerose May 29, 2025
958a19e
fix: outcome no proposal test failing issue
kneerose May 29, 2025
527d34d
chore: decouple dRep auth setup from dRep setup dependency
kneerose May 29, 2025
1c2e7f0
feat: skip propsoal/ draft creation test for mainnet
kneerose May 29, 2025
f2c682c
fix: add missing testId of insufficient wallet balance dialog
kneerose May 30, 2025
00de129
cleanup: remove unnecessary package-lock file
kneerose May 30, 2025
991814f
fix: add faucet address on merge utxo inputs
kneerose May 30, 2025
ccc1aa7
Merge pull request #3703 from IntersectMBO/feat/mainnet-test
kneerose Jun 3, 2025
80aedef
fix(#3709): edit dRep form adds two link input fields instead of one
Ciabas Jun 3, 2025
2463d16
Merge pull request #3719 from IntersectMBO/3709-edit-drep-form-adds-t…
bosko-m Jun 3, 2025
8abcc81
chore: update @intersect.mbo/pdf-ui to 0.7.0-beta-35
github-actions[bot] Jun 3, 2025
820e0f0
Merge pull request #3720 from IntersectMBO/chore/@intersect.mbo/pdf-u…
bosko-m Jun 3, 2025
a3cc347
Merge pull request #3721 from IntersectMBO/develop
aaboyle878 Jun 3, 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
2 changes: 1 addition & 1 deletion .github/scripts/generate_latest_report_redirect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cat <<EOF > build/index.html
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=/$allure_report_path/$REPORT_NAME/$REPORT_NUMBER#behaviors">
<meta http-equiv="refresh" content="0; url=/$allure_report_path/$GROUP_NAME/$REPORT_NAME/$REPORT_NUMBER#behaviors">
<title>Redirecting...</title>
</head>
</html>
Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/generate_report_details.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

if [[ ! -d "gh-pages/$REPORT_NAME" ]]; then
if [[ ! -d "gh-pages/$GROUP_NAME/$REPORT_NAME" ]]; then
latest_number=0
else
gh_pages_content=$(ls "gh-pages/$REPORT_NAME/")
gh_pages_content=$(ls "gh-pages/$GROUP_NAME/$REPORT_NAME/")
latest_number=$(echo "$gh_pages_content" | grep -Eo '[0-9]+' | sort -nr | head -n 1)
fi

echo "report_number=$((latest_number+1))" >> $GITHUB_OUTPUT
echo "report_url=https://$(dirname "$GH_PAGES").github.io/$(basename "$GH_PAGES")/$REPORT_NAME" >> $GITHUB_OUTPUT
echo "report_url=https://$(dirname "$GH_PAGES").github.io/$(basename "$GH_PAGES")/$GROUP_NAME/$REPORT_NAME" >> $GITHUB_OUTPUT

15 changes: 0 additions & 15 deletions .github/scripts/register_report.sh

This file was deleted.

4 changes: 2 additions & 2 deletions .github/scripts/remove_oldest_report.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [ -d "gh-pages/$REPORT_NAME" ]; then
cd gh-pages/$REPORT_NAME
if [ -d "gh-pages/$GROUP_NAME/$REPORT_NAME" ]; then
cd gh-pages/$GROUP_NAME/$REPORT_NAME

# Count the number of numerical directories
dir_count=$(find . -maxdepth 1 -type d -regex './[0-9]+' | wc -l)
Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/set_commit_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ fi

# Determine target URL based on environment
case "$GH_PAGES" in
"IntersectMBO/govtool-test-reports") TARGET_URL="https://intersectmbo.github.io/govtool-test-reports/${REPORT_NAME}/${REPORT_NUMBER}" ;;
"cardanoapi/govtool-test-reports") TARGET_URL="https://cardanoapi.github.io/govtool-test-reports/${REPORT_NAME}/${REPORT_NUMBER}" ;;
*) TARGET_URL="https://intersectmbo.github.io/govtool-test-reports/${REPORT_NAME}/${REPORT_NUMBER}" ;;
"IntersectMBO/govtool-test-reports") TARGET_URL="https://intersectmbo.github.io/govtool-test-reports/${GROUP_NAME}/${REPORT_NAME}/${REPORT_NUMBER}" ;;
"cardanoapi/govtool-test-reports") TARGET_URL="https://cardanoapi.github.io/govtool-test-reports/${GROUP_NAME}/${REPORT_NAME}/${REPORT_NUMBER}" ;;
*) TARGET_URL="https://intersectmbo.github.io/govtool-test-reports/${GROUP_NAME}/${REPORT_NAME}/${REPORT_NUMBER}" ;;
esac

# Determine test result message
Expand Down
19 changes: 19 additions & 0 deletions .github/scripts/set_deployment_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

DEPLOYMENT=${DEPLOYMENT:-"govtool.cardanoapi.io/api"}
GROUP_NAME="qa"

if [[ "$DEPLOYMENT" == "preview.gov.tools" || "$DEPLOYMENT" == "be.preview.gov.tools" || "$DEPLOYMENT" == "z6b8d2f7a-zca4a4c45-gtw.z937eb260.rustrocks.fr" ]]; then
GROUP_NAME="preview"
elif [[ "$DEPLOYMENT" == "gov.tools" || "$DEPLOYMENT" == "be.gov.tools" ]]; then
GROUP_NAME="mainnet"
elif [[ "$DEPLOYMENT" == "p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr" || "$DEPLOYMENT" == "z78acf3c2-z5575152b-gtw.z937eb260.rustrocks.fr" ]]; then
GROUP_NAME="dev"
else
GROUP_NAME="qa"
fi

# Set environment variable for GitHub Actions
echo "GROUP_NAME=${GROUP_NAME}" >>$GITHUB_ENV
echo "group_name=${GROUP_NAME}" >>$GITHUB_OUTPUT
echo "Setting deployment environment to: ${GROUP_NAME}"
34 changes: 15 additions & 19 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
workflow_run:
workflows: ["Build and deploy GovTool test stack"]
types: [completed]
branches:
branches:
- test
- infra/test-chores

Expand All @@ -59,6 +59,7 @@ jobs:

- name: Set pending commit status
id: set-pending-status
if: ${{ !github.event.schedule }}
run: |
echo "timestamp=$(date +%s)" >> $GITHUB_OUTPUT
curl -X POST -H "Authorization: Bearer ${{ github.token }}" \
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
needs: backend-tests
outputs:
report_number: ${{ steps.report-details.outputs.report_number }}
group_name: ${{ steps.set-deployment-url.outputs.group_name }}
steps:
- uses: actions/checkout@v4
- name: Download results
Expand All @@ -121,27 +123,18 @@ jobs:
repository: ${{vars.GH_PAGES}}
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Set Deployment Environment
id: set-deployment-url
run: |
chmod +x .github/scripts/set_deployment_environment.sh
.github/scripts/set_deployment_environment.sh

- name: Remove oldest report to save space
if: ${{success()}}
run: |
chmod +x .github/scripts/remove_oldest_report.sh
.github/scripts/remove_oldest_report.sh

- name: Register report
id: register-project
if: ${{success()}}
run: |
chmod +x .github/scripts/register_report.sh
.github/scripts/register_report.sh

- if: steps.register-project.outputs.project_exists != 'true'
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
repository-name: ${{vars.GH_PAGES}}
branch: gh-pages
folder: project

- name: Generate report details
id: report-details
run: |
Expand All @@ -153,7 +146,7 @@ jobs:
id: allure-report
with:
allure_results: allure-results
gh_pages: gh-pages/${{env.REPORT_NAME}}
gh_pages: gh-pages/${{steps.set-deployment-url.outputs.group_name}}/${{env.REPORT_NAME}}
allure_report: allure-report
allure_history: allure-history
keep_reports: 2000
Expand All @@ -172,7 +165,7 @@ jobs:
repository-name: ${{vars.GH_PAGES}}
branch: gh-pages
folder: build
target-folder: ${{ env.REPORT_NAME }}
target-folder: ${{steps.set-deployment-url.outputs.group_name}}/${{ env.REPORT_NAME }}

publish-status:
runs-on: ubuntu-latest
Expand All @@ -185,8 +178,9 @@ jobs:
with:
name: allure-results
path: allure-results

- name: Set Commit Status
if: always()
if: always() && !github.event.schedule
run: |
chmod +x .github/scripts/set_commit_status.sh
.github/scripts/set_commit_status.sh
Expand All @@ -195,9 +189,11 @@ jobs:
TEST_STATUS: ${{ needs.backend-tests.outputs.status }}
REPORT_NUMBER: ${{ needs.publish-report.outputs.report_number }}
GITHUB_TOKEN: ${{ github.token }}
GROUP_NAME: ${{ needs.publish-report.outputs.group_name }}

env:
BASE_URL: https://${{github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api' }}
DEPLOYMENT: ${{ github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api'}}
REPORT_NAME: ${{ github.event.schedule && 'nightly-'}}govtool-backend
GH_PAGES: ${{vars.GH_PAGES}}
COMMIT_SHA: ${{ github.event.workflow_run.head_sha || github.sha }}
34 changes: 15 additions & 19 deletions .github/workflows/test_integration_playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
with:
ref: ${{ env.COMMIT_SHA }}
- name: Set pending commit status
if: ${{ !github.event.schedule }}
id: set-pending-status
run: |
echo "timestamp=$(date +%s)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -136,14 +137,15 @@ jobs:
FAUCET_ADDRESS: ${{vars.FAUCET_ADDRESS}}
CARDANOAPI_METADATA_URL: ${{vars.CARDANOAPI_METADATA_URL}}
FAUCET_PAYMENT_PRIVATE: ${{secrets.FAUCET_PAYMENT_PRIVATE}}
FAUCET_STAKE_PKH: ${{secrets.FAUCET_STAKE_PKH}}
FAUCET_STAKE_PRIVATE: ${{secrets.FAUCET_STAKE_PRIVATE}}

publish-report:
runs-on: ubuntu-latest
if: always() && needs.integration-tests.result != 'skipped'
needs: integration-tests
outputs:
report_number: ${{ steps.report-details.outputs.report_number }}
group_name: ${{ steps.set-deployment-url.outputs.group_name }}
steps:
- uses: actions/checkout@v4
- name: Download report
Expand All @@ -161,27 +163,18 @@ jobs:
repository: ${{vars.GH_PAGES}}
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Set Deployment Environment
id: set-deployment-url
run: |
chmod +x .github/scripts/set_deployment_environment.sh
.github/scripts/set_deployment_environment.sh

- name: Remove oldest report to save space
if: ${{success()}}
run: |
chmod +x .github/scripts/remove_oldest_report.sh
.github/scripts/remove_oldest_report.sh

- name: Register report
id: register-project
if: ${{success()}}
run: |
chmod +x .github/scripts/register_report.sh
.github/scripts/register_report.sh

- if: steps.register-project.outputs.project_exists != 'true'
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
repository-name: ${{vars.GH_PAGES}}
branch: gh-pages
folder: project

- name: Generate report details
id: report-details
run: |
Expand All @@ -194,7 +187,7 @@ jobs:
id: allure-report
with:
allure_results: allure-results
gh_pages: gh-pages/${{env.REPORT_NAME}}
gh_pages: gh-pages/${{steps.set-deployment-url.outputs.group_name}}/${{env.REPORT_NAME}}
allure_report: allure-report
allure_history: allure-history
keep_reports: 2000
Expand All @@ -213,7 +206,7 @@ jobs:
repository-name: ${{vars.GH_PAGES}}
branch: gh-pages
folder: build
target-folder: ${{ env.REPORT_NAME }}
target-folder: ${{steps.set-deployment-url.outputs.group_name}}/${{ env.REPORT_NAME }}

publish-status:
runs-on: ubuntu-latest
Expand All @@ -226,8 +219,9 @@ jobs:
with:
name: allure-results
path: allure-results

- name: Set Commit Status
if: always()
if: always() && !github.event.schedule
run: |
chmod +x .github/scripts/set_commit_status.sh
.github/scripts/set_commit_status.sh
Expand All @@ -236,8 +230,10 @@ jobs:
TEST_STATUS: ${{ needs.integration-tests.outputs.status }}
REPORT_NUMBER: ${{ needs.publish-report.outputs.report_number }}
GITHUB_TOKEN: ${{ github.token }}
GROUP_NAME: ${{ needs.publish-report.outputs.group_name }}
env:
HOST_URL: https://${{ github.event.schedule && 'preview.gov.tools' || (inputs.deployment || 'govtool.cardanoapi.io') }}
DEPLOYMENT: ${{ github.event.schedule && 'preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io'}}
REPORT_NAME: ${{ github.event.schedule && 'nightly-'}}govtool-frontend
GH_PAGES: ${{vars.GH_PAGES}}
COMMIT_SHA: ${{ github.event.workflow_run.head_sha || github.sha }}
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,31 @@ changes.

### Added

- Preserve maintenance ending banner state on the wallet connection change [Issue 3681](https://github.com/IntersectMBO/govtool/issues/3681)

### Fixed

- Fix missing off chain references in DRep details [Issue 3490](https://github.com/IntersectMBO/govtool/issues/3490)
- Fix blank screen and type error on linkReferences when navigating to edit dRep page that has no links [Issue 3714](https://github.com/IntersectMBO/govtool/issues/3714)
- Fix adding two link input fields when editing the dRep form when no links are present initially [Issue 3709](https://github.com/IntersectMBO/govtool/issues/3709)

### Changed

### Removed

## [v2.0.23](https://github.com/IntersectMBO/govtool/releases/tag/v2.0.23) 2025-05-22

### Added

- Add CIP-129 support for gov_actions hashes in Live Voting (governance actions) [Issue 3619](https://github.com/IntersectMBO/govtool/issues/3619)

- Add maintenance ending banner [Issue 3647](https://github.com/IntersectMBO/govtool/issues/3647)
- Add support for the Protocol Parameter Change and Hard Fork Initiation governance actions

### Fixed

- Fix displaying proposals title in details page [Issue 3192](https://github.com/IntersectMBO/govtool/issues/3192)

### Changed

### Removed
Expand Down
4 changes: 2 additions & 2 deletions gov-action-loader/frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export default {
data() {
return {
tab: null,
selectedNetwork: 'Sanchonet', // Default selection
networkOptions: ['Sanchonet', 'Preview', 'Preprod'],
selectedNetwork: 'Preview', // Default selection
networkOptions: ['Preview', 'Preprod'],
walletInfo: {
address: null,
balance: null,
Expand Down
5 changes: 4 additions & 1 deletion gov-action-loader/frontend/src/views/BulkLoad.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { prepareErrorMessage } from '../utils'
<!--For displaying the title and description-->
<div class="mb-4">
<div class="text-h5">Governance Action Bulk Loader</div>
<div class="text-grey mt-1">Submit to load the required number of a given action to sanchonet.</div>
<div class="text-grey mt-1">Submit to load the required number of a given action to {{ selectedNetwork.toLowerCase() }}.</div>
</div>

<!--For selecting the action type and number of proposals-->
Expand Down Expand Up @@ -68,6 +68,9 @@ import { prepareErrorMessage } from '../utils'
import { submitMultipleProposals } from '../api'

export default {
props: {
selectedNetwork: String,
},
data() {
return {
actionTypes: ['Constitution', 'Info', 'Withdrawal', 'No-Confidence', 'Update-Committee', 'Hardfork', 'Update-Parameters'],
Expand Down
2 changes: 1 addition & 1 deletion gov-action-loader/frontend/src/views/SpecificLoad.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import config from '../config'
<!-- Helper title and subtext -->
<div class="mb-4">
<div class="text-h5">Specific Governance Action Loader</div>
<div class="text-grey mt-1">Fill in the details according to specific action submit to sanchonet.</div>
<div class="text-grey mt-1">Fill in the details according to specific action submit to {{ selectedNetwork.toLowerCase() }}.</div>
</div>
<!-- Form for action loader -->
<div class="mt-8">
Expand Down
3 changes: 3 additions & 0 deletions govtool/backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# other
.vscode
dev-config.json

# Tool version management file (e.g., asdf version manager)
.tool-versions
2 changes: 1 addition & 1 deletion govtool/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG
WORKDIR /src
COPY . .
RUN cabal build
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-2.0.22/x/vva-be/build/vva-be/vva-be /usr/local/bin
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-2.0.23/x/vva-be/build/vva-be/vva-be /usr/local/bin
2 changes: 1 addition & 1 deletion govtool/backend/Dockerfile.qovery
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG
WORKDIR /src
COPY . .
RUN cabal build
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-2.0.22/x/vva-be/build/vva-be/vva-be /usr/local/bin
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-2.0.23/x/vva-be/build/vva-be/vva-be /usr/local/bin

# Expose the necessary port
EXPOSE 9876
Expand Down
2 changes: 2 additions & 0 deletions govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ startApp vvaConfig sentryService = do
networkInfoCache <- newCache
networkTotalStakeCache <- newCache
dRepVotingPowerListCache <- newCache
accountInfoCache <- newCache
return $ CacheEnv
{ proposalListCache
, getProposalCache
Expand All @@ -139,6 +140,7 @@ startApp vvaConfig sentryService = do
, networkInfoCache
, networkTotalStakeCache
, dRepVotingPowerListCache
, accountInfoCache
}

let connectionString = encodeUtf8 (dbSyncConnectionString $ getter vvaConfig)
Expand Down
Loading
Loading