Commit Graph

1 Commits

Author SHA1 Message Date
dwindown
93e5a9a3bc fix: Add region search filter + pre-select on edit + create plan doc
##  Issue #1: TAX_NOTIFICATIONS_PLAN.md Created
- Complete implementation plan for Tax & Notifications
- 80/20 rule: Core features vs Advanced (WooCommerce)
- API endpoints defined
- Implementation phases prioritized

##  Issue #2: Region Search Filter
- Added search input above region list
- Real-time filtering as you type
- Shows "No regions found" when no matches
- Clears search on dialog close/cancel
- Makes finding countries/states MUCH faster!

##  Issue #3: Pre-select Regions on Edit
- Backend now returns raw `locations` array
- Frontend uses `defaultChecked` with location matching
- Existing regions auto-selected when editing zone
- Works correctly for countries, states, and continents

## UX Improvements:
- Search placeholder: "Search regions..."
- Filter is case-insensitive
- Empty state when no results
- Clean state management (clear on close)

Now zone editing is smooth and fast!
2025-11-10 10:16:51 +07:00