Vylepšení Pizza day #44

Closed
opened 2026-02-04 14:29:39 +01:00 by batmanisko · 0 comments
Member

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.
## 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.
batmanisko added the Vylepšení label 2026-02-04 14:30:23 +01:00
mates closed this issue 2026-03-09 07:55:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#44