tiny-pilot / tiny-pilot/tinypilot
Brief flickering of rendering artifacts while loading the UI
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
A really tiny UI glitch: when loading the TinyPilot UI (e.g. http://tinypilot.local), the browser might very briefly display some intermediate artifacts while initializing the frontend:
You can observe this effect in the screen cast video of this PR, around the 2:01 time mark.
To me, it appears as if these buttons come from our dialogs: e.g., the first button row looks like the ones from the shutdown dialog (without labels, though), the button underneath is probably a dangling “close” button.
The root cause might be that the dialogs are statically dumped into the index.html page. So the artifact flickering could stem from the fact that there is a short time gap between the browser initially rendering the dialogs’ HTML, and then hiding the dialogs in a later step.
This issue might be browser-dependent.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the loading sequence at http://tinypilot.local and inspect app/templates/index.html around the statically included dialogs. Then compare those elements with app/templates/custom-elements/shutdown-dialog.html and the later dialog-hiding step. Done means the UI no longer briefly shows dialog or button artifacts during initialization, including in affected browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100