Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

RFE: keyboard shortcut to redisplay search results

Aperta
#2,324 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
frontend

Direzione di ricerca

L’issue non indica alcun file sorgente, test o punto di ingresso; inizia individuando la gestione della barra laterale, dei risultati di ricerca e delle scorciatoie da tastiera. Il lavoro è completato quando una scorciatoia dedicata ripristina i risultati di ricerca esistenti senza modificarli, anche quando i risultati sono scomparsi, e il comportamento è coperto da una verifica.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Feature request

Motivation

When the option to "Automatically hide and show the sidebar" is selected, navigating to a search result closes the sidebar. However, sometimes there are multiple search results and the one you pick first turns out to be not what you need, but by then the sidebar is already hidden and you don't see the rest of the search results.

It is possible to redisplay the search results by typing something else or using Alt + / , but that's unintuitive/inconvenient because it resets search results and/or clobbers the cursor position.

Summary

This RFE is to add a dedicated keyboard shortcut (for example, Alt + /) to refocus the sidebar and redisplay search results, without changing them in any way.

Sometimes the search results disappear completely (such that the Alt + / workaround does not help). This shortcut should be able to refresh the search in this case.

This request is similar to #657, but for a keyboard shortcut rather than mouse gesture.


There are also apparent inconsistencies in how / is handled (it's not really useful most of the time because in normal usage the search bar does not seem to lose the focus at all, so blindly typing / after navigating to a search result tends to just insert a stray literal / into the search box). Perhaps this could be changed and then / would serve as the shortcut for this RFE?

Examples

N/A

Lingua principale
Ruby
Stelle
39.5k
Fork
2.6k
Merge medio
2g 9h
PR unite (30g)
13

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di freeCodeCamp/devdocs

Tutte le issue di freeCodeCamp/devdocs

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.