feat: status dropdowns, difficulty badges, published=violet

- STATUS_COLORS: published → violet, draft → gray
- StatusSelect: shared dropdown component with status colors
- Top bar: picture status dropdown (uploaded/published/blocked)
- ObjectListPanel: per-object status dropdown, changeable inline
- PairsPanel collapsed: difficulty badge (Leicht/Mittel) + status badge
- EditPairForm: status dropdown at top of edit form

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 21:45:31 +02:00
parent acc15849f3
commit c595cbb448
2 changed files with 69 additions and 13 deletions

View File

@@ -276,9 +276,9 @@ export const TABLES = {
};
export const STATUS_COLORS = {
published: 'bg-green-100 text-green-800',
published: 'bg-violet-100 text-violet-800',
blocked: 'bg-red-100 text-red-800',
draft: 'bg-gray-100 text-gray-700',
draft: 'bg-gray-100 text-gray-600',
uploaded: 'bg-blue-100 text-blue-800',
requested: 'bg-yellow-100 text-yellow-800',
translated: 'bg-indigo-100 text-indigo-800',