Skip to content
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

Usability improvements for missing files #4195

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Sep 26, 2024

Problem

Discord user dan reported frequent prompts from the dev build to reinstall mods after running the game, which said "metadata changed" even though the metadata for those mods had either never changed or changed over two years previously:

image

Cause

This turned out to be due to ZeroMiniAVC, which deletes files that CKAN installed. The feature from #4067 detects that as a mod with missing files and prompts the user to reinstall that mod.

This was challenging to figure out for a CKAN developer and a dev build power user. It should be understandable for anyone.

Changes

  • Now if a reinstall is due to a missing folder or file, the change reason says "Re-install (missing folders or files)"
  • Now the Contents tab shows missing folders and files in red, with a "Folder not found!" or "File not found!" tooltip, and scrolls to the first one when there are any
  • Now the Contents tab shows empty folders (previously hidden)
  • Now the Contents tab hides paths that are matched by the installation filters from Global install filters #3458 (previously shown)
  • Now the Contents tab's double-click-to-open-in-file-explorer feature works more reliably when CKAN isn't started from the game folder

This way if someone encounters this after the next release, we can tell them to click the changelog entry, then the Contents tab, and the missing file will be apparent immediately.

Separately, KSP-CKAN/NetKAN#10230 is updating ZeroMiniAVC's metdata to direct users to the CKAN setting they should be using instead.

@HebaruSan HebaruSan added Enhancement New features or functionality GUI Issues affecting the interactive GUI labels Sep 26, 2024
@HebaruSan HebaruSan merged commit 15690d3 into KSP-CKAN:master Sep 26, 2024
3 checks passed
@HebaruSan HebaruSan deleted the feature/contents-filter branch September 26, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New features or functionality GUI Issues affecting the interactive GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant