-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add inline toolbar to sidebar #569
Conversation
The simple folder icon does not really indicate its purpose - need to see tooltip. Any reason not to use the usual + and - icons? |
@jeremypw my reasoning was to use a semantic icon for explicitly opening a folder, instead of a generic "add" icon—especially since the contents of the sidebar are mixed (and not just folders). I also worry about a "minus" icon being construed as "delete" a folder, instead of just removing it from the project view. I think for removing in that case, a context menu still might be best since the concept of which project folder is focused is also harder to see at a glance, and it might appear to be acting on a selected file instead. |
I do not think the minus icon is likely to be construed as actual deletion in the context of a sidebar as it does not mean this anywhere else (I think). I agree that special "folder-add" and "folder-remove" icons, with tooltips, would be preferable. The icons should only be sensitive when a folder is selected. |
Was a bit curious about this. It seems it duplicates functionality in the |
@roymckenzie the idea was to declutter the header bar a bit, to more clearly associate the folder/project actions with the sidebar, and to support further actions like in #568. I'm not sure if it's more discoverable or not, but I do like being able to add more folder management options there quite a bit—and those actions would feel awkward on their own. |
@cassidyjames OK cool. That makes sense. I think an "Add File" button might be cool, too. And a "Collapse All Folders" button. My only complaint is that the toolbar looks so floaty and lonely down there with just the one button and so thin. Almost anemic. Maybe with more buttons it will look better? |
@roymckenzie yeah with just one icon it's kind of silly. But I imagine both an add/remove on the left, then perhaps a gear with a submenu for things like sorting/collapsing folders on the right. |
Since it's redundant
…ollapse folders. (#657) * User can see close focused project folder, alphabetize folders, and collapse folders. * removed close folder icon/functionality in the inline toolbar * Update src/Widgets/Pane.vala Co-Authored-By: roymckenzie <1065321+roymckenzie@users.noreply.github.com> * Update src/Widgets/Pane.vala Co-Authored-By: roymckenzie <1065321+roymckenzie@users.noreply.github.com> * Update src/Widgets/Pane.vala Co-Authored-By: roymckenzie <1065321+roymckenzie@users.noreply.github.com> * Update src/Widgets/Pane.vala Co-Authored-By: roymckenzie <1065321+roymckenzie@users.noreply.github.com> * Move headerbar open folder button to inline toolbar * Fix lint errors * Revert icon change * Fix lint error (again)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the job and looks good.
Adds an inline toolbar to the sidebar with an open folder button.
Fixes #554
Fixes #656
Symbolic iconsFix sidebar inline-toolbar icon style stylesheet#563Better icon for "Remove folder"?No "remove folder" action for now