Surface a 'recent paths' / history list for picked folders #2

Open
opened 2026-04-18 15:59:43 -07:00 by nelsong6 · 0 comments
nelsong6 commented 2026-04-18 15:59:43 -07:00 (Migrated from github.com)

Idea

When the user picks a folder via fzt-picker (e.g. the `explore` flow from homepage), the choice is useful context — the next time they pick, they probably want recent paths at the top.

Today each picker invocation is stateless: it shows the filesystem root and forces the user to drill in every time. For common workflows (open-in-explorer, code-in-folder, etc.), recent paths would cut navigation dramatically.

Proposal

  • Persist a list of recently-picked paths (local file, maybe `%LOCALAPPDATA%\fzt-picker\recent.yaml`)
  • On launch, show a "recent" pseudo-folder at the top of the tree with the last N picks
  • When the user picks something, prepend to the list (dedupe, cap at N)

Open design questions

  • N = 10? 20?
  • Per-context scoping? Explorer-opens vs code-opens separate lists? Or one global?
  • TTL — drop paths not touched in 30/90 days?
  • Respect deleted-path invalidation (prune entries where the path no longer exists on disk)?

Surfaced during work on my-homepage#21 — picker returning a path that gets handed to explorer.exe. Recent list would make that flow materially faster.

## Idea When the user picks a folder via fzt-picker (e.g. the \`explore\` flow from homepage), the choice is useful context — the next time they pick, they probably want recent paths at the top. Today each picker invocation is stateless: it shows the filesystem root and forces the user to drill in every time. For common workflows (open-in-explorer, code-in-folder, etc.), recent paths would cut navigation dramatically. ## Proposal - Persist a list of recently-picked paths (local file, maybe \`%LOCALAPPDATA%\fzt-picker\recent.yaml\`) - On launch, show a "recent" pseudo-folder at the top of the tree with the last N picks - When the user picks something, prepend to the list (dedupe, cap at N) ## Open design questions - N = 10? 20? - Per-context scoping? Explorer-opens vs code-opens separate lists? Or one global? - TTL — drop paths not touched in 30/90 days? - Respect deleted-path invalidation (prune entries where the path no longer exists on disk)? ## Related Surfaced during work on [my-homepage#21](https://github.com/nelsong6/my-homepage/issues/21) — picker returning a path that gets handed to explorer.exe. Recent list would make that flow materially faster.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/fzt-picker#2
No description provided.