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:
@@ -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'] },
|
||||
|
||||
Reference in New Issue
Block a user