7ec33196

Author: Michael Lynch <git@mtlynch.io>

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

Deduplicate grocery list view-model shaping (#22)

Extract one shared helper for splitting and sorting grocery vs cart items.

This prevents drift between index and list fragment rendering paths and simplifies future sorting changes.

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/22
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 2s 1m18s 29s 32s
Test - - - -
Deploy - - - -
Suite 0s 1m47s 32s 32s

Timeline

0s10s20s30s