improvement(ui): share dashed add-row buttons - #8032
BillLeoutsakosvl346 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Before / after visual comparisonAdd-filter and Add-sort actions reuse AddRowButton with the same full-width layout. Normal and disabled states shown. Left = before; right = after. Rendered component fixtures with application CSS and local data, rather than authenticated product-page screenshots. These are representative visual examples, not end-to-end behavior coverage. Current PR head checked at posting: Representative code changeFilter and sort builders now call the same EMCN Before <Button
variant='ghost'
onClick={addRule}
className='h-7 w-full justify-start gap-1.5 border border-[var(--border-1)] border-dashed text-[var(--text-muted)] text-small'
>
<Plus className='size-[14px]' />
Add filter condition
</Button>After <AddRowButton onClick={addRule}>Add filter condition</AddRowButton> |


Summary
AddRowButton.Type of Change
Testing
Checklist