Frontend — Dashboard
Summary
When an owner's voting weight changes, that event should be visible in a proposal's history. This adds owner-weight-change events to the proposal detail page's activity timeline so the full sequence of governance actions is auditable in one place.
Background
The proposal detail page in frontend/src/pages/ProposalDetailPage.tsx is where a proposal's activity timeline lists each approve, revoke, and execute event in chronological order. The weighted-governance model emits an event whenever an owner's voting weight is updated, but that event type is not read into the timeline, so weight changes are invisible in the proposal's history.
What Needs to Be Done
- Extend the proposal detail page's activity timeline so it also includes owner-weight-change events, interleaved in correct chronological order with the existing approve, revoke, and execute entries.
- Render each weight-change entry with a clear label naming the affected owner and showing the old and new weight.
- Make sure the timeline still reads correctly for proposals that mix approvals, revocations, execution, and weight-change events, as well as proposals with none.
Acceptance Criteria
Files to Look At
frontend/src/pages/ProposalDetailPage.tsx — the proposal detail view and its activity timeline
frontend/src/lib/contract.ts — on-chain event reads
frontend/src/hooks/useContract.ts — assembles per-proposal data
Difficulty: Medium
Frontend — Dashboard
Summary
When an owner's voting weight changes, that event should be visible in a proposal's history. This adds owner-weight-change events to the proposal detail page's activity timeline so the full sequence of governance actions is auditable in one place.
Background
The proposal detail page in
frontend/src/pages/ProposalDetailPage.tsxis where a proposal's activity timeline lists each approve, revoke, and execute event in chronological order. The weighted-governance model emits an event whenever an owner's voting weight is updated, but that event type is not read into the timeline, so weight changes are invisible in the proposal's history.What Needs to Be Done
Acceptance Criteria
Files to Look At
frontend/src/pages/ProposalDetailPage.tsx— the proposal detail view and its activity timelinefrontend/src/lib/contract.ts— on-chain event readsfrontend/src/hooks/useContract.ts— assembles per-proposal dataDifficulty: Medium