Files
loki/scripts/test
CatoandClaude Sonnet 5.5 fa8dbfe140 fix(terminal): tab layout and names survive reload; rename keeps spaces; launcher closes on its card (#1101)
Found by driving the live page in a browser after #1093:

- useLocalStorageState hydrated once but kept writing the CURRENT value to the
  CURRENT key. The terminal keys tab layout and names per builder and first
  renders as "cloud" before the saved source resolves to "local", so every load
  reset loki:terminal-tab-layout:local and copied the cloud alias under the
  local key. Persisting is now allowed only for a key whose own stored value has
  been read, and hydration re-runs when the key changes (canPersist/readStored,
  tested, mutation-checked).
- Renaming a tab swallowed spaces ("main loki" -> "mainloki"): a key typed into
  the rename input bubbled to the tab's own Space-to-select handler. Only the
  tab itself handles it now.
- Leaving the rename box untouched stored the (capped) label as a permanent alias.
- The "Start an agent" panel's Cancel floated detached to the right of its card;
  the close control now sits on the card.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-08 09:51:47 -07:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00