Conversation
|
Caution Review failedThe pull request is closed. WalkthroughRenames package, bumps version, adds wallet and Tiptap deps. Introduces indexer-based campaign types/endpoints/hooks and staging config. Adds rich text editor, HTML utilities, and UI updates. Implements multi-transaction campaign creation. Refactors campaign components to new data model/status. Adds SEO-aware RootLayout and static generation for campaign pages. Updates profile configuration flows. Changes
Sequence Diagram(s)sequenceDiagram
participant UI as CampaignEditor
participant Form as Form State
participant Chain as NEAR Contracts
participant Social as Social DB
participant Lists as Public Goods Registry
UI->>Form: Submit create_campaign(args)
alt New project by owner (project_name && recipient==owner)
UI->>Social: set(profile) with calculated deposit
UI->>Lists: register_batch(list_id) (+0.05N)
UI->>Chain: create_campaign(args) (+0.021N)
else
UI->>Chain: create_campaign(args) (+0.021N)
end
sequenceDiagram
participant UI as CampaignComponents
participant Indexer as Indexer Hooks
participant API as Indexer API
UI->>Indexer: useCampaigns({owner?, status?, page})
Indexer->>API: GET /v1/campaigns
API-->>Indexer: PaginatedCampaignsResponse
Indexer-->>UI: {results, page, page_size}
UI->>Indexer: useCampaign({campaignId})
Indexer->>API: GET /v1/campaigns/{id}
API-->>Indexer: Campaign
Indexer-->>UI: Campaign
sequenceDiagram
participant Next as Next.js SSG
participant API as Indexer API
Next->>API: GET /v1/campaigns?page=1&page_size=50
API-->>Next: {results:[{on_chain_id,...}]}
Note over Next: Build paths with on_chain_id<br/>fallback: blocking
Next->>API: GET /v1/campaigns/{id}
API-->>Next: Campaign
Next-->>Next: getStaticProps({seoTitle, seoDescription, seoImage})
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (49)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Chores