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

reset / fix broken/partial download of dictionary

Aperta
#1,024 2 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
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

bug

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

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 sillsdev/web-languageforge

Tutte le issue di sillsdev/web-languageforge

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.