Skip to content

🧹 Groundskeeper: remove stray theme-export files - #336

Merged
jnnngs merged 1 commit into
mainfrom
claude/adoring-wozniak-i4hi1z
Sep 9, 2026
Merged

jnnngs merged 1 commit into
mainfrom
claude/adoring-wozniak-i4hi1z

Conversation

@jnnngs

@jnnngs jnnngs commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

🗂️ Clutter

themes/Custom_Theme.json and themes/Custom_Theme_X.json — two JSON files at the repo root that are the downloaded output of the app's theme customizer "save theme" feature, not source. Each carries a savedAt ISO timestamp (2026-02-14T11:16:15Z / ...11:20:28Z) and a customTheme/schema/theme shape matching the /api/themes/save payload in cmd/3270Web/main.go — i.e. someone's local test session leaked into a commit. They landed via PR #284, "Put the bundled sample apps one pick away from the host list," which is otherwise unrelated to theming — a clear sign of accidental inclusion rather than an intentional fixture.

🔎 Verification

  • grep -rn "themes/" --include="*.mjs" --include="*.go" --include="*.js" --include="*.md" . (excluding node_modules) — the only hits are the /api/themes/save route string, not a themes/ directory reference. The app persists themes over HTTP, never to a file at this path.
  • Checked mkdocs.yml, Dockerfile, docker-compose*.yml, and .github/ for any mention of a themes/ directory — none found.
  • git log --oneline -- themes/ shows exactly one commit (the unrelated merge above) ever touched this path — no later commit built on it.
  • Last commit touching these files: 2026-08-09 (31 days before today, outside the 30-day protection window).
  • git ls-files confirms nothing else in the tree depends on these two files.

🎯 Benefit

Removes two runtime-generated, non-source files that don't belong in the repository and could confuse a future contributor into thinking themes/*.json is a real config or fixture directory.

✅ Checks

  • go build ./... — clean
  • go vet ./... — clean
  • go test ./... — all packages pass (cmd/3270Web, internal/*)

Other candidates noticed, not acted on

  • 3270Web / 3270Web.exe at the repo root (34–36 MB compiled binaries) — tracked deliberately per commit history ("Update binary files for 3270Web and 3270Web.exe"), last touched 2026-08-24 (within the 30-day window) — left alone.
  • web/static/screen-copy.js matched the *-copy* filename heuristic but is a legitimate, actively-referenced feature file (whole-screen/rectangular clipboard copy) — left alone.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WD4Z7iK6f3tpZqgWnAsdYc


Generated by Claude Code

themes/Custom_Theme.json and themes/Custom_Theme_X.json are downloaded
output of the theme customizer's "save theme" feature (each carries a
savedAt timestamp), not source. They landed in an unrelated PR ("Put the
bundled sample apps one pick away from the host list") and nothing in the
codebase, docs, Dockerfile, or CI references a themes/ directory at the
repo root — the app's own theme persistence goes through the
/api/themes/save HTTP route, not a file on disk. Removing the stray
directory keeps the repo root free of test-session leftovers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WD4Z7iK6f3tpZqgWnAsdYc
@jnnngs
jnnngs marked this pull request as ready for review September 9, 2026 08:18
@jnnngs
jnnngs merged commit eb620f9 into main Sep 9, 2026
5 checks passed
@jnnngs
jnnngs deleted the claude/adoring-wozniak-i4hi1z branch September 9, 2026 08:18
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