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

sancho-v1.0.5 #1286

Merged
merged 227 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
8eca432
replace metadata validation service
Sworzen1 May 29, 2024
b88aa2f
delete unnecessary util
Sworzen1 May 29, 2024
5bca641
fix GA story
Sworzen1 May 31, 2024
13db99e
fix type
Sworzen1 May 31, 2024
103f040
fix Voted GAs
Sworzen1 May 31, 2024
bb14ce8
take GA metadata from metadataStatus
Sworzen1 May 31, 2024
2d98ec4
change name of const
Sworzen1 Jun 4, 2024
0ceb452
add translations for insufficient balance error modal
Sworzen1 Jun 4, 2024
60a80b7
display modal on click propose GA on dashboard
Sworzen1 Jun 4, 2024
9dbf90f
display modal on submit GA
Sworzen1 Jun 4, 2024
cd02e38
change way to handle is delegation process
Sworzen1 Jun 4, 2024
5490f3f
add is delegation for drep card
Sworzen1 Jun 4, 2024
f71d900
change way to handle is delegation process for automated voting options
Sworzen1 Jun 4, 2024
414dc45
change props hierarchy in Button component
Sworzen1 Jun 4, 2024
9aff427
add change for drep details
Sworzen1 Jun 4, 2024
404c54d
fix drep card is loading
Sworzen1 Jun 4, 2024
3a1302a
add bio for drep registration
Sworzen1 Jun 4, 2024
e4e2a99
Align dRep directory tests with cardano-test-plans
NabinKawan May 31, 2024
b74a075
Align drepRegistration and governance action tests with cardano-test-…
kneerose May 31, 2024
aa7dccd
chore: Skip test 4J, and Rename 4D to 4C.3
NabinKawan Jun 5, 2024
eeb2244
chore: Fix typo and Rename variables
NabinKawan Jun 5, 2024
97fc12d
Merge pull request #1165 from IntersectMBO/refactor/tests-to-use-card…
NabinKawan Jun 5, 2024
88cfa50
Enhance flexibility for local development
NabinKawan Jun 3, 2024
c2b3c7e
chore: Rename variables (temp. wallets count)
NabinKawan Jun 5, 2024
bd9ce30
Merge pull request #1166 from IntersectMBO/enhancement/local-development
NabinKawan Jun 5, 2024
45515ac
fix: External URL checks by mocking proposals
NabinKawan Jun 3, 2024
862c91f
chore: Remove unwanted log message
NabinKawan Jun 5, 2024
024a140
Merge pull request #1167 from IntersectMBO/fix/external-url-checks
NabinKawan Jun 5, 2024
d0f5f06
test: Remove test 4I as it cannot be performed on integration testing
kneerose Jun 3, 2024
ece88e4
fix: Flaky test 5E , 5I
kneerose Jun 3, 2024
a394f41
fix: delegation failed test
kneerose Jun 3, 2024
789d51b
fix: DRep registration and proposal visibility test
kneerose Jun 3, 2024
eba31c2
fix:Missing balance issue
kneerose Jun 4, 2024
25c6ed9
Merge pull request #1168 from IntersectMBO/fix/flaky-tests
NabinKawan Jun 5, 2024
fe3de32
test: Validate review submission
kneerose May 30, 2024
66ccd18
test: Proposal submission
kneerose May 31, 2024
dcbc5e8
Refactor: Remove 'test.slow' and add comment explaining using test.slow
kneerose May 31, 2024
3cf4557
Merge pull request #1116 from IntersectMBO/complete-proposal-submissi…
NabinKawan Jun 5, 2024
24688d6
feat: integrate pdf-ui package into govtool
MSzalowski May 29, 2024
949739c
chore: change working directory
MSzalowski Jun 5, 2024
88ae898
chore: add working directory as artifact
MSzalowski Jun 5, 2024
6c1e85b
chore: add npmrc to every job
MSzalowski Jun 5, 2024
1a9c455
fix references body data
Sworzen1 Jun 5, 2024
24d8594
chore: increase max old space size for test job
MSzalowski Jun 5, 2024
5c20403
change test for generate metadata
Sworzen1 Jun 5, 2024
d0bbb84
delete console log
Sworzen1 Jun 5, 2024
d435efe
Merge pull request #1164 from IntersectMBO/fix/test-ids
Sworzen1 Jun 5, 2024
26e868f
Merge pull request #1161 from IntersectMBO/fix/1079-bug-multiple-wall…
Sworzen1 Jun 5, 2024
e1f9da6
Merge pull request #1159 from IntersectMBO/fix/1078-bug-abstain-and-s…
Sworzen1 Jun 5, 2024
502141c
Merge pull request #1156 from IntersectMBO/fix/509-ga-submit-where-th…
Sworzen1 Jun 5, 2024
213df3c
Merge pull request #1146 from IntersectMBO/feat/1090-integrate-pdf-in…
MSzalowski Jun 5, 2024
d475828
Merge pull request #1170 from IntersectMBO/fix/1169-wrong-references-…
Sworzen1 Jun 5, 2024
ff54750
test: Delegated ADA display to DRep
NabinKawan May 22, 2024
e9b71e6
test: Add test 4L and 4M
kneerose Jun 5, 2024
0639c5f
test: Add provide context validation test 5D
kneerose Jun 3, 2024
5843181
test: Validate metadata anchor
NabinKawan Jun 5, 2024
4840021
test: Validate dRep metadata anchor
NabinKawan Jun 5, 2024
e8eb67c
test: Edit dRep form validations
NabinKawan Jun 5, 2024
0c19484
test: DRep registration metadata validation
NabinKawan Jun 5, 2024
397d412
test: Edit dRep metadata validation
NabinKawan Jun 5, 2024
cd1c7f9
fix: Validate dRep metadata anchor
NabinKawan Jun 5, 2024
08be1e1
fix: 2W. Visibility delegated ADA to DRep
NabinKawan Jun 5, 2024
96c3a00
test: verify info and voting power of abstain and signal-no-confidence
kneerose Jun 5, 2024
1e4d381
test: Proposal submission form and Metadata validation
kneerose Jun 5, 2024
a5c608c
fix: 2W. Wallet overlapping
NabinKawan Jun 5, 2024
beab827
chore: Allure report visibility for edit_dRep and proposalSubmission …
NabinKawan Jun 5, 2024
f27ce68
fix: Resolve Wallet Popup Timeout Issue
NabinKawan Jun 5, 2024
b32a05c
[#262] Add missing documentation about deployment of additional services
placek May 8, 2024
52e61ef
[#262] Add an overview of the infrastructure in the documentation
placek May 8, 2024
3798dca
[#1142] fetch metadata from metadata-validation-service
jankun4 Jun 6, 2024
3dd4f4d
Merge pull request #1077 from IntersectMBO/extended/tests
NabinKawan Jun 6, 2024
8b157a8
fix: proposal sorting logic in test
NabinKawan Jun 6, 2024
430ff15
fix: proposal filtering validation in test
NabinKawan Jun 6, 2024
9871eaa
chore: Address interference from wallet connected toast notification …
NabinKawan Jun 6, 2024
9e5ebcb
chore: Remove retries for 2E, and 2S
NabinKawan Jun 6, 2024
5184431
fix: Resolve balance issue in test case 2W
NabinKawan Jun 6, 2024
aa1ec04
chore: Update temporary wallets count
NabinKawan Jun 6, 2024
f8741fe
docs: create outline of the architecture documentation
MSzalowski May 6, 2024
cb173e3
fix: Resolve wallet popup timeout issue in voting
NabinKawan Jun 6, 2024
3e0f4b9
Merge branch 'fix/1111-replace-metadata-validation-service-with-api' …
Sworzen1 Jun 6, 2024
c1e3118
chore: Replace hardcoded dRep registration amount with protocol params
NabinKawan Jun 6, 2024
274f40a
change types
Sworzen1 Jun 6, 2024
40e05a9
fix util and test
Sworzen1 Jun 6, 2024
81d8e8d
change types in hooks
Sworzen1 Jun 6, 2024
0d23677
adjust screens and components
Sworzen1 Jun 6, 2024
5e9b603
feat: update maintenance page title&description
MSzalowski Jun 6, 2024
cffdf4d
chore: set usersnap api key on dockerfile
MSzalowski Jun 6, 2024
8cb2a08
Merge pull request #1185 from IntersectMBO/feat/update-maintenance-pa…
Sworzen1 Jun 6, 2024
a88e6bf
Merge pull request #1186 from IntersectMBO/chore/set-usersnap-space-a…
MSzalowski Jun 6, 2024
8130f4a
improvement
Sworzen1 Jun 6, 2024
4beb408
[#1142] fetch metadata from metadata-validation-service
jankun4 Jun 6, 2024
3bca876
replace metadata validation service
Sworzen1 May 29, 2024
7d5c34b
delete unnecessary util
Sworzen1 May 29, 2024
aa909de
fix GA story
Sworzen1 May 31, 2024
33fe682
fix type
Sworzen1 May 31, 2024
27dfc74
fix Voted GAs
Sworzen1 May 31, 2024
315c323
take GA metadata from metadataStatus
Sworzen1 May 31, 2024
69c08cf
change types
Sworzen1 Jun 6, 2024
0228dfc
fix util and test
Sworzen1 Jun 6, 2024
ea19bdd
change types in hooks
Sworzen1 Jun 6, 2024
53f675a
adjust screens and components
Sworzen1 Jun 6, 2024
2bef202
improvement
Sworzen1 Jun 6, 2024
30286d8
chore: fix tsc errors
MSzalowski Jun 6, 2024
122cf03
Merge branch '1142-metadata-validation-problems' of https://github.co…
Sworzen1 Jun 6, 2024
0fc2519
fix: metadata validation
MSzalowski Jun 6, 2024
99eeed3
Merge pull request #1189 from IntersectMBO/fix/1178-ga-submitting-pro…
MSzalowski Jun 6, 2024
a7227a6
Merge branch '1142-metadata-validation-problems' of https://github.co…
Sworzen1 Jun 6, 2024
3f7fc60
chore: disable pdf for the envs other than develop
MSzalowski Jun 6, 2024
9d6c886
fix: fix metadata references validation
MSzalowski Jun 6, 2024
ecaff7e
Merge branch '1142-metadata-validation-problems' of https://github.co…
Sworzen1 Jun 6, 2024
d07225a
Merge pull request #1190 from IntersectMBO/chore/blacklist-pdf-pillar…
MSzalowski Jun 6, 2024
df2384d
change drep types
Sworzen1 Jun 6, 2024
3735872
add translations
Sworzen1 Jun 6, 2024
a4861d3
change component name for reuse
Sworzen1 Jun 6, 2024
8d9e7b1
improve components
Sworzen1 Jun 6, 2024
ac76edc
adjust drep directory
Sworzen1 Jun 6, 2024
8efc99a
adjust drep test
Sworzen1 Jun 6, 2024
58babd1
adjust edit drep
Sworzen1 Jun 6, 2024
be8548b
fix ga metadata status translation test
Sworzen1 Jun 7, 2024
204ae85
Merge pull request #1143 from IntersectMBO/1142-metadata-validation-p…
MSzalowski Jun 7, 2024
0d98ced
fix: fix missing margin in drep details about section
MSzalowski Jun 7, 2024
85998b9
delete delegation for direct voter
Sworzen1 Jun 7, 2024
73d39bc
[#1195] Remove unnecessary deployment config dependancy
placek Jun 7, 2024
39f7663
Merge pull request #1191 from IntersectMBO/fix/direct-voter-delegatio…
Sworzen1 Jun 7, 2024
e7310e9
fix: fix vote context metadata creation
MSzalowski Jun 7, 2024
47b10cc
Merge pull request #1194 from IntersectMBO/fix/missing-margin-in-abou…
MSzalowski Jun 7, 2024
adfdb74
Merge pull request #1196 from IntersectMBO/fix/1195-troubleshooting-f…
MSzalowski Jun 7, 2024
b339d8d
Merge pull request #1198 from IntersectMBO/fix/1142-metadata-creation
MSzalowski Jun 7, 2024
0a369ee
chore: add proposal discussion forum feature flag
MSzalowski Jun 7, 2024
378aa25
Merge pull request #1200 from IntersectMBO/chore/add-proposal-discuss…
MSzalowski Jun 7, 2024
dddf6ea
chore: add missing variable to frontend make file
MSzalowski Jun 7, 2024
90b7999
Merge pull request #1201 from IntersectMBO/chore/add-proposal-discuss…
MSzalowski Jun 7, 2024
e43a5f8
chore: add missing arg in dockerfile
MSzalowski Jun 7, 2024
dde0653
Merge pull request #1202 from IntersectMBO/chore/add-proposal-discuss…
MSzalowski Jun 7, 2024
9b2593c
Merge pull request #1176 from IntersectMBO/develop
pmbinapps Jun 7, 2024
6cf68c6
chore: bump pdf-ui package
MSzalowski Jun 7, 2024
0af418d
Merge pull request #955 from IntersectMBO/docs/262-govtool-architectu…
MSzalowski Jun 7, 2024
34c4c2e
Merge pull request #1203 from IntersectMBO/chore/bump-pdf-ui-package-…
MSzalowski Jun 7, 2024
5eaa750
fix: fix unbound arg in frontend dockerfile
MSzalowski Jun 7, 2024
67883fd
Merge pull request #1204 from IntersectMBO/fix/fix-unbound-arg-for-pdf
MSzalowski Jun 7, 2024
0d412ea
Merge pull request #1205 from IntersectMBO/develop
pmbinapps Jun 7, 2024
3743f2f
chore: set defaults for PDF in yml deploy workflows
MSzalowski Jun 10, 2024
87835b5
Merge pull request #1212 from IntersectMBO/chore/set-defaults-in-yml-…
MSzalowski Jun 10, 2024
b47440e
Merge pull request #1214 from IntersectMBO/develop
MSzalowski Jun 10, 2024
903cc51
chore: Refactor test title numbering
kneerose Jun 5, 2024
1eed031
chore: Add proposal setup to generate temporary proposal wallets
kneerose Jun 6, 2024
b12e03d
fix: Proposal submission wallet issue
kneerose Jun 6, 2024
80df9c5
add trim func to file lenght for edit drep data and creat GA forms
Sworzen1 Jun 10, 2024
bf70682
add delegation on self when register a DRep
Sworzen1 Jun 10, 2024
c0da7cb
add drepname to dashboard delegaition card
Sworzen1 Jun 10, 2024
b46ff01
feat: create governance actions shared state
MSzalowski Jun 10, 2024
22ba50b
Merge pull request #1215 from IntersectMBO/test
MSzalowski Jun 10, 2024
3d289c5
Merge pull request #1219 from IntersectMBO/1210-drep-registration-jso…
Sworzen1 Jun 11, 2024
092c9b6
add validation 128 bytes length for url
Sworzen1 Jun 10, 2024
ec04318
Merge pull request #1226 from IntersectMBO/fix/1180-bug-metadata-anch…
Sworzen1 Jun 11, 2024
cd05b52
Merge pull request #1227 from IntersectMBO/fix/1211-when-submitting-a…
Sworzen1 Jun 11, 2024
45a6888
cleanup code
Sworzen1 Jun 10, 2024
9eda619
Merge pull request #1228 from IntersectMBO/chore/cleanup-code
Sworzen1 Jun 11, 2024
87e1d6c
Merge pull request #1229 from IntersectMBO/fix/1207-dashboard-drep-ca…
Sworzen1 Jun 11, 2024
b57fc34
Merge pull request #1230 from IntersectMBO/feat/1213-create-governanc…
MSzalowski Jun 11, 2024
36584b9
fix: fix empty strings drep data validation
MSzalowski Jun 11, 2024
6086bef
docs: update buildSignSubmit parameters in gov action creation guide
MSzalowski Jun 11, 2024
a4e522f
Merge pull request #1239 from IntersectMBO/docs/fix-governance-action…
MSzalowski Jun 11, 2024
854ab5c
Merge pull request #1238 from IntersectMBO/fix/fix-empty-strings-drep…
MSzalowski Jun 11, 2024
3519400
fix: Theme provider issue in storybook
NabinKawan Jun 10, 2024
fc350fe
fix: ActionsBar interactions test
NabinKawan Jun 10, 2024
7cc82db
fix: test interaction loading button
NabinKawan Jun 10, 2024
a5da0ac
Add interaction tests for card
NabinKawan Jun 10, 2024
6033b44
Add interaction tests for checkbox
NabinKawan Jun 10, 2024
91fde96
chore: Update DashboardTopNav interaction test
NabinKawan Jun 10, 2024
67d95c9
chore: Update DelegationActionRadio interaction test
NabinKawan Jun 10, 2024
fa48c61
chore: Update footer interaction test
NabinKawan Jun 10, 2024
d8feb98
chore: Add interaction tests for (data-missing, format incorrect, not…
NabinKawan Jun 10, 2024
889e817
test: Invalid GovernanceAction details
NabinKawan Jun 11, 2024
8b22deb
chore: refactor tests for Input story and add interaction for 'helpfu…
NabinKawan Jun 11, 2024
31c1d48
test: story LinkWithIcon
NabinKawan Jun 11, 2024
365d7b5
chore: test Slider component overflow
NabinKawan Jun 11, 2024
9dd228b
test: story StatusPill
NabinKawan Jun 11, 2024
3508c5c
test: story Step
NabinKawan Jun 11, 2024
a828db2
test: story TextArea
NabinKawan Jun 11, 2024
b07a830
chore: Remove home-link in TopNav story
NabinKawan Jun 11, 2024
be10f7e
test: story loading modal
NabinKawan Jun 11, 2024
917e503
test: story Voting Power Model
NabinKawan Jun 11, 2024
789ac3b
test: story dashboard card
NabinKawan Jun 11, 2024
5ff75a3
chore: Increase interaction test timeout to 30 sec
NabinKawan Jun 11, 2024
39af694
fix: story Footer interaction (feedback-footer-button)
NabinKawan Jun 11, 2024
b1badcc
chore: Remove helps-link test from Drawer story
NabinKawan Jun 11, 2024
1923281
chore: Add auth token config for pdf-ui
NabinKawan Jun 11, 2024
91c2a65
chore: Update test-storybook script in workflow
NabinKawan Jun 11, 2024
acbc83f
add link to register/ edit drep and create GA
Sworzen1 Jun 11, 2024
9e3d52b
chore: add pdf enable toggle to every deployment workflow
MSzalowski Jun 11, 2024
2b34325
Merge pull request #1242 from IntersectMBO/fix/1076-bug-missing-link-…
Sworzen1 Jun 11, 2024
27f05ce
Merge pull request #1245 from IntersectMBO/chore/add-pdf-enable-toggl…
MSzalowski Jun 11, 2024
470b36a
fix: fix uri validation of metadatas
MSzalowski Jun 11, 2024
26a23fd
Merge pull request #1247 from IntersectMBO/fix/fix-uri-validation-of-…
MSzalowski Jun 11, 2024
362b598
reward address CSL validation
Sworzen1 Jun 11, 2024
b619457
add tests
Sworzen1 Jun 11, 2024
f24c439
Merge pull request #1250 from IntersectMBO/develop
pmbinapps Jun 11, 2024
e68778a
Merge pull request #1255 from IntersectMBO/test
pmbinapps Jun 11, 2024
d359595
Merge pull request #1241 from IntersectMBO/fix/storybook-workflow-aut…
NabinKawan Jun 12, 2024
4c9f2b9
Merge pull request #1217 from IntersectMBO/fix/proposal-submission-wa…
NabinKawan Jun 12, 2024
41e307d
Merge pull request #1179 from IntersectMBO/fix/tests-proposal-filter
NabinKawan Jun 12, 2024
3fee2c4
Merge pull request #1182 from IntersectMBO/fix/flaky-tests
NabinKawan Jun 12, 2024
42a2be9
Merge pull request #1240 from IntersectMBO/feat/storybook-tests
NabinKawan Jun 12, 2024
0e350ea
chore: Update protocol params type to 'ProtocolParams'
NabinKawan Jun 12, 2024
53ed99e
Merge pull request #1251 from IntersectMBO/fix/1231-ga-treasury-unabl…
Sworzen1 Jun 12, 2024
5c5bb60
Merge pull request #1184 from IntersectMBO/enhancement/transaction-am…
NabinKawan Jun 12, 2024
e129035
change about to abstract
Sworzen1 Jun 12, 2024
d7b34d1
#1253 add ellipsize text for drep name
Sworzen1 Jun 12, 2024
6a53925
fix: fix governance action provider metadata creation
MSzalowski Jun 12, 2024
2cd8eba
Update docs/GOVERNANCE_ACTION_SUBMISSION.md
MSzalowski Jun 12, 2024
ac93f5f
fix: replace link with uri in all metadatas
MSzalowski Jun 12, 2024
047fb22
Merge pull request #1261 from IntersectMBO/fix/fix-references-in-json…
MSzalowski Jun 12, 2024
b66ed5d
#1257 hide delegation for delegation on myself
Sworzen1 Jun 12, 2024
2d9680b
#1257 improvememnt for abstain and no
Sworzen1 Jun 12, 2024
51b956b
#1253 improvement
Sworzen1 Jun 12, 2024
002734a
feat(#1246): update link to docs
MSzalowski Jun 12, 2024
42a9010
Merge pull request #1263 from IntersectMBO/feat/1246-update-link-to-docs
MSzalowski Jun 12, 2024
bb489f2
Merge pull request #1262 from IntersectMBO/fix/1257-dashboard-shows-d…
Sworzen1 Jun 12, 2024
983b1e0
Merge pull request #1258 from IntersectMBO/fix/1243-bug-incorrect-lab…
Sworzen1 Jun 12, 2024
09c0ade
chore: get rid of unused packages
MSzalowski Jun 12, 2024
636cf98
Merge pull request #1259 from IntersectMBO/fix/1253-dashboard-drep-ex…
Sworzen1 Jun 12, 2024
aacd543
Merge pull request #1264 from IntersectMBO/chore/get-rid-of-unused-pa…
MSzalowski Jun 12, 2024
1f569ca
fix(#1252): fix link to the GA details once in in progress
MSzalowski Jun 12, 2024
faf4605
Merge pull request #1265 from IntersectMBO/fix/1252-view-details-take…
MSzalowski Jun 12, 2024
7bdcf43
Merge pull request #1266 from IntersectMBO/develop
MSzalowski Jun 12, 2024
4ffa3f5
Merge pull request #1274 from IntersectMBO/test
MSzalowski Jun 13, 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
11 changes: 11 additions & 0 deletions .github/workflows/build-and-deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ run-name: Deploy by @${{ github.actor }}
# That should be executed on create: tag event
on:
workflow_dispatch:
inputs:
isProposalDiscussionForumEnabled:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
options:
- "enabled"
- "disabled"

env:
ENVIRONMENT: "beta"
Expand All @@ -27,6 +36,7 @@ jobs:
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
NEXT_PUBLIC_API_URL: "https://participation.sanchogov.tools"
Expand All @@ -37,6 +47,7 @@ jobs:
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ run-name: Deploy by @${{ github.actor }}

on:
workflow_dispatch:
inputs:
isProposalDiscussionForumEnabled:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
options:
- "enabled"
- "disabled"

env:
ENVIRONMENT: "dev"
Expand All @@ -26,6 +35,7 @@ jobs:
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
NEXT_PUBLIC_API_URL: "https://participation.sanchogov.tools"
Expand All @@ -37,6 +47,7 @@ jobs:
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ on:
push:
branches:
- staging
workflow_dispatch:
inputs:
isProposalDiscussionForumEnabled:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
options:
- "enabled"
- "disabled"

env:
ENVIRONMENT: "staging"
Expand All @@ -28,6 +38,7 @@ jobs:
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
NEXT_PUBLIC_API_URL: "https://participation.sanchogov.tools"
Expand All @@ -39,6 +50,7 @@ jobs:
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'false' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-and-deploy-test-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
Expand All @@ -46,4 +47,4 @@ jobs:
options: |
--verbose
env:
GOVTOOL_TAG: ${{ github.sha }}
GOVTOOL_TAG: ${{ github.sha }}
12 changes: 12 additions & 0 deletions .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ on:
push:
branches:
- test
workflow_dispatch:
inputs:
isProposalDiscussionForumEnabled:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
options:
- "enabled"
- "disabled"

env:
ENVIRONMENT: "test"
Expand All @@ -28,6 +38,7 @@ jobs:
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
NEXT_PUBLIC_API_URL: "https://participation.sanchogov.tools"
Expand All @@ -39,6 +50,7 @@ jobs:
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'false' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/code_check_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
paths:
- govtool/frontend/**
- .github/workflows/test_frontend.yml
- .github/workflows/code_check_frontend.yml

defaults:
run:
Expand All @@ -26,13 +26,17 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: "govtool/frontend/.nvmrc"
registry-url: "https://registry.npmjs.org/"
node-version-file: "./govtool/frontend/.nvmrc"
scope: "@intersect.mbo"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMRC_TOKEN }}

- name: 🧪 Test
env:
NODE_OPTIONS: "--max_old_space_size=4096"
NODE_OPTIONS: "--max_old_space_size=8192"
run: |
npm install
npm run test

lint:
Expand All @@ -50,11 +54,15 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: "govtool/frontend/.nvmrc"
registry-url: "https://registry.npmjs.org/"
node-version-file: "./govtool/frontend/.nvmrc"
scope: "@intersect.mbo"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMRC_TOKEN }}

- name: 👕 Lint
run: |
npm install
npm run lint

type_check:
Expand All @@ -72,9 +80,13 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: "govtool/frontend/.nvmrc"
registry-url: "https://registry.npmjs.org/"
node-version-file: "./govtool/frontend/.nvmrc"
scope: "@intersect.mbo"
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMRC_TOKEN }}

- name: 🔍 Type Check
run: |
npm install
npm run tsc
1 change: 1 addition & 0 deletions .github/workflows/deploy-dev-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }}
TRAEFIK_LE_EMAIL: "[email protected]"
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/resync-cardano-node-and-db-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }}
TRAEFIK_LE_EMAIL: "[email protected]"
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/test_storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ jobs:
storybook:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
run: |
npm config set @intersect.mbo:registry "https://registry.npmjs.org/" --location=global
npm config set //registry.npmjs.org/:_authToken ${NPMRC_TOKEN} --location=global
npm install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build Storybook
Expand All @@ -31,4 +32,8 @@ jobs:
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && npm run test-storybook"
"npx wait-on tcp:6006 && npm run test:storybook"

env:
NODE_OPTIONS: --max_old_space_size=4096
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ changes.

### Added

- added `bio` `dRepName` `email` `references` `metadataValid` and `metadataStatus` fields to `drep/list`
- added `metadatavalidationmaxconcurrentrequests` field to the backend config
- added `metadata/validate` endpoint [Issue 876](https://github.com/IntersectMBO/govtool/issues/876)
- added pagination to `drep/list` [Issue 756](https://github.com/IntersectMBO/govtool/issues/756)
- added search query param to the `drep/getVotes` [Issue 640](https://github.com/IntersectMBO/govtool/issues/640)
Expand Down Expand Up @@ -60,6 +62,7 @@ changes.
- Add type check & lint to github actions [Issue 512](https://github.com/IntersectMBO/govtool/issues/512)
- Add eslint & prettier to frontend package [Issue 166](https://github.com/IntersectMBO/govtool/issues/166)
- Add DRep list pagination [Issue 740](https://github.com/IntersectMBO/govtool/issues/740)
- Add PDF pillar [Issue 1090](https://github.com/IntersectMBO/govtool/issues/1090)

### Fixed

Expand Down Expand Up @@ -89,9 +92,12 @@ changes.
- Fix all the existing typescript errors [Issue 514](https://github.com/IntersectMBO/govtool/issues/514)
- Fix endless spinner on a dashboard [Issue 539](https://github.com/IntersectMBO/govtool/issues/539)
- Remove wrongly appended `Yourself` filter on DRep Directory [Issue 1028](https://github.com/IntersectMBO/govtool/issues/1028)
- Fix validation of uris in metadata [Issue 1011](https://github.com/IntersectMBO/govtool/issues/1011)
- Fix wrong link to the GA Details once it is in progress [Issue 1252](https://github.com/IntersectMBO/govtool/issues/1252)

### Changed

- `proposal.about` changed to `proposal.abstract`
- `drep/info` now returns 4 different tx hashes instead of one latest tx hash [Issue 688](https://github.com/IntersectMBO/govtool/issues/688)
- `proposal/list` allows user to search by tx hash [Issue 603](https://github.com/IntersectMBO/govtool/issues/603)
- `proposal/list` returns additional data such ass `expiryEpochNo`, `createdEpochNo`, `title`, `about`, `motivation`,
Expand Down Expand Up @@ -119,6 +125,7 @@ changes.
- Change input selection strategy to 3 (random) [Issue 575](https://github.com/IntersectMBO/govtool/issues/575)
- Changed documents to prepare for open source [Issue 737](https://github.com/IntersectMBO/govtool/issues/737)
- Changed copy on maintenance page [Issue 753](https://github.com/IntersectMBO/govtool/issues/753)
- Update link to docs [Issue 1246](https://github.com/IntersectMBO/govtool/issues/1246)

### Removed

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Learn more; [docs.sanchogov.tools](https://docs.sanchogov.tools/).

- [GovTool Backend](./govtool/backend/README.md)
- [GovTool Frontend](./govtool/frontend/README.md)
- [GovTool Infrastructure](./infra/)
- [GovTool Infrastructure](./infra/terraform/README.md)
- [GovTool deployment process](./scripts/govtool/README.md)
- [Documentation](./docs/)
- [Tests](./tests/)

Expand Down
Loading
Loading