feat(05-admin-panel): Admin panel z historią rezerwacji
Phase 5 complete — CPT carei_reservation z automatycznym zapisem, lista z kolumnami i filtrem statusu, meta box szczegółów, system statusów nowe/przeczytane/zrealizowane, auto-mark-read. Milestone v0.1 Formularz Rezerwacji MVP — all 5 phases complete. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,30 @@ Plugin Elementor do rezerwacji samochodu na stronie carei.pagedev.pl, zintegrowa
|
||||
- Formularz NIE jest natywnym formularzem Elementor Pro — to custom widget
|
||||
- Brak dodatkowych zależności npm/composer — czysty PHP + JS
|
||||
|
||||
## Validated Requirements (Milestone v0.1)
|
||||
- ✓ Elementor Widget z modalem rezerwacji — Phase 1-2
|
||||
- ✓ Integracja z Softra Rent API (auth, branch, carclass, pricelist, booking) — Phase 1, 3
|
||||
- ✓ Multi-step form: formularz → podsumowanie → sukces — Phase 2-3
|
||||
- ✓ Responsive modal (desktop overlay + mobile) — Phase 2
|
||||
- ✓ Error handling: token retry, timeout, network errors — Phase 4
|
||||
- ✓ Accessibility: ARIA dialog, focus trap, aria-live — Phase 4
|
||||
- ✓ Admin panel: CPT carei_reservation, lista, szczegóły, statusy — Phase 5
|
||||
|
||||
## Key Decisions
|
||||
| Decision | Phase | Rationale |
|
||||
|----------|-------|-----------|
|
||||
| CPT + post_meta (nie custom table) | 5 | WordPress-native, prostsze dla MVP |
|
||||
| Fire-and-forget save | 5 | Nie blokuj response — rezerwacja już w Softra |
|
||||
| Meta-based status (nie taxonomy) | 5 | Prosty 3-wartościowy enum |
|
||||
| Token retry on 401/403 | 4 | Automatyczny re-auth bez interwencji usera |
|
||||
| Inline display:none for steps | 4 | CSS class conflict resolution |
|
||||
|
||||
## Out of Scope (backlog)
|
||||
- Ubezpieczenie (pakiet Soft/Premium) — czeka na API Softra
|
||||
- Wyjazd zagraniczny (lista krajów + ceny) — czeka na API Softra
|
||||
- Eksport CSV/PDF rezerwacji
|
||||
- Email notyfikacje
|
||||
|
||||
## API Endpoints (kluczowe)
|
||||
| Endpoint | Metoda | Użycie |
|
||||
|----------|--------|--------|
|
||||
|
||||
Reference in New Issue
Block a user