092a99a0

Author: Michael Lynch <git@mtlynch.io>

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

Populate sections from item autocomplete selections (#64)

Return remembered sections with item autocomplete results so the root grocery form can populate the section field immediately when a user selects a suggestion.

This removes the follow-up /api/section lookup and the unused GetItemNames store method, and updates the autocomplete custom element to carry metadata for object-backed suggestions while still supporting plain string section suggestions.

Testing:
- ./dev-scripts/run-go-tests
- nix flake check

Known limitation:
- ./dev-scripts/git-hooks/pre-commit currently fails on pre-existing ESLint errors in reference/little-moments third-party JavaScript files unrelated to this change.

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