update
This commit is contained in:
29
.paul/changelog/2026-05-10.md
Normal file
29
.paul/changelog/2026-05-10.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# 2026-05-10
|
||||
|
||||
## Co zrobiono
|
||||
|
||||
- [Phase 9, Plan 07] Kolory per jacht w kalendarzu zbiorczym + UX poprawki widgetu
|
||||
- Color picker WP w formularzu jachtu (meta `_yacht_color`, sanityzacja `#rrggbb`)
|
||||
- Backend: `get_yacht_color_palette()` honoruje admin color z fallbackiem na deterministyczną paletę po ID
|
||||
- Globalne eventy GCal (yacht_id=0) kolorowane po nazwie/aliasie jachtu w tytule (substring, longest-match wins, mb_strpos case-insensitive)
|
||||
- Drop `is_global_mode` override — kolory działają niezależnie od trybu sync
|
||||
- Legenda widgetu zbiorczego pokazuje per-yacht kolory zawsze (+ "Inne" jako fallback w trybie global)
|
||||
- Layout `/rezerwacja/` przeskalowany 1fr:1fr → 2fr:1fr (kalendarz : formularz)
|
||||
- Padding pasków eventów zmniejszony (`2px 4px` → `0 1px`), tytuł wyśrodkowany w pionie i w poziomie
|
||||
- ROADMAP: 09-07 kolory, 09-08 security audit (przesunięte), 09-09 testy/tłumaczenia/docs (przesunięte)
|
||||
|
||||
## Zmienione pliki
|
||||
|
||||
- `wp-content/plugins/yacht-booking-system/includes/class-yacht.php`
|
||||
- `wp-content/plugins/yacht-booking-system/admin/views/yacht-edit.php`
|
||||
- `wp-content/plugins/yacht-booking-system/admin/class-admin.php`
|
||||
- `wp-content/plugins/yacht-booking-system/includes/class-yacht-booking.php`
|
||||
- `wp-content/plugins/yacht-booking-system/api/class-rest-controller.php`
|
||||
- `wp-content/plugins/yacht-booking-system/frontend/class-calendar-widget-all.php`
|
||||
- `wp-content/plugins/yacht-booking-system/frontend/assets/css/calendar.scss`
|
||||
- `wp-content/plugins/yacht-booking-system/frontend/assets/css/calendar.css`
|
||||
- `wp-content/plugins/yacht-booking-system/frontend/assets/css/calendar-all.css`
|
||||
- `.paul/ROADMAP.md`
|
||||
- `.paul/STATE.md`
|
||||
- `.paul/phases/09-finalizacja/09-07-PLAN.md`
|
||||
- `.paul/phases/09-finalizacja/09-07-SUMMARY.md`
|
||||
Reference in New Issue
Block a user