benjaminRomano / bottom-dock

Generic bottom dock for Atom
https://atom.io/packages/bottom-dock
MIT License
17 stars 1 forks source link

Ability to display the tabs inside the status bar itself #18

Open Gert-dev opened 7 years ago

Gert-dev commented 7 years ago

Hello

This package neatly tidies up all panels into a single user interface. I like how it puts all the extensions that need some sort of bottom dock into a single dock that allows you to switch between those views, without having one displaying over or on top of each other.

Although I'm fond of having all the panels inside a single tab display, would it be possible to display the tabs themselves in the status bar rather than a button "Bottom Dock" which then pops up the panel with a list of tabs at the bottom? I understand that this was probably done to prevent them from cluttering the status bar, but in an ideal case where all other packages hook into this one, there won't be a lot of other clutter left in the status bar and it would save a click each time if you want to quickly switch to a specific tab.

It would also pave the way to updating the name of a tab to display a message in it (i.e. the linter-manager could display "Linter (5)" or similar).

Thans in advance

benjaminRomano commented 7 years ago

Hi @Gert-dev , I debated whether or not to put the tabs in the status-bar or inside bottom-dock itself and chose the later.

I decided on this approach because I wanted Bottom-Dock to feel similar to how its done in IDEs like VS and IntelliJ. Also, I believe only the most important information should go in the status-bar. It already feels a bit bloated in my opinion.

I agree it would be nice to have the ability to do something like "Linter (5)"; however, I currently can't think of a good way to do that without polluting the status-bar.

Gert-dev commented 7 years ago

Strange, the reason I asked was because I thought that IDE's did show the tabs by default, but looking at some screenshots, that doesn't seem to be the case. Perhaps it's configurable in IntelliJ? I found a screenshot here that does have the tabs at the bottom visible continuously.

I don't mind so much the location of the tabs themselves, the suggestion was mostly just to have them within a single click. Perhaps an alternative would be to leave the tabs where they are, but allow minimizing or "closing" the dock in the sense that the content view will collapse, but the tab bar (just above the status bar) would remain visible?