e8cc1314

Author: Michael Lynch <git@mtlynch.io>

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

Fix autocomplete missing items added without a section (#53)

Previously rememberItemSection only wrote to item_sections when the
item had a non-empty section, so items added without a section were
never available as autocomplete suggestions. Now it always upserts,
storing an empty string for section when none is provided. GetSections
already filters WHERE section != '', so section autocomplete is
unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/53
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 27s 27s 29s
Build 16s 3m08s 1m39s 1m56s
Test - - - -
Deploy - - - -
Suite 0s 3m37s 1m57s 1m56s

Timeline

0s0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s