Show mod info for change set, recs/sugs, and providers #2556
+127
−50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
GUI has several places where mods are listed but all the user can access is their name and abstract.
If you want to see the long description, license, home page, relationships, etc., you have to cancel whatever you're doing and then look up the mods separately on the main mod list.
Changes
Now the mod info pane is available in these lists if you click a row. This allows the user to get complete info about any mod about which they're being asked to make decisions. The mod info pane will disappear if you clear the list's selection.
Main mod list:
Provides:
Change set:
Recommendations:
To accomplish this, the structure of the main form is rearranged so the vertical splitter now contains the main tab control and the mod info:
Pre:
Post:
Then when the selection changes in any of those lists, we get the
CkanModule
for it, create aGUIMod
, and pass it to the mod info pane.Fixes #1868.