Skip to content

Feat/cta calldata review#231

Merged
pikonha merged 6 commits intodevfrom
feat/cta_calldata_review
Mar 18, 2026
Merged

Feat/cta calldata review#231
pikonha merged 6 commits intodevfrom
feat/cta_calldata_review

Conversation

@LeonardoVieira1630
Copy link
Member

Adds a "Request a call-data review" button to new proposal notifications for DAOs that don't natively support calldata review.

Changes

  • anticapture-client — added alreadySupportCalldataReview to the GetDAOs GraphQL query, Zod schema, and getDAOs() return type
  • messagesbuildButtons now accepts alreadySupportCalldataReview; the CTA button is included only when false
  • dispatcherBaseTriggerHandler exposes getDaoInfo() (replaces getChainIdForDao()), caching both chainId and alreadySupportCalldataReview; NewProposalTriggerHandler uses it to conditionally add the button

LeonardoVieira1630 and others added 3 commits March 13, 2026 12:15
Adds the alreadySupportCalldataReview boolean to the GraphQL query,
generated types (gql.ts, graphql.ts), Zod schema, client method return
type, and compiled dist files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When a DAO does not natively support calldata review
(alreadySupportCalldataReview=false), a "Request a call-data review"
button is included in the notification, pointing to a pre-filled Telegram
message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Expands the DAO cache to store both chainId and alreadySupportCalldataReview.
NewProposalTriggerHandler now reads this flag and passes it to buildButtons
so the calldata review CTA is conditionally included. Tests updated accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 13, 2026

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

Project Deployment Actions Updated (UTC)
flow-editor Ready Ready Preview, Comment Mar 13, 2026 4:30pm
notification-system-dashboard Ready Ready Preview, Comment Mar 13, 2026 4:30pm

Request Review

@LeonardoVieira1630 LeonardoVieira1630 added the enhancement New feature or request label Mar 13, 2026
@pikonha pikonha merged commit 8a44488 into dev Mar 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants