gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Command palette

Open mmahmoudian opened this issue 4 years ago • 3 comments

Feature Description

Please take a moment to check that your feature hasn't already been suggested.

I looked through the open and closed issues and user the search term "pallet" and didn't find anything

Feature request

It would be nice if Gitea also implement a command palette as it is a very efficient form of navigation and interacting with a software/website.

Rational

  • help users to be much more efficient in interacting with Gitea.
  • Perhaps it would also help with the server load as users don't load multiple pages to navigate but rather use the command palette to jump to repos and issues with a very minimal Ajax requests to the server.

Use cases

  • jump between repos/organizations/issues/PRs
  • quick search in issues/PRs
  • copy close address of the current repo regardless of which subpage you are
  • quick commands for issues/PRs (including close, merge, lable, assign, ...)

Implementation examples

  • Softwares I know and worked with that has command palette:
    • Rstudio (Ctrl+Shift+p)
    • VScode (Ctrl+Shift+p)
    • Inkscape (?)
    • Vivaldi (F2)
  • websites I know and worked with that has command palette:
    • Github (Ctrl+k)

Screenshots

No response

mmahmoudian avatar Oct 29 '21 10:10 mmahmoudian

FYI, the spelling is palette, but there's no results for that, either.

:+1: for either a command palette, or slash commands (like in GitLab)

Particularly useful (for me) to be able to assign a user to an issue while typing up the issue, without having to switch to mouse

lingo avatar Jun 01 '23 09:06 lingo

@lingo Thanks for pointing out my mistake. It is now corrected.

mmahmoudian avatar Jun 01 '23 09:06 mmahmoudian

image

We should start small and gradually build it up, I would suggest starting with navigation like github's.

  1. In GitHub, pressing ctrl-k outside the Add a comment box will show the above screenshot, then backspace will let me navigate upwards
  2. But pressing ctrl-k as I'm typing comments will create a link instead of bring up the command palette
  3. In Gitea, it is better as ctrl-k has no effect in the editor box, thus it should still bring up the command palette
  4. I mention the above because there is a tendency for gitea to follow github and my point is that we should make the command palette work everywhere

bilogic avatar May 07 '24 02:05 bilogic