Skip to content

[feat] Paste, type and copy folder paths - #718

Merged
ok merged 4 commits into
mainfrom
ok/fix-file-path-input
Oct 22, 2026
Merged

ok merged 4 commits into
mainfrom
ok/fix-file-path-input

Conversation

@ok

@ok ok commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Folder fields showed the path as text: a path could not be pasted in or copied out.

  • Every folder field (backup setup/settings/restore, add folder, mirror, edit folder/space, storage) is an input beside Browse…/Change. A typed path is taken on Enter or blur, gets the same checks as a picked one (new backup:inspect for the backup pre-checks), and Enter/Escape on a pending edit stay with the field.
  • A fixed path (organization folder, unmovable source, locked setting) is read-only with Copy inside the field. No placeholder.
  • The copy icon now clears 3:1 in dark mode (was 2.1:1).
  • The fields layout harness had been throwing since [feat] Cmd+F on list filters; Backup and Organization in the palette #716; it gets its keyboard provider.

Tests: unit + invariants 3680/3680; layout fields, truncation, failpaths; FE s160 (typed path) s194 (read-only + Copy) s161 s123 s104 s130 s183 pass. s107 fails at the two-peer join, identically on main @ e6f6f8b.

Mockup: .claude/mockups/path-field-input.html.

ok added 4 commits October 22, 2026 11:45
ListControlsRow registers its Cmd+F command since the filter shortcut
landed, so the fields layout case threw before measuring anything.
The icon was painted in the outline token, 2.1:1 on a field and 2.5:1
on a card in dark mode, below the 3:1 a graphic needs. It now uses the
muted text token, which clears it in both themes.
A key pressed after an AX set-value lands on whatever held focus, so
a scenario clicks a field before typing into it.
Folder fields showed the path as text, so a path could neither be
pasted in nor copied out. Each is now an input: a typed path is taken
on Enter or blur and checked as a picked one is; a fixed path is
read-only with Copy.
@ok
ok force-pushed the ok/fix-file-path-input branch from 24d4818 to 82bc7e8 Compare October 22, 2026 09:48
@ok
ok merged commit 9e3b719 into main Oct 22, 2026
15 checks passed
@ok
ok deleted the ok/fix-file-path-input branch October 23, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant