Skip to content

Dismiss chat image previews with browser Back - #287

Closed
hamzamerzic wants to merge 2 commits into
mobius-os:mainfrom
hamzamerzic:fix/chat-image-back-dismiss
Closed

Dismiss chat image previews with browser Back#287
hamzamerzic wants to merge 2 commits into
mobius-os:mainfrom
hamzamerzic:fix/chat-image-back-dismiss

Conversation

@hamzamerzic

Copy link
Copy Markdown
Collaborator

Summary

  • make chat image previews participate in shell history so Back closes the viewer without leaving the current conversation
  • route message images, galleries, sent attachments, and composer attachments through one shared dismissal contract
  • keep the viewer's close controls and browser Back on the same history path

Testing

  • npm run build
  • focused image gallery, attachment, and navigation unit tests
  • added a Playwright regression covering Back from an open chat image (left for Docker-backed CI)

Co-authored-by: Möbius Agent <mobius-agent@users.noreply.github.com>
@hamzamerzic hamzamerzic added area: ui User interface and interaction design bug Something isn't working labels Jul 27, 2026
@hamzamerzic

Copy link
Copy Markdown
Collaborator Author

Superseded by the reviewed visual integration in #295, which preserves this change and its authorship. The integration is now moving through the merge queue.

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

Labels

area: ui User interface and interaction design bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant