reset / fix broken/partial download of dictionary
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ả
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sillsdev/web-languageforge
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
sillsdev/web-languageforge#1847 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
sillsdev/web-languageforge#1833 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
sillsdev/web-languageforge#1832 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
sillsdev/web-languageforge#1827 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
sillsdev/web-languageforge#1824 ·
Tất cả issue của sillsdev/web-languageforge
Issue tương tự
-
Add google analyticsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
NCAR/music-box-interactive#628 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
remotion-dev/remotion#11847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
phoenixframework/phoenix_live_view#4456 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
AllTheMods/ATM-10#4436 ·
Maintainer thường phản hồi trong vòng 5 ngày