Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A keyboard shortcut to smooth the process of linking pages #1584

Open
timkrief opened this issue Nov 10, 2024 · 0 comments
Open

A keyboard shortcut to smooth the process of linking pages #1584

timkrief opened this issue Nov 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@timkrief
Copy link
Member

Is your feature request related to a problem? Please describe.

I often link to existing pages, using the "/" to open the smart-picker creates a link with an ugly name (the url itself) that is tedious to change each time. Dragging pages works fine, but it's hard to find pages in large and active collectives and you have to use a mouse. Selecting the text to link and then using the top menu to open the smart-picker works well but is quite a long process and you have to use a mouse.

Describe the solution you'd like

  • The user selects the text to link
  • They uses a shortcut (Ctrl + "/" for instance)
  • It opens the smart-picker, and auto-select the collectives provider
  • It auto-fills the smart-picker field with the selected text and trigger the search
  • User can select the first option with enter if it's a perfect match, select another option using the arrows or even edit the search text
  • The selected text is linked to the selected collective page

Describe alternatives you've considered

I made a user-script that does most of this described solution, but even after hours spent searching, I can't trigger the search without actual keyboard input. (the script open the smart picker, selects collectives, and enter the selected text into the search input. I have to press at least one key to trigger the search)

This would also help a lot: #1583
It wouldn't replace what's suggested here, because it wouldn't work with already written texts, but for text you are in the process of writing, it would work even better. Both would be ideal.

Additional context

This feature would make it easier to link pages to one another, a bit as it is done in most wikis.

@timkrief timkrief added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant