Skip to content

[tui] tui-screenshots/ PNGs are stale, unreferenced, and not reproducible #17

Description

@tiankaima

Summary

The four PNGs under tui-screenshots/ no longer depict the current TUI, nothing in the repo references them, and there is no tooling to regenerate them.

Evidence

  • All four images (course-80x20.png, section-80x20.png, teacher-80x20.png, teacher-40x12-compact.png) show help text enter submit • tab switch field • esc cancel. The current code renders enter search • tab switch field • esc quit (internal/tui/tui.go:279), so the images predate a UI text change.
  • grep -r tui-screenshots (and screenshot) across the repo finds no reference in README, docs, Makefile, tests, or CI — they were committed as binaries in 2f796cf with no capture script.
  • scripts/ is an empty directory; no make target or test produces these images.

Stale screenshots are worse than none if anyone links them externally, and right now they can't be refreshed even if someone wanted to.

Suggested fix

Either add a small capture path — e.g. a scripts/capture-tui-screenshots.sh driving the TUI against a fixture server via tmux/vhs at fixed sizes, wired to make screenshots — or delete the directory. If they're meant for the README, embed and regenerate them as part of the same flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions