4003a132

Author: Michael Lynch <git@mtlynch.io>

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

Render autocomplete suggestions as text (#86)

Build autocomplete options with DOM nodes and textContent so item names cannot
inject markup. Preserve the active class and data index used by click and
keyboard selection. Add a Node regression test for markup-like item names.

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

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 6s 6s 9s 2s
Eval 6s 36s 36s 43s 0s
Build 25s 4m48s 1m28s 1m53s 6s
Deploy 2m10s 1m45s 1m45s 3m55s 16s
Suite 2s 7m16s 3m53s 3m55s 26s

Timeline

0s20s40s1m1m20s1m40s2m20s2m40s3m3m20s3m40s