Skip to content

[FEATURE]:MessageNav per-message dye + hover preview #48292

Open

Description

@xf2214

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem:
Long sessions are hard to scan. All user messages look the same in MessageNav, no quick preview or visual anchor.

Proposal:
Extend MessageNav with optional getPreview() -> { question, answer, time, model } and dyeStorageKey.

  • hover shows question/answer/time/model preview
  • per-message color dot from fixed palette, persisted in localStorage (message-nav-dyes:<key>)
  • fully opt-in, default behavior unchanged when props omitted

Why core:
Navigation belongs in session-ui, not user plugin. Reuses existing HoverCard.

Scope:
message-nav.tsx / .css / session.tsx, ~480 lines, no protocol change.

I have a local prototype and can open a PR against dev after approval.

Activity

  1. github-actions commented on Sep 10, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    The per-message color dye / hover preview aspect of your proposal appears to be new, but the navigation foundation overlaps significantly with these open requests. You may want to comment on one of them instead, or clarify what makes this distinct beyond the color/preview additions.

  2. xf2214 commented on Sep 10, 2026

    @xf2214
    Author

    Not a duplicate - complementary to #32999 and #40826.

    Those propose a new sidebar/panel. This proposes extending the existing MessageNav component both panels would use:

    • getPreview(msg) -> { question, answer, time, model } for hover preview
    • dyeStorageKey for per-message color dot persisted in localStorage
    • fully opt-in, default render unchanged

    If #32999 lands, it can consume these props instead of plain truncated text. Happy to rebase onto it. Scope is message-nav.tsx/.css + session.tsx wiring only.
    Verified on latest dev: no Messages tab in SessionSidePanel, so #32999/#40826 are unimplemented proposals.

  3. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed proposal, @xf2214! To restate it: you'd like MessageNav to optionally show a hover preview for each user message (question, answer, time, model) and let you mark messages with a colour dot that is saved per session, so long sessions are easier to scan. With the props omitted, nothing would change.

    Maintainers will consider it. Since there's a lot of parallel work on session navigation right now, it's worth waiting for their feedback on the direction before opening the PR. Related issues and PRs:

    As far as I can tell, none of these covers per-message colour markers, so that part is new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions