feat: custom labels toggle and inline editing in product list
Adds session-based show/hide toggle for custom labels in admin product list, inline editable fields for custom_label_0..4, and label suggestions with custom entry support. Includes repository/controller updates, UI fixes, tests, and PAUL docs release updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
22
.paul/changelog/2026-04-19.md
Normal file
22
.paul/changelog/2026-04-19.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# 2026-04-19
|
||||
|
||||
## Co zrobiono
|
||||
|
||||
- [Phase 16, Plan 01] Dodano szybka edycje custom_label_0..4 w `/admin/shop_product/view_list/` z przelacznikiem sesyjnym.
|
||||
- Dodano zapis wartosci custom labels do bazy oraz walidacje dozwolonych `label_type` po stronie kontrolera.
|
||||
- Dodano podpowiedzi istniejacych wartosci jako autocomplete w jednym input (z mozliwoscia wpisania wartosci wlasnej).
|
||||
- Poprawiono UX przycisku toggla (kolorystyka, rozmiar, hover i czytelnosc).
|
||||
- Rozszerzono testy jednostkowe kontrolera i repozytorium dla nowej funkcjonalnosci.
|
||||
|
||||
## Zmienione pliki
|
||||
|
||||
- `autoload/admin/Controllers/ShopProductController.php`
|
||||
- `autoload/Domain/Product/ProductRepository.php`
|
||||
- `admin/templates/shop-product/products-list.php`
|
||||
- `admin/templates/shop-product/products-list-custom-script.php`
|
||||
- `tests/Unit/admin/Controllers/ShopProductControllerTest.php`
|
||||
- `tests/Unit/Domain/Product/ProductRepositoryTest.php`
|
||||
- `.paul/phases/16-product-list-custom-labels/16-01-SUMMARY.md`
|
||||
- `.paul/PROJECT.md`
|
||||
- `.paul/ROADMAP.md`
|
||||
- `.paul/STATE.md`
|
||||
Reference in New Issue
Block a user