Skip to content

post governance-rework#4502

Merged
zuzunker merged 11 commits intodevelopfrom
ruslan/post-governance-rework
Mar 17, 2026
Merged

post governance-rework#4502
zuzunker merged 11 commits intodevelopfrom
ruslan/post-governance-rework

Conversation

@zuzunker
Copy link
Member

@zuzunker zuzunker commented Mar 16, 2026

Continuing fixes and some UI rework after #4501


Note

Medium Risk
Medium risk because it removes an entire governance status route/component and changes delegation/staking UI flows and banner logic, which could affect navigation and user prompts in key wallet actions.

Overview
Governance UI is consolidated to a single entry point. The ROUTES.GOVERNANCE.OPTIONS path and GovernanceStatusPage/GovernanceStatus components are removed, and /governance now renders GovernanceOptionsPage directly (with NotAllowedInGovernance gating handled inside the page).

Promotional and gating UI around rewards/governance is removed. The Rewards banner type, queue logic, and RewardsBanner component are deleted, and DelegateButton no longer blocks staking delegation behind a governance-required modal.

Delegation UX is streamlined. useGovernanceDelegationToYoroiDrep is renamed/simplified to useGovernanceDelegation (dropping the direct delegateToDrep API), option-card skeleton loading is reduced from 4 to 3 cards, and some governance option page navigation/back UI and strings are trimmed/cleaned up.

Written by Cursor Bugbot for commit b857863. This will update automatically on new commits. Configure here.

@zuzunker zuzunker added this to the 5.22.0 milestone Mar 16, 2026
@zuzunker zuzunker self-assigned this Mar 16, 2026
@zuzunker zuzunker marked this pull request as ready for review March 16, 2026 21:27
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Copy link
Member Author

@zuzunker zuzunker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/check

@zuzunker zuzunker merged commit 3a14993 into develop Mar 17, 2026
13 of 21 checks passed
@zuzunker zuzunker deleted the ruslan/post-governance-rework branch March 17, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant