symbols-list icon indicating copy to clipboard operation
symbols-list copied to clipboard

UI positioning / Docks integration

Open onetrev opened this issue 7 years ago • 8 comments

I believe the Symbols List should display to the left, not the right, of Atom Tool Bar. Screenshot below... I believe most other packages display to the left of the Tool Bar, so hopefully it is an easy tweak.

image

This is a great addition to Atom though. Thank you so much for making this package! It's a big step up from Symbols Tree View package I had been using for ages.

onetrev avatar Apr 02 '17 00:04 onetrev

Related to this bug, a wishlist item for sure, but it would be awesome if is in fixing this bug Symbols List could be updated to make us of the coming "Docks" feature in Atom 1.17? Docks is easily one of the biggest / best new features in Atom since it went to v1.0 (in my opinion)!

onetrev avatar May 13 '17 05:05 onetrev

Hi, Thanks your support! Indeed the upcoming "Docks" feature looks promising, and would simplify the sidebar management ( and allow moving it to other locations, cf. #31 ).

As for now, and the object of this ticket, I assume you're using flex-tool-bar, which relies on tool-bar. Unfortunatly, that package seems to rely on the default priority for the toolbar position. We could put a setting that allows to set a priority ( SymbolsList.coffee:46 ) superior to 100 (panels defaults, lower is closer to the edge). Or we could wait for the docks feature and see how it manages panels priorities?

7ute avatar May 14 '17 09:05 7ute

You're very welcome, but more so, thank you for working on this package! You are right, I am using tool-bar package (linked above in my initial issue request).

I know I've seen a number of other packages that seem to be correctly to the left of the tool-bar, but I can't find any right now unfortunately. I was trying to find one so I could check what they did. But for now, as it sounds like a quick fix, I would love to have that option added to resolve this in the short term. Please!

And it's cool that Docks could tackle multiple issues for you! Based on past Atom release timing, it should be in the production version of Atom (1.17) in the next few weeks at most.

onetrev avatar May 14 '17 10:05 onetrev

Found / remembered a package that displays correctly. The competing package to this one ;) ... Symbols Tree View. By default it appears nicely to the left side of Atom Tool Bar.

onetrev avatar May 16 '17 08:05 onetrev

Might have to do with the loading priority, because after completely removing the priority in SymbolsList ( SymbolsList.coffee:46, removing 'priority:0' ) to mimic Symbols Tree View, the sidebar appears correctly on the left side. Then, if I restart, the sidebar moves further from the side, as depicted in your screenshot.

7ute avatar May 16 '17 09:05 7ute

And there we have it, Atom 1.17 is out, so Docks is now available to all and already in use by a number of packages (i.e. Linter-UI-Default and Tree View). So maybe we should just close out this issue and migrate to using Docks instead? Sounds easy to implement as well, though that's easy for me to say.

onetrev avatar May 17 '17 01:05 onetrev

I wonder if this bug shouldn't be closed (and a new one created regarding adding Docks support), or the title changed, because "Docks" is now fully part of Atom, and the recommended way for sidebar packages to be shown?

onetrev avatar Aug 30 '17 01:08 onetrev

Hey @onetrev ,

i guess you're right, as we are currently working on the Docks integration. I will not close this issue, but change the title in terms of better understanding.

Regards Marco

mbuc82 avatar Aug 30 '17 08:08 mbuc82