reset / fix broken/partial download of dictionary
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- database
Direzione di ricerca
Start by locating the timestamp-based dictionary download logic and the IndexedDB handling described in the issue. Check how client and server entry counts are obtained and when the timestamp is saved; done means a partial download is detected or avoided and the dictionary can recover without Dev Tools cache clearing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have observed users who only received part of the dictionary to the client due to flaky/inconsistent internet. This results in a broken language forge for the user which they cannot fix by themselves without using the Dev Tools and clearing the IndexDB cache. What they experience is that the number of entries is less on their install vs the actual number of entries (some failed to download).
The current code uses a timestamp to determine if it should download all the dictionary or just updates since a timestamp.
Possible solutions:
- Evaluate if the number of entries on the client is equal to the number of entries on the server. If they are not equal, delete the timestamp and redownload.
- Don't save the timestamp on download until it is confirmed that the entries are equal on client and server.
- Lingua principale
- JavaScript
- Stelle
- 47
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un 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 sillsdev/web-languageforge
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
sillsdev/web-languageforge#1847 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
sillsdev/web-languageforge#1833 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
sillsdev/web-languageforge#1832 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
sillsdev/web-languageforge#1827 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
sillsdev/web-languageforge#1824 ·
Tutte le issue di sillsdev/web-languageforge
Issue simili
-
[Bug] Dev image build fails: `npm install` in the root Dockerfile runs out of memory (exit 134)Forse già presa @andest01 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue hacktoberfest help wanted
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 76/100
pacocartones/free-llm-api-hub#262 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-task risk:low
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
guyellis/http-status-check#512 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/playwright#43327 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/TypeScript#64758 ·
I maintainer di solito rispondono entro 1 giorno