Prevent language switching from clearing input fields
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 64/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, ruby
- Ambito
- frontend
Direzione di ricerca
Start by locating the language switcher in the TryRuby UI and the handler it calls; trace what happens to the lesson editors when the locale changes, since the reset is presumably tied to re-rendering or re-initializing lessons. Read how editor input is stored (per lesson, in memory or in storage) and decide whether to keep that state across the switch or rehydrate it afterwards. Done looks like: switching language leaves typed input intact for every visited lesson, and a manual pass through the lessons confirms nothing else about the switch breaks.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When using Try Ruby, users may want to revisit previous lessons to review or experiment with code they have already written. However, switching languages clears all input fields across lessons, causing their work to be lost. I consider it can improve the UX.
In short, my suggestion is: switching languages should preserve the content of all input fields.
- Lingua principale
- Ruby
- Stelle
- 258
- Fork
- 113
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 ruby/TryRuby
-
docs: clarify default parameter behavior in section Quickening it Up and fix Portuguese translation typoForse già presa @MatheoPaiva l’ha presa 2 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 40/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Test system can be expandedAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di ruby/TryRuby
Issue simili
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
betagouv/conseillers-entreprises#4808 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
yosiat/panko_serializer#250 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
cline/mcp-marketplace#3886 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100