feat(tools): owner feedback review surface + tool_feedback migration

Adds the missing migration for the tool_feedback table (dobetternorge_maindb)
that the in-result feedback widget writes to, repoints api/feedback.php to
dbnmDb() for consistency with the engine-config table, and adds an owner-only
dashboard (page + read API + nav) summarising ratings and notes by tool/engine.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-21 15:19:45 +02:00
parent 198f0526cf
commit 519bdbb6e5
6 changed files with 294 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ if ($tool === '') {
}
try {
$db = dbnToolsDb();
$db = dbnmDb();
$stmt = $db->prepare(
'INSERT INTO tool_feedback (session_id, tool, rating, missed_or_wrong, engine)
VALUES (?, ?, ?, ?, ?)'