dwindown
31f1a9dae1
fix: Replace nested modal with accordion (desktop) + HTML rendering
Fixes:
✅ Issue #1: HTML rendering in descriptions (dangerouslySetInnerHTML)
✅ Issue #2: Nested modal UX - replaced with Accordion (desktop)
Changes:
- Removed Edit button → Click to expand accordion
- Settings form appears inline (no nested dialog)
- Smooth expand/collapse animation
- Delete button stays visible
- Loading spinner while fetching settings
Pattern:
🚚 Free Shipping [On] [▼] [Delete]
└─ (Expanded) Settings form here
Benefits:
✅ No modal-over-modal
✅ Faster editing (no dialog open/close)
✅ See all options while editing one
✅ Matches Shopee/Tokopedia UX
Mobile drawer: TODO (next commit)
2025-11-09 20:56:34 +07:00
..
2025-11-04 11:19:00 +07:00
2025-11-09 20:56:34 +07:00
2025-11-05 18:54:41 +07:00
2025-11-04 11:19:00 +07:00
2025-11-06 12:44:13 +07:00
2025-11-06 12:44:13 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00
2025-11-04 11:19:00 +07:00