Add quantitative tasks with checklist controls to the planner
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 17m38s
Validate and deploy Sokko G / deploy (push) Successful in 9s

This commit is contained in:
Shinuwa 2026-10-24 15:02:33 +02:00
parent 29fcb50fcd
commit c08452d5a4
22 changed files with 434 additions and 33 deletions

View file

@ -39,6 +39,7 @@ export function TaskPlannerTopbar({
<select {...taskDraft.getFieldProps("type", { className: "nds-select", "data-size": "sm", "aria-label": textContent.typeLabel || "Type" })}>
{TASK_TYPES.map((taskType) => <option key={taskType} value={taskType}>{getTaskTypeLabel(taskType, textContent)}</option>)}
</select>
<input {...taskDraft.getFieldProps("qtyTarget", { className: "task-planner-quantity-target nds-input", "data-size": "sm", type: "number", min: 1, step: 1, "aria-label": textContent.quantityLabel, title: textContent.quantityLabel })} />
<button className="nds-button" data-size="sm" data-variant="primary">{textContent.addButton || "Ajouter"}</button>
</form>
</div>