-
Notifications
You must be signed in to change notification settings - Fork 364
Implement option to hid tree pane on startup #1389
Conversation
Hi @sadick254 the build seems to have failed due to some CI issue - it fails very early pulling the latest Atom release. |
Can not wait till this feature is available. Very annoying the tree-pane always opens when opening the application. |
@joaotmartins The failing CI has nothing to do with this change. |
@sadick254 thanks for checking! |
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.
This already looks great. Thanks for adding tests to this.
Can you check what's in your There should be something there like:
If not try adding something like that manually to your config and see if it works. If that fixes it then I need to investigate the configuration pane mechanism, maybe I messed something up there... |
Weird.. Double checking this on Mac, it seems to work fine if I reload the window using developer tools, but when starting the application from scratch the setting seems to be ignored... This is working (as described here) since nightly-14, when the code first showed up, so it doesn't seem to be any regression introduced between then and nightly-25. |
@joaotmartins Yes, the configuration is there but I stumble in the same issue you're also seeing.. |
I think you guys should file a bug. |
Issue or RFC Endorsed by Atom's Maintainers
Refers to issues:
#1370 #1375
Description of the Change
Adds a new configuration option,
hiddenOnStartup
, that allows a user to ask for the project pane to be hidden when Atom starts.If option isn't present or set to false, behavior stays the same, i.e., project pane is shown on startup.
Option is checked on package activation function, pane is hidden/shown accordingly.
Alternate Designs
None that I could see.
Possible Drawbacks
None that I could see. Default behavior is preserved, so users do not have to update any configuration file.
Verification Process
Added corresponding tests in package spec to verify that:
Release Notes
Adds new configuration option 'hiddenOnStartup', that allows starting atom with the tree-view collapsed (hidden).