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

Show mod info for change set, recs/sugs, and providers #2556

Merged
merged 2 commits into from
Nov 14, 2018

Conversation

HebaruSan
Copy link
Member

Motivation

GUI has several places where mods are listed but all the user can access is their name and abstract.

  • Change set
  • Recommendations / suggestions
  • Providing modules

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:

image

Provides:

image

Change set:

image

Recommendations:

image

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:

  • MainTabControl
    • ManageModsTabPage
      • splitContainer1
        • ModList
        • MainModInfo

Post:

  • splitContainer1
    • MainTabControl
      • ManageModsTabPage
        • Modlist
    • MainModInfo

Then when the selection changes in any of those lists, we get the CkanModule for it, create a GUIMod, and pass it to the mod info pane.

Fixes #1868.

@HebaruSan HebaruSan added Enhancement New features or functionality GUI Issues affecting the interactive GUI Pull request labels Oct 27, 2018
@politas
Copy link
Member

politas commented Oct 31, 2018

This is a great idea, but I find that the mod info pane is oddly higher than the mod list. Could you add a spacer to move the mod tabs down a bit. Perhaps throw a CKAN logo in it?

@HebaruSan
Copy link
Member Author

Uh oh, UI design? I was afraid that might happen... 😜
I'll see what I can do about that.

Sorry, something went wrong.

@HebaruSan
Copy link
Member Author

What if we put the name/description pane above the tabstrip? Then it can serve as a sort of label for all the tabs, as well as displacing them downwards to deal with the visual offset situation:

image

Sorry, something went wrong.

@HebaruSan HebaruSan force-pushed the feature/omni-modinfo branch from 406844c to 522edbf Compare November 1, 2018 17:17
@HebaruSan
Copy link
Member Author

Pushed a new commit with the above change.

Sorry, something went wrong.

@politas
Copy link
Member

politas commented Nov 1, 2018

Hmm, that's better, but still looks a little weird when you stretch out the window to see more of the modlist on a 4K monitor. I'll see if it grows on me.

@politas politas merged commit 522edbf into KSP-CKAN:master Nov 14, 2018
politas added a commit that referenced this pull request Nov 14, 2018

Verified

This commit was signed with the committer’s verified signature.
@HebaruSan HebaruSan deleted the feature/omni-modinfo branch November 14, 2018 08:23
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.

None yet

2 participants