Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Block empty-section adds until users confirm (#67) Warn on the root grocery form before sending an HTMX add request when the section field is blank. This moves the warning into the htmx:confirm phase so the request is blocked before it is posted, adds a reusable dialogManager API for custom confirm dialogs, and configures the empty-section warning so Edit is the default-focused action on the right while Add without section remains an explicit warning action. Testing: - ./dev-scripts/run-go-tests - ./dev-scripts/git-hooks/pre-commit - nix flake check Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/67
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 0s | 1s | 1s | 1s |
| Eval | 2s | 36s | 36s | 38s |
| Build | 3s | 4m29s | 42s | 46s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 0s | 5m08s | 46s | 46s |