codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open NikkiAung opened this issue 10 months ago • 6 comments

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:

https://github.com/user-attachments/assets/880f6dd5-a436-4b4c-a01b-1d87f4585bf3

NikkiAung avatar Jan 03 '26 22:01 NikkiAung

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

NikkiAung avatar Jan 03 '26 22:01 NikkiAung

Thx

Mind-Vault-AI avatar Jan 03 '26 22:01 Mind-Vault-AI

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

etraut-openai avatar Jan 04 '26 07:01 etraut-openai

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

NikkiAung avatar Jan 11 '26 04:01 NikkiAung

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

nair-shubh avatar Jan 19 '26 12:01 nair-shubh

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.

etraut-openai avatar Nov 27 '26 01:11 etraut-openai