Commit f46acac6 by t0ng7u

šŸŽØ refactor(ui): merge ā€œContent Configurationā€ into ā€œBasic Informationā€ card in…

šŸŽØ refactor(ui): merge ā€œContent Configurationā€ into ā€œBasic Informationā€ card in EditPrefillGroupModal

- Move `items` field (`JSONEditor` for endpoint type, `Form.TagInput` otherwise) into the first ā€œBasic Informationā€ card
- Remove the second ā€œContent Configurationā€ card and its header; consolidate to a single-card layout
- Preserve form initialization, validation, and submit logic; API payload structure remains unchanged
- Improves clarity and reduces visual clutter without altering behavior
- Lint passes

Affected file:
- `web/src/components/table/models/modals/EditPrefillGroupModal.jsx`

No breaking changes.
parent 908714b7
......@@ -223,21 +223,6 @@ const EditPrefillGroupModal = ({ visible, onClose, editingGroup, onSuccess }) =>
showClear
/>
</Col>
</Row>
</Card>
{/* å†…å®¹é…ē½® */}
<Card className='!rounded-2xl shadow-sm border-0'>
<div className='flex items-center mb-2'>
<Avatar size='small' color='purple' className='mr-2 shadow-md'>
<IconLayers size={16} />
</Avatar>
<div>
<Text className='text-lg font-medium'>{t('å†…å®¹é…ē½®')}</Text>
<div className='text-xs text-gray-600'>{t('é…ē½®ē»„å†…åŒ…å«ēš„é”¹ē›®')}</div>
</div>
</div>
<Row gutter={12}>
<Col span={24}>
{selectedType === 'endpoint' ? (
<JSONEditor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment