add a artisanal cmdk as shorcut of debug/orchestra
Hello! How are you? I really liked the debug idea that you implemented, but I was getting tired of having to go to the /debug/orchestra path every time I wanted to activate debug mode.
So, I built a small modal that is rendered inside the Debug component and can be triggered with a cmd + k (ctrl + k on Windows) shortcut. It closes with the same combination or with the Escape key.
I'm sharing it with you in case you are as tired of changing routes as I am :P
Rodri 🐶
@rperrote is attempting to deploy a commit to the darkroom Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| satus | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 5:45pm |
| satus-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 5:45pm |
True. But the only real use of cmd + k is in Firefox to focus the search bar. Plus, I’m replying to this from Gmail, and they override ctrl + k to create a link.
Anyway, it could be something that only shows up in the development environment.
El mar, 4 jun 2024 a las 10:12, Clément Roche @.***>) escribió:
That a great idea however erasing browser's default cmd+k behvior might not be optimal.
— Reply to this email directly, view it on GitHub https://github.com/darkroomengineering/satus/pull/39#issuecomment-2147502874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN2OBWAORXROT5R4F4C2MDZFW4LNAVCNFSM6AAAAABIGOKGL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGUYDEOBXGQ . You are receiving this because you were mentioned.Message ID: @.***>
it will be merged soon, I promise @rperrote
a new simple shortcut menu to the debug tools has been added in the latest changes to satus by pressing cmd + o. thank you for bringing this idea up and creating the pull request.