Skip to content

Remove repository clutter: legacy JSmol demos, sample data, stale docs - #57

Merged
dnkats merged 1 commit into
mainfrom
cleanup/remove-legacy
Sep 22, 2026
Merged

dnkats merged 1 commit into
mainfrom
cleanup/remove-legacy

Conversation

@dnkats

@dnkats dnkats commented Sep 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes legacy/ (292 JSmol demo files), jsmol/data/ except the two sample molecules the buttons load (39 MB that went into every installer), the unused jsmol/js/JSmolJME.js, the icon drafts build/icon_benzene*.svg and build/icon_detailed.svg, and the June 2025 leftovers WINDOWS11-FIX-SUMMARY.md, VERSION-MANAGEMENT.md, build-version.js, debug-gpu.js with their npm scripts.
  • CNAME stays. Docs (Troubleshooting.md, copilot instructions) updated; CHANGELOG has a Removed entry.
  • jsmol goes from 95 MB to 57 MB; 444 files deleted.

Test plan

  • npm run smoke and --bridge-probe green on the trimmed tree (Linux, Xvfb).

🤖 Generated with Claude Code

…s and scripts

Nothing here was part of the app. legacy/ (292 files, 14 MB) is the
JSmol distribution's demo pages; jsmol/data/ (39 MB) is JSmol's sample
data of which only caffeine.mol and buckyball.mol are loaded, and the
whole directory went into every installer via jsmol/**/*;
jsmol/js/JSmolJME.js lost its script tag in 1.5.5; the icon drafts are
not used by generate-icons.sh; WINDOWS11-FIX-SUMMARY.md,
VERSION-MANAGEMENT.md, build-version.js and debug-gpu.js are June 2025
leftovers whose content Troubleshooting.md covers. The check-version
and debug-gpu npm scripts go with them; docs updated accordingly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 22, 2026 08:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The changes are primarily deletions/cleanup with references updated, with only a minor changelog wording correction suggested.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

This PR reduces repository and installer footprint by removing legacy/demo assets and outdated tooling/docs that were not part of the shipped application, while updating documentation and release notes to match the trimmed tree.

Changes:

  • Deleted the legacy/ JSmol demo tree and pruned jsmol/data/ down to the two sample molecules used by the UI.
  • Removed stale/unneeded scripts and docs (debug-gpu.js, build-version.js, VERSION-MANAGEMENT/W11 leftovers) and their package.json script entries.
  • Updated Troubleshooting.md, Copilot instructions, and CHANGELOG.md to reflect the removals.
File Description
package.json Removes debug-gpu and check-version npm scripts tied to deleted tooling.
Troubleshooting.md Drops references to the removed GPU debug tool and removed “additional docs” links.
CHANGELOG.md Adds a “Removed” entry documenting the cleanup (one sentence needs tightening per review comment).
.github/​copilot-instructions.md Updates internal instructions to stop referencing removed scripts/docs and reflects jsmol/data/ now only containing the two samples.
VERSION-MANAGEMENT.md (deleted) Removes stale documentation for a removed verification script.
build-version.js (deleted) Removes unused version-consistency checker previously invoked via npm script.
build/​icon_detailed.svg (deleted) Removes icon draft asset not used in the build.
build/​icon_benzene_simple.svg (deleted) Removes icon draft asset not used in the build.
legacy/​** (deleted, 292 files) Removes legacy JSmol demos/test pages not used by the app.
jsmol/​data/​** (pruned) Removes bundled sample datasets to reduce installer size; keeps caffeine.mol and buckyball.mol.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CHANGELOG.md

### Removed

- Repository clutter that was never part of the app: the `legacy/` JSmol demo pages (292 files), JSmol's sample data in `jsmol/data/` except the two sample molecules the buttons load (39 MB, previously shipped in every installer), the unused `jsmol/js/JSmolJME.js`, the icon drafts `build/icon_benzene*.svg` and `build/icon_detailed.svg`, and the June 2025 leftovers `WINDOWS11-FIX-SUMMARY.md`, `VERSION-MANAGEMENT.md`, `build-version.js` (`npm run check-version`) and `debug-gpu.js` (`npm run debug-gpu`). `Troubleshooting.md` covers what those documents said.
@dnkats
dnkats merged commit 5c79250 into main Sep 22, 2026
2 checks 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.

2 participants