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

ENH: Make it clearer the meaning of the markups buttons #5902

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

jamesobutler
Copy link
Contributor

The create markups buttons in the Markups module didn't have any tooltips or text to describe what they did. The Markups toolbar at least has tooltips.

Registered markups are now given a tooltip and button text for their create buttons in the Markups module. This makes it easier for users to learn what they are and be able to use the Markups Toolbar which does not have text.

Current This PR
image image

@jamesobutler
Copy link
Contributor Author

Note that I added button text to these markup create buttons based on the amount of current markups in Slicer core. Similar to Segment Editor rework recently, we could consider just having tooltips when there is a really large group of buttons. At minimum the added tooltips will be helpful here.

@lassoan
Copy link
Contributor

lassoan commented Sep 27, 2021

I like how these buttons with the labels look very much. Now that Segment Editor don't use labels anymore, it would be kind of an outlier (other toolbars don't show labels) and it consumes more vertical space (but it can be scrolled away). Let's see what others think.

@jamesobutler
Copy link
Contributor Author

jamesobutler commented Sep 27, 2021

One of the benefits when you click on Segment Editor effect is that there is an options panel that reveals the name of the effect that is not hidden in a tooltip. With the Create Markups buttons in the Markups module, I don’t think there’s anywhere else in the GUI that defines the name of the markup (previously it was in the mouse mode toolbar in text). It’s currently only in tool tips or node class. If disliked the addition of the tooltips would still be nice.

@jcfr
Copy link
Member

jcfr commented Sep 28, 2021

Some application (e.g gmail) have a density option:

image

Wondering if showing/hiding text near button could be part of customization step after user first install the application ?

@jcfr
Copy link
Member

jcfr commented Sep 28, 2021

To answer the specific question, in Slicer app, I have no issue having the text near the button. It is indeed a nice way for the user to learn the meaning of each icons.

And we could still have a programmatic way to show/hide them easily for sake of customization.

we could consider just having tooltips when there is a really large group of buttons.

Ditto

@jamesobutler
Copy link
Contributor Author

Any objections to this adding of the text to the markups button within the Markups module?

@jamesobutler
Copy link
Contributor Author

image

Rebasing this PR against latest to see if it resolve the issue of the docs staying stuck in "Expected - Waiting for status to be reported"? @jcfr Any ideas why it is getting stuck?

Copy link
Contributor

@lassoan lassoan left a comment

Choose a reason for hiding this comment

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

This looks good to me, thank you.

@lassoan lassoan merged commit 863fbd5 into Slicer:master Oct 20, 2021
@jamesobutler jamesobutler deleted the markups-module-text branch October 20, 2021 20:24
@jcfr
Copy link
Member

jcfr commented Oct 20, 2021

Any ideas why it is getting stuck?

@jamesobutler I suspect this was related to #5958 that has just been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants