Skip to content

Render media viewer through Lit - #702

Merged
max-sixty merged 1 commit into
mainfrom
codex/lit-generated-ui
Sep 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
codex/lit-generated-ui

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Move the media viewer's complete generated interior from imperative DOM construction to one light-DOM Lit face. The native dialog remains the direct chrome child and continues to own modal behavior, backdrop dismissal, and focus return.

This is another self-contained slice of the generated-UI Lit cutover: the face receives one immutable {url, alt} model, tears the image down on close, and rematerializes it on reopen without adding a compatibility renderer or changing core presentation ownership.

Verified with the complete conversation browser file, focused MCP and feature-gallery routes, pre-commit, syntax checks, and direct Close → reopen → Escape coverage including image attributes and focus return.

This was written by Codex on behalf of @max-sixty

@max-sixty
max-sixty merged commit 39e2664 into main Sep 14, 2026
7 checks passed
@max-sixty
max-sixty deleted the codex/lit-generated-ui branch September 14, 2026 08:04
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.

2 participants