Skip to content

feat(resume-picker): add expand/collapse prompt view with keys #8709

Done

Description

@NikkiAung

What feature would you like to see?

Add expand/collapse prompt view in resume picker with ←/→ keys

Problem:

The resume picker shows only a truncated first user message for each session. When browsing sessions, there's no way to inspect the full prompt without resuming the session first. This makes it difficult to identify the right session when you have many with similar starting text.

Proposal:

In the picker, let Right (→) expand the full first user prompt for the selected session; Left (←) collapses it. Show the expanded prompt inline directly under the selected row as one or more wrapped lines.

Example:
Resume a previous session
Type to search
Updated Branch Conversation

42 seconds ago main ▼ (expanded)
Can you help me refactor the authentication
module to use JWT tokens instead of session
cookies? I need to maintain backwards...
5 minutes ago feature Fix the login bug
2 hours ago main Add new API endpoint

Benefits:

  • Quickly preview full prompt without resuming
  • Helps identify the correct session among similar ones
  • Non-intrusive - collapsed by default, expand only when needed

Additional information

Feat Req Demo

I have a working implementation ready:

Screen.Recording.2026-01-03.at.2.03.01.PM.mov

Activity

  1. added
    enhancement
    on Jan 3, 2026
  2. added
    CLI
    TUI
    on Jan 3, 2026
  3. NikkiAung commented on Jan 3, 2026

    @NikkiAung
    Author

    @etraut-openai, feel free to lmk about my proposal! :))

  4. Mind-Vault-AI commented on Jan 3, 2026

    @Mind-Vault-AI

    Thx

  5. etraut-openai commented on Jan 4, 2026

    @etraut-openai
    Contributor

    @NikkiAung, thanks for the proposal. Let's see what other Codex users think about it. We generally prioritize features based on upvotes.

  6. NikkiAung commented on Jan 11, 2026

    @NikkiAung
    Author

    @etraut-openai I shared this feature idea on the Codex community subreddit to collect user feedback. Looking forward to the next step. :))

  7. nair-shubh commented on Jan 19, 2026

    @nair-shubh

    This definitely helps. Sometimes two user messages seem similar and cannot be determined without opening first.

  8. removed
    CLI
    on Feb 4, 2026
  9. etraut-openai commented on Nov 27, 2026

    @etraut-openai
    Contributor

    In the resume picker, highlight a session and press Ctrl+T to read its transcript, including the full first prompt, without resuming it. Press Esc to return to the picker. For a shorter preview of recent messages, Ctrl+E expands or collapses the selected row.

    Closing as implemented with these shortcuts.

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

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions