Skip to content

Phase 4.B: Proposal Status And Committee Review Backend Integration#1439

Draft
dnlbui wants to merge 3 commits into
issue-1420-proposal-status-committee-review-uifrom
issue-1421-committee-review-backend-integration
Draft

Phase 4.B: Proposal Status And Committee Review Backend Integration#1439
dnlbui wants to merge 3 commits into
issue-1420-proposal-status-committee-review-uifrom
issue-1421-committee-review-backend-integration

Conversation

@dnlbui

@dnlbui dnlbui commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What Changed

This PR wires the Phase 4.B committee review UI to real DAO transaction and capability flows.

  • ProposalInfoModal now uses proposal capability fields or committee snapshot fallback to show committee-only review actions and the separate review-result finalize action.
  • daoRepo builds and submits dao_committee_vote and dao_committee_result transactions through the existing signing/injection path.
  • Committee actions refresh proposal detail and the DAO list after submission, with loading, disabled, and retry-safe button states.
  • Withhold review submission validates required reason text and the backend 1000-character limit before signing.

Fixed Flow

  1. A user opens a proposal in review state.
  2. The modal derives committee membership and action availability from backend proposal data.
  3. Committee members can submit or change Accept/Withhold decisions during the review window.
  4. Any funded user can finalize the review result after the review window ends.
  5. The proposal detail and DAO list refresh after successful actions.

Why

Phase 4.A established the review/status UI with local behavior. This change moves the source of truth to backend proposal data and real DAO transactions while keeping transaction construction and submission behind dao.repo.js.

Validation

  • node --check app.js
  • node --check dao.repo.js

Closes #1421
Parent: #1413

@dnlbui dnlbui linked an issue Jul 3, 2026 that may be closed by this pull request
9 tasks
dnlbui added 2 commits July 3, 2026 12:43
* Added a new section for finalizing review results in the Proposal Info Modal, including a button for submission.
* Implemented logic to manage review capabilities, allowing committee members to finalize results based on their voting status.
* Updated the HTML structure to accommodate the new review result actions and improved styling for better visual clarity.
* Refactored related functions to streamline the proposal review process and enhance user experience.

These changes significantly improve the functionality of the Proposal Info Modal, facilitating more effective committee decision-making and result finalization.
@dnlbui dnlbui force-pushed the issue-1420-proposal-status-committee-review-ui branch from 579a7d2 to 7d3eba2 Compare July 3, 2026 17:48
@dnlbui dnlbui force-pushed the issue-1421-committee-review-backend-integration branch from 94a0f81 to bece0c6 Compare July 3, 2026 17:48
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.

Phase 4.B: Proposal Status And Committee Review Backend Integration

1 participant