Skip to content

Merge codex-xml-export-hardening into main#2

Merged
oywino merged 8 commits into
mainfrom
codex-xml-export-hardening
Apr 19, 2026
Merged

Merge codex-xml-export-hardening into main#2
oywino merged 8 commits into
mainfrom
codex-xml-export-hardening

Conversation

@oywino

@oywino oywino commented Apr 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • rename the Python launcher to XML_Editor.py and update docs/CI references
  • add visible app versioning, windowed launcher behavior, and automatic shutdown on browser close
  • improve XML editor robustness, element framing, icon visibility, and remove unnecessary visual guide lines
  • add undo/redo shortcuts and remove the misleading text-node delete control
  • add writable Git wrapper scripts used to avoid local sandbox Git metadata permission issues

Testing

  • verified the app locally after each approved change
  • ran node --check app.js

oywino added 8 commits April 19, 2026 18:12
Show the current application version in the top header so local builds are easy to identify while testing.

Bump the displayed app version to v0.1.1 for this release.
Launch the editor in a new browser window when possible, remove the Ctrl+C shutdown prompt, and stop the local server automatically when the browser window closes.\n\nAdd a lightweight browser heartbeat so the Python launcher can detect when the window is gone and exit on its own.
Add repo-local Git and GitHub wrapper scripts that point to a writable alternate Git metadata directory, and ignore that directory in the working tree.\n\nThis avoids the local permission errors that were blocking remote-tracking ref updates and branch config writes in the sandboxed .git directory, while keeping the app version badge aligned with the new release.
Rename the Python launcher from app.py to XML_Editor.py and update the README, architecture notes, contribution guide, and CI compile check to match.\n\nRefactor element rendering so each XML node is displayed as one outlined visual unit from opening tag to closing tag, and add right-side breathing room so nested outlines no longer touch adjacent right edges.\n\nBump the visible in-app version badge to v0.1.4 for this release.
Increase the visibility of the small UI symbols used throughout the tree editor by switching key controls to crisp inline SVG icons and darkening the icon treatment to solid black.\n\nEnlarge the tag marker and delete icon, and make the collapse/expand arrow use the same vector arrow style as the move-up and move-down controls so those arrows render identically.\n\nBump the in-app version badge to v0.1.5 for this release.
Remove the delete control from text-node rows so clearing text content is done directly in the textarea instead of through a misleading remove action.\n\nThis avoids the confusing visual state where deleting a text node made the surrounding element structure appear broken, and bumps the in-app version badge to v0.1.6 for this release.
Add document-level undo and redo support for structural edits, preamble changes, and committed text edits using Ctrl+Z and Ctrl+Y.\n\nRoute document mutations through a shared history layer, keep the in-app version badge aligned to v0.1.7, and remove the remaining decorative vertical guide lines on the left side of element content.
@oywino
oywino merged commit 187a579 into main Apr 19, 2026
1 check passed
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.

1 participant