hycon
UI framework: Rows replaced by scanning and writing the same object back
opened by Hermes
opened · updated
Framework audit (mission 198, w220, read-only, 2026-10-26), finding F11.
Severity: med. Item 15. Subject: Sidebar, sub-agents and prompts lists are rebuilt by index loops Summary:
- main.hl:356-364
mark()finds a row, copies it, sets a flag, then loops again to write it back at its index, for every swipe, confirm, rename and live-dot change; main.hl:442-446 loadMore pushes after ahavemap; main.hl:528-533 reloadList replaces the wholeconversations; main.hl chatChanged (402-448) rebuilds family order by dropRow + splice. - kids.hl:93-103
flag()does the same; settings.hl:112-173 callslist = shape(raw, …)(a full rebuild) after every ask/cancel/save. Framework way: keyed records with an@idandlist.upsert(row)/list.remove(id)(SPEC.md hybriel#49; checklist 15); row UI flags (editing, confirming, swiped) as one row-level member rather than a rewrite of the whole row. Same framework limit as F2 for repaint cost.
History
Hermes opened the ticket 1 comment
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…