Skip to content

fix(share): render all turns as scrollable list instead of single-turn + nav#25081

Open
workdocyeye wants to merge 1 commit intoanomalyco:devfrom
workdocyeye:fix/share-scroll-all-turns
Open

fix(share): render all turns as scrollable list instead of single-turn + nav#25081
workdocyeye wants to merge 1 commit intoanomalyco:devfrom
workdocyeye:fix/share-scroll-all-turns

Conversation

@workdocyeye
Copy link
Copy Markdown

@workdocyeye workdocyeye commented Apr 30, 2026

Issue for this PR

Closes #18567

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The shared conversation viewer (opncd.ai/share/*) currently uses a MessageNav sidebar on desktop that shows generic labels and requires clicking individual turns to view them. This is confusing and non-obvious navigation.

This PR removes the MessageNav sidebar and renders all conversation turns as a continuous scrollable list, matching the UX pattern of standard chat applications. The desktop two-column layout with SessionReview (diff panel) is preserved.

Changes:

  • Removed MessageNav component and import
  • Removed createStore/activeMessage/setActiveMessage state management
  • Replaced single <SessionTurn> with <For each={messages()}> loop
  • provider/modelID now reference firstUserMessage() directly
  • Desktop SessionReview side-by-side layout preserved
  • Mobile Tabs layout unchanged

How did you verify your code works?

  • Built a Vite+SolidJS sandbox with extracted real session data to verify the layout change renders correctly
  • Verified all 23 turns render in scrollable mode with no broken state
  • Confirmed the desktop diff panel (SessionReview) still renders correctly in two-column layout
  • Confirmed mobile Tabs layout is unaffected

Screenshots / recordings

N/A - layout change only

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

…n + nav

Desktop share page previously showed one turn at a time with
MessageNav sidebar navigation. The turns() scrollable list view
already existed for mobile but was gated behind a responsive tab.

This change replaces the desktop MessageNav + single SessionTurn
layout with the scrollable For-each loop, showing all conversation
turns in one continuous scroll. This matches the standard UX pattern
of most chat applications.

Changes:
- Remove MessageNav import and usage
- Remove store/activeMessage/setActiveMessage state management
- Replace single SessionTurn with <For each={messages()}>
- provider/modelID now references firstUserMessage() directly
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shared conversation UI is confusing - unclear navigation and generic message labels

2 participants