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

Installation history tab #3834

Merged
merged 5 commits into from
May 1, 2023
Merged

Conversation

HebaruSan
Copy link
Member

Motivation

Users often ask for a way to see what they have installed previously, and when we tell them this already exists in the <GameRoot>/CKAN/history folder, they then request an easier way to access those files.

Changes

Now a new menu option opens an Installation History tab containing a list of all the timestamps for which there is a history entry in the <GameRoot>/CKAN/history folder:

image

image

The OK button closes the tab and returns the user to Manage Mods.

If the user clicks an entry at the left, the mods that were installed at that point in time are listed on the right, split into a "Not currently installed" group at the top and a "Currently installed" group below that to make it easier to see the differences:

image

The user can click a mod to open ModInfo:

image

If the user clicks the Install toolbar button, the currently displayed mods that aren't installed are put into the changeset, which the user can then install:

image

If there are conflicts with already installed mods, these will be highlighted in the changeset and the user will not be able to continue:

image

Fixes #3741.

@HebaruSan HebaruSan added Enhancement New features or functionality GUI Issues affecting the interactive GUI labels Apr 30, 2023
@HebaruSan HebaruSan requested a review from techman83 April 30, 2023 18:11
@HebaruSan HebaruSan force-pushed the feature/history-gui branch from 6f88760 to 96dc967 Compare April 30, 2023 18:23
@HebaruSan

This comment was marked as resolved.

Copy link
Member

@techman83 techman83 left a comment

Choose a reason for hiding this comment

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

Looks like a really cool addition! Only had one minor comment, I'm sure there is a reason, I just can't see it 🙂

Core/GameInstance.cs Show resolved Hide resolved
@HebaruSan HebaruSan merged commit 73b3086 into KSP-CKAN:master May 1, 2023
@HebaruSan HebaruSan deleted the feature/history-gui branch May 11, 2023 21:54
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.

[Feature] Browse CKAN/history/*.ckan files in GUI
2 participants