matiasandina / matiasandina/uid_python_api

Refresh or retire scripts/ui_mock_preview.py so docs visuals match the current UI

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Summary

As of 2026-04-15, scripts/ui_mock_preview.py appears stale relative to the current preflight/runtime UI and the current operator workflow.

This matters because the script is the obvious candidate for generating consistent docs visuals, but right now several mock values and labels do not line up with the actual app behavior.

Why this matters

We want human-first docs with integrated screenshots inside the manual pages, not a separate screenshot dump. A stale mock-preview script will produce misleading screenshots and weak docs.

Current signs of drift

  • Uses older/static labels and states that may not reflect the current preflight launch flow
  • Hard-codes example content that does not match the latest operator wording
  • May no longer cover the most important states we want to document

Candidate direction

Decide whether scripts/ui_mock_preview.py should be:

  1. refreshed and kept as the canonical docs-visual generator, or
  2. retired if we prefer screenshots from real runs only

If kept, it should render the states we actually want to document:

  • preflight dashboard
  • preflight resize-warning state
  • Doric/Teensy setup success states
  • open-loop launch summary
  • closed-loop assignment flow
  • runtime waiting / active / fault states

Acceptance criteria

  • Decide keep vs retire
  • If kept, update labels/content to match the current UI wording and flows
  • Ensure docs authors can generate stable visuals from it intentionally
  • Add a short README/doc note explaining how to use it for docs screenshots or exports

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/ui_mock_preview.py and compare its labels, example content, and rendered states against the current preflight and runtime UI. Decide whether the script remains useful, then either update it for the listed documentation states or retire it. Done includes a short README or documentation note explaining how docs authors should generate visuals, if the script is kept.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.