Editing the name of a specimen pollutes the browser URL history
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
- typescript
- Ambito
- frontend
Direzione di ricerca
Start at the Gallery specimen name input and trace how edits update the browser URL history. The issue suggests pushing a URL only when editing is complete, perhaps when the input loses focus, but leaves the exact behavior open. Verify that typing a name creates a single useful history entry rather than one per keystroke, and that browser navigation still reaches previous specimens.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
To reproduce, go to the Gallery and select (say) the "Thue Trellis" specimen. Then click to the right of the name "Thue Trellis" in the specimen bar at the top. Then backspace seven times to erase "Trellis" and type "Fractal". Indeed, the name of the specimen is now "Thue Fractal". However, if you now right-click on the back button (or whatever you do in the browser of choice) to display the URL history of that browser window, you will see there are 14 URLs, identical except for the names "Thue Trelli", "Thue Trell", ..., "Thue Fracta", "Thue Fractal". This is excessive, and makes navigation to actual previous specimens cumbersome.
My recommendation is that a new URL should be pushed only when "input is complete" -- perhaps we can detect that by the input bar for the name losing focus? Anyone have suggestions on exactly how to do this?
- Lingua principale
- TypeScript
- Stelle
- 10
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di numberscope/frontscope
-
Docker builder is deprecatedApertamaintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
numberscope/frontscope#657 ·
-
Unit tests fail on Node 25+Apertablocked/blocking maintenance
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
numberscope/frontscope#656 ·
-
Mouseover for Chaos?Apertavisualizer
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
numberscope/frontscope#648 ·
-
ui visualizer
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
numberscope/frontscope#647 · 1 commento ·
-
future question visualizer
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
numberscope/frontscope#646 ·
Tutte le issue di numberscope/frontscope
Issue simili
-
`cf complete zsh >> .zshrc` fails on vanilla zshForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cloudflare/cf#340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Rename Madson cameraAperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 75/100
StoDevX/AAO-React-Native#8785 ·
I maintainer di solito rispondono entro 1 giorno
-
Broken links in the docsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
bnv-manager-v2: accept_invite creates the Mailcow domain admin before the commitForse già presa @myOmikron l’ha presa oggi. Apertabug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100