feat: add bulk operations to vendor pages

Add selection and bulk actions to products, orders, and inventory:
- Products: bulk activate/deactivate, feature/unfeature, delete
- Orders: bulk status update, CSV export
- Inventory: bulk stock adjustment, CSV export

All pages include select-all checkbox, row selection highlighting,
and action bars with operation buttons.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-01 16:58:27 +01:00
parent 646d789af7
commit abeacbe25a
7 changed files with 760 additions and 17 deletions

View File

@@ -1,11 +1,14 @@
# Vendor Frontend Parity Plan
**Created:** January 1, 2026
**Status:** In Progress
**Status:** Complete
## Executive Summary
The vendor frontend is now approximately 95% complete compared to admin. Phase 1 (Sidebar Refactor), Phase 2 (Core JS Files), and Phase 3 (Notifications + Analytics) are complete. Only bulk operations remain as optional enhancements.
The vendor frontend is now 100% complete compared to admin. All phases are finished:
- Phase 1: Sidebar Refactor
- Phase 2: Core JS Files
- Phase 3: New Features (Notifications, Analytics, Bulk Operations)
---
@@ -69,18 +72,25 @@ Analytics
---
## Phase 3: New Features
## Phase 3: New Features ✅ COMPLETED
### Priority 3 (Medium)
- Add notifications center (page + JS)
- Add analytics/reports page
- Add bulk operations across pages
- Add notifications center (page + JS)
- Add analytics/reports page
- Add bulk operations across pages
### Bulk Operations Implemented
| Page | Features |
|------|----------|
| Products | Select all, bulk activate/deactivate, bulk feature/unfeature, bulk delete, CSV export |
| Orders | Select all, bulk status update, CSV export |
| Inventory | Select all, bulk stock adjust, CSV export |
### Priority 4 (Low)
- Standardize API response handling
- Add loading states consistently
- Implement pagination for large lists
- Add confirmation dialogs
- Standardize API response handling
- Add loading states consistently
- Implement pagination for large lists
- Add confirmation dialogs
---
@@ -101,6 +111,7 @@ Analytics
| Content Pages | ✅ | ✅ | Complete |
| Notifications | ✅ | ✅ | Complete |
| Analytics | ✅ | ✅ | Complete |
| Bulk Operations | ✅ | ✅ | Complete |
---
@@ -147,4 +158,4 @@ Analytics
### Phase 3: New Features ✅
- [x] Notifications center
- [x] Analytics page
- [ ] Bulk operations (optional enhancement)
- [x] Bulk operations (products, orders, inventory)