feat: correcoes esporadicas suggestions - #51
Hidden character warning
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Caution Review failedThe pull request is closed. WalkthroughIntroduces inline editing for classifications and KPIs on the admin suggestions page, adds a mandatory rejection-reason modal when moving to NOT_IMPLEMENTED via drag-and-drop, updates status labels/colors, restores a Filters panel, and tweaks dashboard and suggestion modal/card layouts. The submission modal now auto-closes on success. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Admin
participant Page as AdminSuggestionsPage
participant API as API/Server
rect rgba(200,230,255,0.2)
note over Page: Inline classification edit
Admin->>Page: Select existing/create new classification
Page->>API: Save classification (create or link)
API-->>Page: OK
Page-->>Admin: UI reflects new classification
end
rect rgba(200,255,200,0.2)
note over Page: Inline KPI link management
Admin->>Page: Link/unlink/create KPI
Page->>API: Update KPI associations
API-->>Page: OK
Page-->>Admin: KPIs updated inline
end
sequenceDiagram
autonumber
actor Admin
participant Kanban as Kanban Board
participant Modal as RejectionReasonDialog
participant API as API/Server
Admin->>Kanban: Drag card to NOT_IMPLEMENTED
alt Reason not provided
Kanban->>Modal: Open prompt for reason
Admin->>Modal: Submit reason
Modal->>API: Update status + save reason + notify contributor
API-->>Modal: OK
Modal-->>Kanban: Confirm status change
else Reason already present
Kanban->>API: Update status
API-->>Kanban: OK
end
Kanban-->>Admin: Column updated
sequenceDiagram
autonumber
actor User as Contributor
participant Modal as SuggestionsModal
participant API as API/Server
User->>Modal: Submit suggestion
Modal->>API: Create suggestion
API-->>Modal: Success
Modal-->>User: Close modal (onOpenChange(false))
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (3)
✨ 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
CodeRabbit Configuration File ( |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
New Features
Refactor
Style