feat(FIX-158): completed feature

This commit is contained in:
chattie
2026-08-22 17:26:02 +02:00
parent 49a5755eb8
commit 699dfc6fca
17 changed files with 4053 additions and 1491 deletions

View File

@@ -6578,6 +6578,53 @@
"close": true
},
"completed_at": "2026-08-22T04:21:35Z"
},
{
"id": "FIX-157",
"type": "fix",
"title": "Fix navigation: reporting sub-items should be nested under /reporting",
"problem": "Dashboard, Ventas, Productos appear as separate top-level nav items with spaces, should be nested under Reporting",
"goal": "Fix sidebar to show sub-items indented under their parent nav item",
"scope_in": [
"permissions.ts",
"layout.tsx sidebar"
],
"scope_out": [],
"priority": "high",
"risk": "low",
"description": "Update sidebar to use parentHref pattern for reporting sub-items",
"acceptance": "Reporting sub-items nested under /reporting in sidebar",
"status": "pending",
"created_at": "2026-08-22",
"gates": {
"reviewer": false,
"security": false,
"qa": false
}
},
{
"id": "FIX-158",
"type": "fix",
"title": "Fix migration 049 syntax error: CHECK constraints malformed",
"problem": "Migration 049 fails with syntax error on CHECK constraints (amounts != 0, currency, status)",
"goal": "Fix migration 049 to use string CHECK constraints instead of object notation",
"scope_in": [
"migrations/049_reporting_payment_lines.js"
],
"scope_out": [],
"priority": "high",
"risk": "low",
"description": "node-pg-migrate does not support object notation for constraints.check - should be string",
"acceptance": "Migration 049 runs without error",
"status": "done",
"created_at": "2026-08-22",
"gates": {
"reviewer": true,
"security": true,
"qa": true,
"close": true
},
"completed_at": "2026-08-22T15:26:02Z"
}
]
}