feat: picture modal hero panel with image preview

Adds a split-layout hero section at the top of the RecordModal
for pictures: left side shows the image preview (~40%), right side
shows status, design (both editable) and the linked words relation
manager inline. Remaining fields (blurhash, picture_link, metadata)
continue to appear in the sections below.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 08:54:03 +02:00
parent 3c59713c25
commit 211bd464d2
2 changed files with 86 additions and 5 deletions

View File

@@ -45,6 +45,11 @@ export const TABLES = {
primaryLabel: 'design',
columns: ['design', 'status', 'picture_link', 'blurhash', 'created_at'],
linkedFields: {},
heroPanel: {
imageField: 'picture_link',
quickFields: ['status', 'design'],
quickRelatedKey: 'words',
},
editableFields: {
design: { type: 'text' },
status: { type: 'select', options: ['published', 'blocked', 'uploaded', 'requested', 'generated'] },