Skip to content

[Feature]: Minimap arrows/keybindins to navigate to previous/next user prompt #4023

Description

@teloverge

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/web

Problem or use case

Rapid navigation to previous/next user prompt (OrchestrationMessage.role: === "user").

Minimap can be hard to select a specific message.

Proposed solution

Up/down "arrows" centered below minimap navigate to previous/next user prompt. Optional keybindings [Ctrl-Up/Ctrl-Down] when focused on conversation history.

MessageTimeline already tracks location [state.positionAtIndex(rowIndex)] in conversation history.

Fade out with timeline if side gutter lacks space.

Why this matters

Finding prompts quickly in long conversation history eliminates unnecessary scrolling.

Support AI developer/content creators that demonstrate "live" the prompts they used in complex projects/threads.

Smallest useful scope

Either the UI arrows or keybindings.

Alternatives considered

Create separate issue for minimap carousel with "center stage" highlighting (aka "fisheye menu") (center=200%, previous/next=150%, all others = current minimap line width). Minimap already implements "content reveal" for hovered item. The carousel would actually work best for vertically constrained windows. Concept generally based on Apple's 3D cylindrical vertical carousel (wheel).

More distinct colorization of prompts (like iMessage blue/green distinction between sender/receiver).
Allow arrows inside the side gutter.

Risks or tradeoffs

Risk:

  • Compact arrows below minimap for previous/next selection is low risk. MessageTimeline already supports scrollToIndex().
  • Carousel solution would require custom react component that could impact performance

Edge cases:

  • No previous/next prompt available.
  • Many and verbose turns between prompts requires tracing current display position to previous/next prompt.

Examples or references

Compact up/down arrows centered below minimap: Image

Minimap carousel would look similar to this, but with much less vertical spacing between neighbors.
Image

Contribution

  • I would be open to helping implement this.

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

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions