tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3.02k stars 252 forks source link

Add dev utility for opening dialogs after page load #1767

Closed jotaen4tinypilot closed 6 months ago

jotaen4tinypilot commented 6 months ago

I noticed that when doing UI development in dialogs, it’s quite cumbersome to having to open the respective dialog via the menu after each and every page refresh.

So I thought we could introduce a local dev utility for convenience, that opens a dialog right after loading (or refreshing) the page.

I’ve used this while working on https://github.com/tiny-pilot/tinypilot/issues/1739, and it really was a great relief to me.

https://github.com/tiny-pilot/tinypilot/assets/83721279/a2c0340e-015b-42ae-825e-41b82c93e612

Review on CodeApprove