Skip to content

Add browser-based QA harness for TUI frame review #37

Description

@Mineru98

Summary

Add a browser-based QA harness for reviewing generated Ourocode TUI frames before recording demos or shipping visual terminal changes.

Why

TUI changes currently need a lightweight way to replay representative renderer states, inspect wrapping at multiple terminal widths, and collect visible evidence before manual QA.

Scope

  • Generate deterministic frame payloads from the current TUI renderer.
  • Serve frame JSON and a local browser review surface.
  • Provide playback, viewport-width controls, copy support, and visible checks.
  • Document the design constraints for this QA surface.
  • Add focused tests for frame generation and JSON export.

Acceptance Criteria

  • mix test test/ourocode/terminal/qa_frames_test.exs passes.
  • mix run --no-start scripts/tui_qa_frames.exs emits a valid JSON frame array.
  • mix run --no-start scripts/tui_qa_server.exs --port 5199 serves /health, /frames.json, and the browser UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions