Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

reset / fix broken/partial download of dictionary

Đang mở
#1,024 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
database

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
JavaScript
Star
48
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sillsdev/web-languageforge

Tất cả issue của sillsdev/web-languageforge

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.