Skip to content

[feature] Fuzzy picker for sp open #10

Description

@rwrife

Pitch: Typing full ids is friction. sp open (with no argument) launches an interactive fuzzy picker over live scratches; pick one, it opens.

Acceptance criteria

  • sp open with no id opens an interactive selector (name, age, expires-in, tags visible)
  • Keyboard-driven filter/fuzzy match; Enter opens the highlighted scratch in $EDITOR
  • Works without an external fzf dependency (use a Go TUI lib, e.g. bubbletea/huh), but detect and defer to fzf if present
  • Esc/Ctrl-C cancels cleanly with no changes
  • Degrades to a numbered prompt when not a TTY-capable terminal

Notes

  • Same idea can later extend to sp cat/sp rm/sp resurrect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature / backlog item

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions