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

Mass Metadata Parsing: Prevent re-querying and manual prompts to enter missing data #2135

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

JonathanFeenstra
Copy link
Contributor

This is based on #2079. I added a m_AskIfNotFound flag to DownloadInfo which is set to false when batch-querying the download list, to prevent multiple pop-ups from appearing, asking to fill in missing data such as mod IDs and games if they weren't detected automatically. Instead, it will now create meta-files where the missing info is left blank. The repository is also left blank to prevent re-querying, which can only be done if it's set to "Nexus".

@AnyOldName3
Copy link
Member

How does this handle it if the Nexus API goes down or fails? We probably don't want to conflate a temporary outage with the Nexus having no info.

Al12rs
Al12rs previously approved these changes Dec 13, 2024
@JonathanFeenstra
Copy link
Contributor Author

Looks like it currently treats missing info due to connection problems the same way as no info because the mods are not on Nexus, so that still needs to be addressed. There should probably also be an error message if you try to query info while MO2 is in offline mode. I'll look into it.

@JonathanFeenstra JonathanFeenstra marked this pull request as draft December 13, 2024 16:41
Deewens and others added 9 commits December 14, 2024 16:26
Added button to pr

Update mainwindow.ui

Update mainwindow.ui

Added button to pr
Fixed clang formatting on downloadstab.cpp
The new dialog box hijacked the function and skipped the fetch if there were less than 5 files. Now directly runs if there are 5 files or less, and shows the dialog if there are more than 5\
@JonathanFeenstra
Copy link
Contributor Author

I addressed both issues in my last 2 commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants