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

Mark conflicts in initial recommendations #3097

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Jul 2, 2020

Problem

If you try to install RP-0 from before KSP-RO/RP-1#1303 and KSP-CKAN/CKAN-meta#2099, the install will fail on the conflict between RealAntennas and RemoteTech. But this happens in the install flow; the recommendations screen seems to think everything is fine, when it should be catching this conflict.

Cause

The recommendations view was only checking for conflicts after the user clicked, presumably on the assumption that mods won't recommend conflicting modules. But they have!

Changes

Now we check for conflicts right after we finish loading the recommendations. For those old RP-0 revisions, the rows are red right at the start.

@HebaruSan HebaruSan added Bug Something is not working as intended GUI Issues affecting the interactive GUI Pull request labels Jul 2, 2020
@HebaruSan HebaruSan requested a review from DasSkelett July 2, 2020 20:04
Copy link
Member

@DasSkelett DasSkelett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More colourful mod lists are always a good thing!
grafik

@HebaruSan HebaruSan merged commit fa03386 into KSP-CKAN:master Jul 8, 2020
@HebaruSan HebaruSan deleted the fix/rec-conf branch July 8, 2020 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended GUI Issues affecting the interactive GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants