inspector/clients/web/src/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 1d3b973742 fix(web): read the enlarge split from the control, and keep the caret
Two faults in the Enter path, both found in review.

The split read `values[fieldName] as string`, a cast over a
Record<string, unknown> fed by whatever a server's schema declares. A
string field holding a non-string default renders as text and then threw
on `.slice`, so one keystroke crashed the panel. Read the control's own
value instead: always a string, and the exact string the selection
offsets index into.

The caret was recorded only when the newline fit, so pressing Enter mid
value in a field at its maxLength enlarged without one and threw the
caret to the end — a second surprise on top of the newline that did not
arrive. Record it on both paths, `start + 1` after an insertion and
`start` otherwise.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 09:54:49 -04:00
..
elements fix(web): take the enlarge button out of the tab order 2026-08-26 01:13:32 -04:00
groups fix(web): read the enlarge split from the control, and keep the caret 2026-08-26 09:54:49 -04:00
screens fix(web): reset a tool form by row identity, not by tool name 2026-08-24 10:18:55 -04:00
views/InspectorView fix(web): open the monitoring sidebar when a connect fails during OAuth (#2108) 2026-08-24 19:51:11 -04:00