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

Enable/disable parts of the status bar #53

Open
oktayacikalin opened this issue Feb 17, 2015 · 4 comments
Open

Enable/disable parts of the status bar #53

oktayacikalin opened this issue Feb 17, 2015 · 4 comments

Comments

@oktayacikalin
Copy link

As we already know in another issue the task bar can quickly be overloaded. Also I find myself having our long feature-branch-names-with-some-stuff consume the whole status bar. Honestly, I don't need to see the branch name there. Or at least not all the time.
Would be nice if I could for example hide the branch part.
Or just don't show the name of the branch but rather give the branch symbol a tooltip having the name.
What do you think?

@simurai
Copy link
Contributor

simurai commented Mar 6, 2015

Are you thinking of having a checkbox in the settings to toggle each item?

Another option would be to hide them in your styles.less file. Like

.status-bar .git-branch {
  display: none;
}

or for example if you also wanna hide the "current path" that usually takes up a lot of space:

.status-bar {
  .current-path,
  .git-branch {
    display: none;
  }
}

@mehcode
Copy link

mehcode commented Mar 6, 2015

Are you thinking of having a checkbox in the settings to toggle each item?

I'd like that.

As a UX improvement, perhaps truncating the branch name to N characters (eg. "long-name- ...") and have a hover to show the full name.

screenshot from 2015-03-05 22 27 05

@oktayacikalin
Copy link
Author

I've found a workaround by using an extension to show the path in the title bar and just hide that thing using:

status-bar {
    .current-path {
        display: None;
    }
}

But honestly - yes - I would find it much easier if I could just tick items on and off.

Also I'm thinking that just showing the symbol with the tooltip containing the full branch name would be a good thing. If it's not too much work, perhaps make this also configurable so that people have a choice here. Of course, if you show the branch name in the status bar, it should be cut off at some point (like @mehcode suggested).

@simurai
Copy link
Contributor

simurai commented Mar 6, 2015

Made a PR that prevents overlapping and truncates long branch names: #62

Re. "adding toggles to the settings" and "tooltip instead of file path" are still open for consideration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants