Conversation
…an default - Make kanban (board) the default admin view; '?view=table' opts back into table - Add a dedicated البريد column to the submissions table so the email no longer floats below the name without a header - Introduce CategoryBadge with a deterministic per-key color and use it in both the table and kanban card - Make entire table rows clickable to open the submission, while keeping the row checkbox isolated https://claude.ai/code/session_01YRQjMxioKWrxdBq5TGhraG
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR introduces a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Summary
Addresses four UX gaps on the
/adminsubmissions list:dir="ltr", which made it look like an orphan column. Now it gets a dedicatedالبريدcolumn.CategoryBadgewith a deterministic per-key color (8-color palette hashed from the categorykey, sinceform_categorieshas no color column). Used in both the table and the kanban card.stopPropagationso multi-select still works.?view=table; switching back to kanban clears it.Changes
src/app/admin/page.tsx— flip default view tokanbansrc/components/admin/ViewToggle.tsx— mirror the default change in the URL writersrc/components/admin/CategoryBadge.tsx(new) — colored pill keyed offcategory.keysrc/components/admin/SubmissionsTable.tsx— split name/email into two columns, addالبريدheader, clickable<tr>, useCategoryBadge, bumpmin-wto 900pxsrc/components/admin/KanbanBoard.tsx— useCategoryBadgeon the cardTest plan
/adminloads with the kanban board by defaultجدولswitches to the table and stays there on refresh (?view=table); clickingبطاقاتreturns to kanban with noviewparamالبريدcolumn with the email rendered LTR; the previous "floating email" is gone/admin/submissions/[id]https://claude.ai/code/session_01YRQjMxioKWrxdBq5TGhraG
Generated by Claude Code
Summary by CodeRabbit
Release Notes
New Features
Updates