Skip to content

Mode selector UX: Try + 2 recent + overflow dropdown #52

Description

@t1

Replace the current 3-segment toggle (Try | HTTPie | curl) with a scalable mode selector:

  1. Try — permanent first segment, always visible
  2. Most recently used format — second segment
  3. Second most recently used format — third segment
  4. Overflow dropdown (▾) — fourth position, opens a menu listing all formats

Initial state (no history): Try | HTTPie | curl | ▾ (matches today's defaults).

Keyboard shortcuts:

  • Ctrl+1 → Try (always)
  • Ctrl+2 → Most recent format
  • Ctrl+3 → Second most recent format
  • Ctrl+4 → Open overflow dropdown

Recently used formats persisted in localStorage. No new generators in this issue — the dropdown lists whatever generators are registered.

Part of #11. See spec: docs/superpowers/specs/2026-04-12-issue-11-output-formats-design.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedReviewed by maintainer — agents may read and act

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions