mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Add drag-and-drop reordering to categories page
- Replace up/down chevron buttons with @dnd-kit drag handles - Update pack generation and question review commands - Fix MCP bridge and add supabase package.json for Docker Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e05105bb0
commit
3009e80dd4
13 files changed
+1125
-1281
No files matched your search
@@ -149,6 +149,11 @@ export default function MatchesScreen() {
|
||||
}, [matches.length]);
|
||||
|
||||
const renderItem = ({ item, index }: { item: any; index: number }) => {
|
||||
// Skip rendering if question was deleted
|
||||
if (!item.question) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const userResponse = item.responses?.find((r: any) => r.user_id === user?.id);
|
||||
const partnerResponse = item.responses?.find((r: any) => r.user_id !== user?.id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user