Homepage search box bugs

Aperta
#259 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend, search

Direzione di ricerca

Start at the homepage search box and trace its submit handler and search-as-you-type behavior. Check the form submission and Explore button first, then inspect how short queries are handled. Done means Enter and Explore both perform a search instead of showing a submission message or doing nothing, and the expected behavior for short queries is clarified.

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

Descrizione

The homepage search box at the very top of https://www.openclimate.network/ has these three bugs (I can split these up if preferred):

  • If I type something and hit Enter it says "Thank you! Your submission has been received!" (not what I expect when searching. I wasn't entering a "submission"! Is there a database slowly filling with search nonsense from people like me?!)
Screenshot 2023-12-21 at 22 15 57
  • If I type something and hit "Explore" green button on the right, nothing happens. No error in the js console.

  • (Minor) If I start typing more than three letters then it begins showing search-as-you-type matches below the box, but the first search I tried was "UK" (Awkward I know, but maybe some super-short matches could be pre-programmed)

Lingua principale
TypeScript
Stelle
64
Fork
16
Merge medio
1h 1m
PR unite (30g)
2

Preparare l'ambiente

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 Open-Earth-Foundation/OpenClimate

Tutte le issue di Open-Earth-Foundation/OpenClimate

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.