claude-code - 💡(How to fix) Fix /resume picker: show first message instead of last message [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48513Fetched 2026-04-16 06:58:05
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2
RAW_BUFFERClick to expand / collapse

The /resume session picker recently changed to show the last message of each conversation as the preview. It used to show the first message, which was much more useful for identifying sessions — the first message is typically the user's initial request/goal, while the last message is often a generic completion response.

Request: revert to showing the first message, or make it configurable.

🤖 Generated with Claude Code

extent analysis

TL;DR

Reverting the session picker to show the first message of each conversation instead of the last message is likely the most straightforward fix.

Guidance

  • Investigate the recent changes made to the session picker to identify the specific code modification that caused the switch from showing the first message to the last message.
  • Review the database schema or data storage to understand how conversation messages are stored and retrieved, which will be essential for reverting or configuring the message display.
  • Consider adding a configuration option to allow users to choose between displaying the first or last message, enhancing user experience and flexibility.
  • Evaluate the impact of this change on other parts of the system that might rely on the current behavior of the session picker.

Example

No specific code example can be provided without more context, but the fix would likely involve modifying the query or function that retrieves conversation previews to sort or select messages based on their order (first or last) instead of the current last message approach.

Notes

The exact implementation details depend on the underlying technology stack and database structure, which are not specified in the issue. This guidance assumes a typical web application with a relational or NoSQL database.

Recommendation

Apply a workaround by modifying the session picker to display the first message of each conversation, as this directly addresses the user's request and provides a more useful preview for identifying sessions.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING