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:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user