codex - 💡(How to fix) Fix Codex hides changed-files UI when only one HTML file is edited [1 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
openai/codex#19566Fetched 2026-04-26 05:14:51
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

Code Example

<!doctype html>
<html>
  <head>
    <title>Test page</title>
  </head>
  <body>
    <h1>Hello</h1>
  </body>
</html>
RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.422.30944

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Recently, a feature appears to have been added where, when Codex edits a .html file, an “Open” website button appears at the bottom of the response message so the user can quickly preview changes.

The bug is that when Codex edits only one HTML file and no other files, the usual helpful changed-files UI no longer appears. Specifically, the UI that normally says something like: 1 file changed +116 -70 Undo Review

As a result, it looks like no file changes happened at all, even though the HTML file was modified. There is also way to Undo or Review from the response, so the user has to manually inspect and revert the file changes.

What steps can reproduce the bug?

  1. Open VS Code with the Codex IDE extension installed.
  2. Open a workspace with a HTML file in it.
  3. Ask Codex to edit only that HTML file.
  4. After Codex responds, observe the bottom of the response message.

Example file:

<!doctype html>
<html>
  <head>
    <title>Test page</title>
  </head>
  <body>
    <h1>Hello</h1>
  </body>
</html>

What is the expected behavior?

The changed-files UI should still appear whenever Codex modifies files, including when the only changed file is a single .html file.

The “Open” website button should not replace or suppress the usual file-change controls. Ideally both should appear.

Additional information

Likely a regression related to the newer HTML preview / “Open” website button behaviour. It appears that the UI for opening the generated HTML page may be hiding or replacing the standard changed-files summary and controls when the edit only affects one .html file.

extent analysis

TL;DR

The issue can be addressed by modifying the Codex IDE extension to display both the "Open" website button and the changed-files UI when editing a single HTML file.

Guidance

  • Investigate the recent changes related to the HTML preview feature to identify the regression causing the changed-files UI to be hidden.
  • Verify that the issue is specific to editing single HTML files and that the changed-files UI appears when multiple files are edited.
  • Check the extension's code for any conditional logic that might be suppressing the changed-files UI when the "Open" website button is displayed.
  • Consider adding a configuration option to control the display of the "Open" website button and the changed-files UI.

Example

No code snippet is provided as the issue lacks specific details about the extension's codebase.

Notes

The issue appears to be a regression related to the newer HTML preview feature, and resolving it may require modifying the extension's code to handle the display of both the "Open" website button and the changed-files UI.

Recommendation

Apply a workaround by modifying the extension's code to always display the changed-files UI, even when the "Open" website button is shown, until a permanent fix is available. This will ensure that users can still access the changed-files UI and undo or review changes.

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

codex - 💡(How to fix) Fix Codex hides changed-files UI when only one HTML file is edited [1 comments, 2 participants]