- FeedbackModal: the submit button had no label (empty blue bar); add
"Submit Feedback" / "إرسال التقييم" text with a submitting state.
- Admin panel: new "⭐ Tool Feedback" tab showing per-tool summary cards
(count, average rating, positive/negative) plus the full list of individual
ratings with reason, project, user and date. Backed by GET /api/admin/feedback.
- Ensure the qto_project_feedback / qto_customer_complaints tables exist on
MySQL at startup (idempotent CREATE TABLE IF NOT EXISTS). They were only in
the SQLite bootstrap, so on prod the insert had no table. Deliberately does
NOT run the full migration suite — migration 008 drops qto_active_projects
and would wipe in-progress project state on every boot.
- Add migrations/010_project_feedback.sql for the documented manual path.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(feedback): read auth token from correct localStorage key
FeedbackModal read the session token from 'token', but the app stores it under
'qto_token' (App.jsx, Auth.jsx, cacheUrl.js). The token came back null, so the
submit request was unauthenticated (401) and users saw "Failed to submit
feedback. Try again." Use the correct key.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>