Several improvements to the Pizza day feature that are not yet implemented.
Sub-tasks from TODO.md:
Show confirmation dialog before deleting/locking/unlocking a Pizza day
Auto-add pizzas to cart when clicked
First need to solve passing PHPSESSIONID cookie to pizzachefie.cz via fetch()
Pizza box prices are hardcoded – problem if they ever change
Approach:
Confirmation dialogs: Add confirmation modals before destructive Pizza day actions (delete, lock, unlock). This overlaps with issue #36 (Ochrana proti chybám uživatele) but is specific to Pizza day.
Auto-add to cart: Investigate the PHPSESSIONID cookie issue with pizzachefie.cz. May need a server-side proxy to handle session cookies for the external site. Once solved, clicking a pizza should automatically add it to the cart on the external site.
Dynamic box prices: Move hardcoded box prices to a configuration file or admin setting. Consider scraping the price from the Pizza Chefie website if available.
## Feature: Pizza Day Improvements
**Source:** TODO.md lines 35-39
### Implementation Notes
Several improvements to the Pizza day feature that are not yet implemented.
**Sub-tasks from TODO.md:**
- [ ] Show confirmation dialog before deleting/locking/unlocking a Pizza day
- [ ] Auto-add pizzas to cart when clicked
- [ ] First need to solve passing PHPSESSIONID cookie to pizzachefie.cz via fetch()
- [ ] Pizza box prices are hardcoded – problem if they ever change
**Approach:**
1. **Confirmation dialogs:** Add confirmation modals before destructive Pizza day actions (delete, lock, unlock). This overlaps with issue #36 (Ochrana proti chybám uživatele) but is specific to Pizza day.
2. **Auto-add to cart:** Investigate the PHPSESSIONID cookie issue with pizzachefie.cz. May need a server-side proxy to handle session cookies for the external site. Once solved, clicking a pizza should automatically add it to the cart on the external site.
3. **Dynamic box prices:** Move hardcoded box prices to a configuration file or admin setting. Consider scraping the price from the Pizza Chefie website if available.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Feature: Pizza Day Improvements
Source: TODO.md lines 35-39
Implementation Notes
Several improvements to the Pizza day feature that are not yet implemented.
Sub-tasks from TODO.md:
Approach: