update
This commit is contained in:
24
.paul/changelog/2026-05-06.md
Normal file
24
.paul/changelog/2026-05-06.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 2026-05-06
|
||||
|
||||
## Co zrobiono
|
||||
|
||||
- [Phase 9, Plan 01] UX/UI polish kalendarza: skos 45° na pierwszym/ostatnim dniu rezerwacji, ciemne ramki dni, paleta widgetu dopasowana do brandu strony (granat #0e2036, czerwień #bc1834)
|
||||
- Edge detection po stronie klienta — porównanie sąsiadujących dni po booking_id+status, klasy `yacht-day-{booked|blocked}-{start|end|mid|single}`
|
||||
- Gradient 135° na obu skrajnych dniach (parallelogram przez wiersz), single-day blokada renderowana jako pełen booked
|
||||
- CSS variables `--yacht-available-bg` / `--yacht-booked-bg` ustawiane z JS na wrapperze — reuse w gradientach + legendzie
|
||||
- Nagłówki kolumn FullCalendar w granacie, ramki przez `--fc-border-color: #0e2036` + override 7 selektorów
|
||||
- Cyfry dni `#021526` (past `#6c757d`) — przebicie globalnej reguły `body a:not([href])`
|
||||
- Legenda rozszerzona o 3-ci swatch „Dzień odbioru / zwrotu" z gradientem
|
||||
- Helper `test-add-booking.php` (token-protected, akcje add/list/remove) do smoke testu — DO USUNIĘCIA z FTP po testach
|
||||
|
||||
## Zmienione pliki
|
||||
|
||||
- `wp-content/plugins/yacht-booking-system/frontend/assets/js/calendar.js`
|
||||
- `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/class-calendar-widget.php`
|
||||
- `test-add-booking.php` (nowy, helper testowy)
|
||||
- `.paul/phases/09-finalizacja/09-01-PLAN.md` (nowy)
|
||||
- `.paul/phases/09-finalizacja/09-01-SUMMARY.md` (nowy)
|
||||
- `.paul/STATE.md`
|
||||
- `.paul/ROADMAP.md`
|
||||
Reference in New Issue
Block a user