mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-20 06:30:27 +00:00
0b0e2a3213
* stage-3712: model picker show-all overflow + fix per-row count leak (#3691) Self-rebased rodboev's #3712 onto master. FIX (Nathan-caught): the per-row provider chip stripped the '(N of M)' overflow count — that count belongs on the group heading only, and was reading as nonsense post-expand (row 30 showing '15 of 30'). Updated test to assert heading-carries-count + rows-do-not. Co-authored-by: rodboev <rodboev@users.noreply.github.com> * stage-3712: + dedupe overflow expand (Codex SILENT) — reuse existing injected option Codex caught: select hidden overflow model from search → reopen → Show all could duplicate the row (_appendOverflowOptionsToGroup blindly appended every extra model without checking the select for an already-injected option). Now moves/reuses an existing same-value option instead of re-creating it. * stage-3712: + fix expanded-heading double-count (Opus) — strip decoration, count rendered rows Opus caught: post-expand the heading showed 'Nous (2 of 4) (4)' (appended its own count onto the already-decorated backend label) and used modelCount (incl hoisted- configured) vs rendered rows. Now strips the '(N of M)' suffix when expanded + counts groupRows.length. Test asserts no double count on out[expanded]. * stage-3712: + include extra_models in Settings/Cron/Profile/Aux native selectors (Codex CORE) Codex caught: the server overflow split moves models>15 into extra_models for ALL providers, but the 4 native <select> builders in panels.js (settingsModel:6690, cronFormModel:1112, profileFormModel:5784, _auxProviders:8287) read g.models only — silently dropping the overflow tail for large providers. Now concat models+extra_models at all 4 sites. Test guard added. * Release PG: model picker show-all overflow for large provider catalogs (#3691) Self-rebased rodboev's #3712 onto v0.51.445; full browser-tested (desktop+mobile, before/after) + Nathan screenshot-approved. 4 gate-caught issues fixed inline: per-row count leak (Nathan), overflow-expand dedup (Codex), heading double-count (Opus), and native Settings/Cron/Profile/Aux selectors dropping the overflow tail (Codex CORE). Codex SAFE + Opus SHIP + 41 picker tests green. Co-authored-by: rodboev <rodboev@users.noreply.github.com> --------- Co-authored-by: nesquena-hermes <agent@nesquena-hermes> Co-authored-by: rodboev <rodboev@users.noreply.github.com>