Skip to content

Add a "Governance Impact" badge to ProposalCard for AddOwner/RemoveOwner/ChangeOwnerWeight proposals, distinct from ordinary Transfer proposals #399

Description

@thegreatfeez

Frontend — Dashboard

Summary

Some proposals move funds while others change who controls the multisig. This adds a distinct "Governance Impact" badge to proposal cards for proposals that alter ownership or voting power, so reviewers immediately see that a proposal changes governance rather than just transferring tokens.

Background

ProposalCard in frontend/src/components/ProposalCard.tsx shows a small type badge and a category pill, but nothing that specifically flags a proposal as changing the multisig's membership or voting power. Add-owner, remove-owner, and change-owner-weight proposals all reshape who can approve and how much weight they carry, yet visually they look much like an ordinary transfer.

What Needs to Be Done

  1. Add a distinct "Governance Impact" badge to ProposalCard, shown only for proposals that add an owner, remove an owner, or change an owner's voting weight.
  2. Make sure ordinary transfer proposals and spending-limit proposals do not show the badge.
  3. Style the badge so it is clearly distinct from the existing type badge and the status badge.

Acceptance Criteria

  • Add-owner, remove-owner, and change-owner-weight proposals show a "Governance Impact" badge.
  • Transfer proposals do not show the badge.
  • The badge is visually distinct from the existing type badge and status badge.

Files to Look At

  • frontend/src/components/ProposalCard.tsx — card badges and per-type rendering
  • frontend/src/types/accord.ts — the proposal-kind type used to decide when to show the badge

Difficulty: Medium

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions