Ochrana proti chybám uživatele #36

Open
opened 2026-02-04 14:28:50 +01:00 by batmanisko · 0 comments
Member

Feature: User Error Protection

FeatureRequest enum: SAFETY
Description: Zvýšená ochrana proti chybám uživatele (potvrzovací dialogy, překliky, ...)

Implementation Notes

Add confirmation dialogs and safeguards to prevent accidental destructive actions.

Key files to modify:

  • Various client components – Add confirmation modals before destructive actions (delete, lock, reset)

Approach:

  1. Identify all destructive or hard-to-undo actions in the UI:
    • Deleting a Pizza day
    • Locking/unlocking Pizza day orders
    • Removing a lunch selection
    • Changing account settings
  2. Add confirmation dialogs ("Are you sure?") before each destructive action
  3. Consider undo functionality where feasible (e.g., "Undo" toast after removing a selection)
  4. Prevent accidental double-clicks on submit buttons (debounce/disable after first click)
  5. Add visual distinction for dangerous actions (red buttons, warning icons)
## Feature: User Error Protection **FeatureRequest enum:** `SAFETY` **Description:** Zvýšená ochrana proti chybám uživatele (potvrzovací dialogy, překliky, ...) ### Implementation Notes Add confirmation dialogs and safeguards to prevent accidental destructive actions. **Key files to modify:** - Various client components – Add confirmation modals before destructive actions (delete, lock, reset) **Approach:** 1. Identify all destructive or hard-to-undo actions in the UI: - Deleting a Pizza day - Locking/unlocking Pizza day orders - Removing a lunch selection - Changing account settings 2. Add confirmation dialogs ("Are you sure?") before each destructive action 3. Consider undo functionality where feasible (e.g., "Undo" toast after removing a selection) 4. Prevent accidental double-clicks on submit buttons (debounce/disable after first click) 5. Add visual distinction for dangerous actions (red buttons, warning icons)
batmanisko added the Vylepšení label 2026-02-04 14:30:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#36