mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 22:24:11 +00:00
8ec12ae4d2
Speed, font size and the flips could each be set from two places: the view params editor, which writes the query, and the prompter's own keys and buttons, which wrote React state and nothing else. The URL therefore described how the view was opened rather than how it had been tuned, so a link copied after setting the prompter up handed the next person a different prompter, and a reload threw the setup away. The live controls now mirror into the same query the params editor writes, so the existing features built on it — sharing a link, saving a URL preset, redirecting a client — describe what is actually on screen without changes of their own. Settings left at their default stay out of the query, so a shared link carries only what was deliberately changed. The write is debounced and replaces rather than pushes: the arrow keys repeat while held, and neither a held key nor a foot pedal should fill the address bar or the back button with one entry per frame. Font size was a hidden multiplier on top of the option, which had no way to be expressed as a param. It is now the size itself, stepped by a ratio so a press is the same visual change at any size, sharing the option's own range. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cb8RVPNQ2ETPJxdy4b8CHf