HeyPuter / puter

🌐 The Internet OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
21.68k stars 1.37k forks source link

Keyboard Shortcut for Quick Access to Puter Debug Information #100

Open jelveh opened 4 months ago

jelveh commented 4 months ago

Description:

Implement a keyboard combination shortcut to enable users to display a window containing detailed information about the Puter version and environment (version, server location, deployment time,...). The goal is to simplify the process of accessing and sharing system information, which is currently achieved by navigating to the logo at the top left corner of the screen—a method too inconvenient for quick bug reporting.

Problem:

Fast bug reporting is crucial for maintaining the reliability of the Puter platform. However, the current multi-step process required for users to access and report their environment details is cumbersome.

Proposed Solution:

Introduce a keyboard shortcut (e.g., Ctrl+Shift+I or Cmd+Shift+I for Mac users) that immediately opens a window or modal displaying comprehensive details about the Puter version and the host environment

Note that Puter information can be retrieved by sending a GET to the /version endpoint of the API whereas storage info is available from /df.

Additionally, this window should include a "Copy to Clipboard" button, allowing users to copy all displayed information with a single click.

KernelDeimos commented 4 months ago

I really like this hotkey:

Hold Ctrl+Shift, and press Z twice

The reason Z is pressed twice: -> Ctrl+Shift+Z could do:

shows an input prompt where a user can run commands, search for files, or prompt the system AI assistant

The aforementioned input box could also have the text "Press Z again for debugging information".

jelveh commented 4 months ago

Ctrl + shift + z is a common combo for redo.

AtkinsSJ commented 4 months ago

Ctrl + Shift + I opens the dev tools in Chrome and Firefox, so that's not ideal either.