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

Restore conflict highlights in changeset #3948

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

HebaruSan
Copy link
Member

Problem

As of #3727, conflicts are supposed to be highlighted red in the changeset, but that's not working right now if you click the Apply button. (Clicking the changeset tab instead still works.)

Cause

In #3890, the Apply button was refactored to re-use the StartChangeSet event (previously only used by the right click reinstall option) rather than the GUI.Main.Instance global singleton. But that event didn't handle conflicts, so they were passed as null, and the changeset tab never showed them.

Changes

Now the conflicts are passed along.

Fixes #3946.

Definitely self-reviewing this one.

@HebaruSan HebaruSan added Bug GUI Issues affecting the interactive GUI labels Dec 14, 2023
@HebaruSan HebaruSan merged commit 0ffd613 into KSP-CKAN:master Dec 14, 2023
8 checks passed
@HebaruSan HebaruSan deleted the fix/changeset-conflicts branch December 14, 2023 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Issues affecting the interactive GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflict message in changeset flow needs to be more prominent
1 participant