feat: rewrite CouponMetabox with proper shadcn/ui

- Remove all WPCFTO wrapper components (MetaboxLayout, TabNav, TabPanel, GroupTitle, etc.)
- Use shadcn Tabs with horizontal underline triggers
- Use grid-cols-[1fr_2fr] for clean form field layout
- Use shadcn Switch for toggle fields
- Use shadcn Select for discount type dropdown
- Replace inline Notice with toast notifications
- Add Skeleton loading state
- Add SearchableSelect with Badge chips for relation fields
- Move save button to tab header bar
- No custom CSS classes - all Tailwind utilities
This commit is contained in:
dwindown
2026-04-19 13:49:42 +07:00
parent c103e368be
commit 7ba92022d5
6 changed files with 1653 additions and 439 deletions

File diff suppressed because one or more lines are too long