8000 Detect missing entries when dicts fail to import with `Check Integrity` button by Kuuuube · Pull Request #1898 · yomidevs/yomitan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect missing entries when dicts fail to import with Check Integrity button #1898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 22, 2025

Conversation

Kuuuube
Copy link
Member
@Kuuuube Kuuuube commented Mar 22, 2025

Fixes #1582. Tested on Firefox and Chromium.

Checking integrity is kindof pointless if it can't even check if your dicts have the expected amount of entries.

Ideally this would be automatic but unfortunately it isn't reasonable to automatically show this when a user enters the settings page due to how long it takes to run over the entire database for the integrity check.

Also makes Unassociated Data and other check integrity data displays not a json string dump.

It may be worth pulling the Check Integrity button back into advanced settings instead of debug settings since especially on mobile, users often have issues with their dicts partially importing due to their device turning off or the browser hanging from battery saving. Though, this is "debugging" still.

Dict counts before integrity check (same as before this PR):
image

Dict counts after integrity check:
image

Unassociated Data:
image

@Kuuuube Kuuuube added kind/bug The issue or PR is regarding a bug area/ui-ux The issue or PR is related to UI/UX/Design labels Mar 22, 2025
@Kuuuube Kuuuube requested a review from a team as a code owner March 22, 2025 20:24
@jamesmaa
Copy link
Collaborator

I'm all for putting this into advance settings

@Kuuuube
Copy link
Member Author
Kuuuube commented Mar 22, 2025

I'm all for putting this into advance settings

Done

@Kuuuube Kuuuube added this pull request to the merge queue Mar 22, 2025
Merged via the queue into yomidevs:master with commit a5c96d1 Mar 22, 2025
26 checks passed
@Kuuuube Kuuuube deleted the detect-missing-entries branch March 22, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux The issue or PR is related to UI/UX/Design kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show warning if dictionary is not fully imported
2 participants
0