Skip to content

misc fixes to updatable proposals - #996

Merged
dan13ram merged 6 commits into
stagingfrom
fix/updatable-proposals
Aug 9, 2026
Merged

misc fixes to updatable proposals#996
dan13ram merged 6 commits into
stagingfrom
fix/updatable-proposals

Conversation

@dan13ram

@dan13ram dan13ram commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Testnet DAOs are now clearly labeled in profile and navigation lists.
    • Member cards identify Auction House and Treasury members with dedicated badges.
    • Queue screens explain when transactions must be removed before changes can be made.
    • Minting screens show a loading indicator while ownership information is retrieved.
  • Bug Fixes

    • Improved alignment and spacing for founder allocation controls and network metadata.
  • Tests

    • Added coverage for Auction House, Treasury, and Active member badge behavior.

@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
testnet-nouns-builder Ready Ready Preview Aug 9, 2026 10:19am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nouns-builder Ignored Ignored Aug 9, 2026 10:19am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7e1f6c29-3fa9-49a5-87e3-674285f2366b

📥 Commits

Reviewing files that changed from the base of the PR and between e42ab05 and 5e50021.

📒 Files selected for processing (3)
  • packages/create-proposal-ui/src/components/Queue/Queue.tsx
  • packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx
  • packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx

📝 Walkthrough

Walkthrough

The PR adds testnet badges to DAO displays, role badges to member cards, queue guidance, auction-owner loading feedback, and founder allocation layout adjustments.

Changes

DAO status and proposal feedback

Layer / File(s) Summary
DAO testnet badges
apps/web/src/components/ProfileDaoList.tsx, apps/web/src/layouts/DefaultLayout/NavMenu/ProfileMenu.tsx, apps/web/src/styles/profile.css.ts
DAO rows detect testnet chains and display a Testnet badge beside network metadata.
Proposal queue and loading feedback
packages/create-proposal-ui/src/components/Queue/*, packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx
The queue displays replacement guidance when removable transactions exist. Mint governance tokens displays a spinner while the auction owner query loads.
Member role badges
packages/dao-ui/src/components/MembersList/*
Member cards prioritize Auction House and Treasury badges over Active, with tests covering both roles.
Founder allocation row layout
packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx
Founder allocation rows use top alignment. The remove button is placed within the input row with an accessible label. The allocation summary remains right-aligned.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided, so the required change summary, motivation, review notes, type, and checklist are missing. Add a description that completes the required sections and checklist in the repository template.
Title check ❓ Inconclusive The title uses the vague phrase "misc fixes" and does not clearly summarize the varied changes in the pull request. Replace the title with a concise summary of the main changes, such as testnet badges, queued transaction guidance, and member role badges.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/updatable-proposals

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

packages/create-proposal-ui/src/components/Queue/Queue.tsx

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx

ESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.

packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx

ESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx (1)

135-141: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Expose the loading state to assistive technology.

This branch renders only a visual spinner. It provides no text, role, or accessible label. Screen-reader users receive no loading status while the form is replaced.

Add a semantic status container. Confirm that Stack forwards ARIA attributes in the installed Zord version.

Proposed fix
     return (
-      <Stack>
-        <Spinner />{' '}
+      <Stack role="status" aria-label="Loading auction owner">
+        <Spinner />
       </Stack>
     )
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx`
around lines 135 - 141, Update the isLoading branch in MintGovernanceTokens to
expose a semantic loading status for assistive technology, adding an appropriate
role and accessible label or text while preserving the existing spinner layout.
Confirm that the Zord Stack component forwards the required ARIA attributes; if
it does not, use a compatible semantic container instead.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/create-proposal-ui/src/components/Queue/Queue.tsx`:
- Around line 106-114: Update the queue guidance panel condition in Queue so it
renders only when the queue contains at least one removable transaction,
excluding disabled UPGRADE and UPDATE_MINTER entries. Reuse the existing
transaction type and disabled-state logic from the queue cards, while preserving
the current message for queues with removable entries.

In `@packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx`:
- Around line 99-107: Add an accessible aria-label to the Button invoking
removeFounderAddress in the founder allocation fields, including the one-based
allocation index so screen readers identify which founder allocation will be
removed.
- Around line 103-104: Update the remove-button positioning near the
AdminFounderAllocationFields layout to eliminate the fixed bottom: 52 offset.
Anchor the button using the row’s layout, such as a suitable flex/grid alignment
or a relative container with a stable edge, so it remains aligned with
SmartInput and DatePicker when validation errors expand their height and across
responsive states.

---

Nitpick comments:
In
`@packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx`:
- Around line 135-141: Update the isLoading branch in MintGovernanceTokens to
expose a semantic loading status for assistive technology, adding an appropriate
role and accessible label or text while preserving the existing spinner layout.
Confirm that the Zord Stack component forwards the required ARIA attributes; if
it does not, use a compatible semantic container instead.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c7cb85a9-56af-459e-915b-325153abec8a

📥 Commits

Reviewing files that changed from the base of the PR and between ff9820c and e42ab05.

📒 Files selected for processing (10)
  • apps/web/src/components/ProfileDaoList.tsx
  • apps/web/src/layouts/DefaultLayout/NavMenu/ProfileMenu.tsx
  • apps/web/src/styles/profile.css.ts
  • packages/create-proposal-ui/src/components/Queue/Queue.css.ts
  • packages/create-proposal-ui/src/components/Queue/Queue.tsx
  • packages/create-proposal-ui/src/components/TransactionForm/MintGovernanceTokens/MintGovernanceTokens.tsx
  • packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx
  • packages/dao-ui/src/components/MembersList/MemberListCard.test.tsx
  • packages/dao-ui/src/components/MembersList/MemberListCard.tsx
  • packages/dao-ui/src/components/MembersList/MembersList.tsx

Comment thread packages/create-proposal-ui/src/components/Queue/Queue.tsx Outdated
Comment thread packages/dao-ui/src/components/AdminForm/AdminFounderAllocationFields.tsx Outdated
@dan13ram
dan13ram merged commit 9f0e82a into staging Aug 9, 2026
2 of 4 checks passed
@dan13ram
dan13ram deleted the fix/updatable-proposals branch August 9, 2026 10:12
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