Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Improve status-bar icon behaviour #488

Merged
merged 3 commits into from
Oct 31, 2016
Merged

Conversation

danielbayley
Copy link
Contributor

@danielbayley danielbayley commented Jul 17, 2016

  • Fix tooltip
  • Add option to disable status bar icon

Ampersands (`&`) don't show up in the actual menu (at least on macOS/X) so simply replace them with `+`.
Adding the tooltip this way allows it to comply with the current UI theme
@akonwi
Copy link
Owner

akonwi commented Jul 19, 2016

An issue that has been raised multiple times in the past is that the output view disappears too quickly. Declaring a keybinding (from this package) to toggle its visibility doesn't seem valuable in my opinion.

There will be users who disable that icon toggle and open issues about not being able to view the output. Do you have a secondary way to toggle it if the icon is disabled? If there is a command exposed from the package that users could bind to, I think that would be great.

I'll take the changes for the tooltip for now though and hold on the disable option.

@akonwi akonwi closed this Jul 19, 2016
@akonwi akonwi reopened this Jul 19, 2016
@danielbayley
Copy link
Contributor Author

Yeah cool. 👍

So other packages that output to a bottom panel just leave it open until closed manually (either with esc or a close icon in the panel itself).

This is a much better UX than further cluttering up the status bar with more icons… (maybe I just don’t like the pin icon 😄) so I think this package should be consistent with that behaviour…

If there is a command exposed from the package that users could bind to, I think that would be great.

Doesn’t clicking the pin already call some kind of git-plus:toggle-output-console command?

@akonwi
Copy link
Owner

akonwi commented Jul 19, 2016

The problem I've seen with people trying to bind to the escape key in this package is that we'll often click or do something else which removes focus from the panel and then hitting escape will be triggered from a different element. There have been other attempts at combining escape with other keys like shift which also haven't worked.

The click actually toggles directly so that command does not exist yet

@akonwi akonwi merged commit eb5bae0 into akonwi:master Oct 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants