Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
16 changes: 8 additions & 8 deletions govtool/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions govtool/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"@emotion/styled": "^11.11.0",
"@emurgo/cardano-serialization-lib-asmjs": "^14.1.1",
"@hookform/resolvers": "^3.3.1",
"@intersect.mbo/govtool-outcomes-pillar-ui": "v1.5.5",
"@intersect.mbo/govtool-outcomes-pillar-ui": "v1.5.6",
"@intersect.mbo/intersectmbo.org-icons-set": "^1.0.8",
"@intersect.mbo/pdf-ui": "1.0.11-beta",
"@intersect.mbo/pdf-ui": "1.0.13-beta",
"@mui/icons-material": "^5.14.3",
"@mui/material": "^5.14.4",
"@noble/ed25519": "^2.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const DashboardGovernanceActionDetails = () => {
useEffect(() => {
const isProposalNotFound =
error instanceof AxiosError &&
error.response?.data.match(/Proposal with id: .* not found/);
error.response?.data.message.match(/Proposal with id: .* not found/);
if (isProposalNotFound && fullProposalId) {
navigate(
OUTCOMES_PATHS.governanceActionOutcomes.replace(":id", fullProposalId),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,22 @@ export const MaintenanceEndingBanner = () => {
variant="caption"
fontWeight={600}
color="common.white"
href="https://gov.tools/governance_actions/9d213a57684d7ddf6f3350c80d042639ecbed5ccccc4a05bf54959a086593e7b#0"
href="https://gov.tools/outcomes/governance_actions/9d213a57684d7ddf6f3350c80d042639ecbed5ccccc4a05bf54959a086593e7b#0"
data-testid="govtool-info-link"
target="_blank"
rel="noopener noreferrer"
/>,
]}
/>
</Typography>
<Typography
fontWeight={600}
variant="caption"
color="common.white"
mb={0.5}
>
{t("system.maintenanceEnding.description2")}
</Typography>
</Box>
</Box>
</Box>
Expand Down
5 changes: 3 additions & 2 deletions govtool/frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,9 @@
"title": "This tool is connected to {{networkName}}",
"bootstrappingWarning": "Govtool is in the Bootstrapping phase. Some features are not available. <docs>Learn more</docs>",
"maintenanceEnding": {
"title": "🔥 GovTool needs your support - Info Action is submitted",
"description1": "This Info Action outlines the revised GovTool plan and <0>your vote</0> is essential to continue active development and maintenance for the next 12 months, keeping community owned open governance tooling on Cardano."
"title": "\uD83D\uDCA1 Next Step: Treasury Withdrawal based on your feedback is coming soon",
"description1": "<0>The Info Action</0> has passed — thank you for your support!",
"description2": "We’re now preparing a Treasury Withdrawal proposal that reflects the feedback gathered during the voting phase to ensure continued development and maintenance of GovTool as a community-owned governance interface on Cardano."
}
},
"tooltips": {
Expand Down
2 changes: 1 addition & 1 deletion govtool/frontend/src/pages/GovernanceActionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const GovernanceActionDetails = () => {
useEffect(() => {
const isProposalNotFound =
error instanceof AxiosError &&
error.response?.data.match(/Proposal with id: .* not found/);
error.response?.data.message.match(/Proposal with id: .* not found/);
if (isProposalNotFound && fullProposalId) {
navigate(
OUTCOMES_PATHS.governanceActionOutcomes.replace(":id", fullProposalId),
Expand Down