10db8784

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Restore autocomplete in grocery item edit forms (#65)

Inline grocery item edits were still rendering plain text inputs for the name and section fields, so Firefox Android did not offer the same autocomplete behavior that the add-item form already had.

Switch the shared edit-fields partial to use the autocomplete custom element for those two fields and add a handler-level regression test for GET /api/groceries/{id}/edit.

Testing:
- go test ./handlers -run TestGroceryEditFormUsesAutocompleteInputs
- nix flake check

Known limitation:
- ./dev-scripts/git-hooks/pre-commit currently fails because ESLint scans pre-existing third-party files under /workspace/reference/little-moments/.

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/65

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 2s
Eval 2s 33s 33s 36s
Build 3s 4m06s 42s 46s
Suite 0s 4m42s 45s 46s

Timeline

0s10s20s30s40s