Snooze function for tasks
Daniel Casse
- Idea & Purpose
Brief Summary: Allows you to define a fixed “deferral buffer” (f.eks. 5 days) on tasks in the settings, which the user can easily activate with a toggle directly on the employee's training schedule.
Value: Provides lightning-fast flexibility in everyday life when an employee needs a few extra days for a task, without having to manually correct master data.
- How does that work?
User Flow:
Settings (Figure 1): In the “Edit Training Plan Task” modal, the admin wings off in the “Enable Deferred Task” checkbox and specifies the specific number of days (f.eks. 5) in the corresponding input field.
Employee Profile (Figure 2): On the employee's training schedule, a new toggle button “Postpone task” appears next to that task.
Hover: When the user hovers the mouse over the toggle, a tooltip pops up that dynamically tells how many days the task will be advanced (f.eks. “Postpone the task by 5 days”).
Activation: The user turns on the toggle, after which the system automatically recalculates and advances the deadline for the task.
Key Features: Configuration in the settings modal (checkbox + day field) and the visual toggle with associated hover tooltip on the employee page.
- Technical Context & Scope
Dependencies: Builds on the modules Training Plan - Tasks and the task list on the employee profile.
Potential challenges: The database must store the new parameters (is_postponable and postpone_days), and the end date must be dynamically recalculated at the employee level upon activation.
Out of scope: The user cannot enter an arbitrary number of days on the employee profile — the days are controlled centrally only from the settings, exactly as shown in the configuration in the first image.
Photo Viewer
View photos in a modal