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
- 47
- Fork
- 29
- 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
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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ự
-
documentation v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/servers#5170 ·
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 72/100
SwiftKickMobile/skai#84 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Billionmail/BillionMail#389 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Uniswap/tokenlists-org#3331 ·
-
beginner-friendly category:finding-titles community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
Berserk-hub150/skillhawk#227 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày