5ec977d5

By: Michael Lynch <git@mtlynch.io>

Populate sections from item autocomplete selections

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.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 2s 2s 2s
Eval 2s 1m38s 1m38s 1m40s
Build 19s 21m34s 3m00s 3m19s
Test - - - -
Deploy - - - -
Suite 0s 23m14s 3m19s 3m19s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s3m