Commit Graph

54 Commits

Author SHA1 Message Date
Pat Nakajima
cb8d18d83c Increase size of resize handle to 10px 2013-01-17 12:56:34 -08:00
Pat Nakajima
c7d12cb6b5 Allow tree view sidebar to be resized. 2013-01-17 12:48:29 -08:00
Kevin Sawicki
60481c58d3 Update selected entry when moving to top/bottom 2013-01-16 09:09:46 -08:00
Kevin Sawicki
e7af5be916 Remove unused require 2013-01-15 08:30:08 -08:00
Kevin Sawicki
8a9f7200d2 Tweak period location in error messages 2013-01-11 15:53:35 -08:00
Kevin Sawicki
65df35c351 Don't show the move dialog when the project is selected 2013-01-11 14:07:49 -08:00
Kevin Sawicki
c442416c9f Use view class of entry instead of native call 2013-01-11 13:41:21 -08:00
Kevin Sawicki
2cc09988fb Tweak border for TreeView dialogs 2013-01-11 13:40:15 -08:00
Kevin Sawicki
0e982d35b6 Tweak message when prompting for a directory 2013-01-11 13:40:15 -08:00
Kevin Sawicki
497bc258a8 Select the base name when it is equal to the extension 2013-01-11 13:40:15 -08:00
Kevin Sawicki
cd365bc6c5 Add octicons to TreeView add/move dialog 2013-01-11 13:40:15 -08:00
Kevin Sawicki
d3ef4fae00 Add to root if no entry is selected 2013-01-11 11:49:47 -08:00
Kevin Sawicki
8bf16ba602 Don't attach the tree view when a project path changes
The tree view shouldn't automatically open when the
project first gets a path after not having one.

It can be still be toggled to be opened once the
project has a path.
2013-01-10 15:39:32 -08:00
Kevin Sawicki
6d914cdc7a Don't attach the TreeView if RootView's path to open is a file 2013-01-10 14:11:56 -08:00
Kevin Sawicki
1316e2136c Don't attach the TreeView when the project has no path 2013-01-10 13:43:30 -08:00
Kevin Sawicki
196a013cbc Remove unneded focus() call
focus() is called from attach()
2013-01-10 13:38:51 -08:00
Kevin Sawicki & Nathan Sobo
3db7af1edf Don't show the tree view until the project has a path 2013-01-09 19:27:19 -07:00
Kevin Sawicki
adfb6dee12 💄 2013-01-07 18:21:03 -08:00
Kevin Sawicki
438f510f80 Don't check if root is ignored 2013-01-07 18:14:27 -08:00
Kevin Sawicki
f3b84ed33d Only show repo icon at root of tree 2013-01-07 18:13:08 -08:00
Kevin Sawicki
f5344080f1 Only compute Git status flags once
Previously the status was fetched twice, once for
if modified and once for if new.

Now the flags are fetched once and Git now provides
helpers to check the status flags directly for
modified and new status.
2013-01-07 17:35:57 -08:00
Kevin Sawicki
a300146f2a Display submodule icon in tree-view 2013-01-06 09:52:53 -08:00
Kevin Sawicki
9a70736242 Remove stray console.log 2013-01-05 19:26:37 -08:00
Kevin Sawicki
3ce559637d 💄 2013-01-05 19:25:56 -08:00
Kevin Sawicki
f11f85e87b Show octicon for project's that are repos 2013-01-05 19:24:53 -08:00
Kevin Sawicki
0217bb9ce0 Remove unused variable 2013-01-05 19:11:43 -08:00
Kevin Sawicki
dec3ab7873 Only get path if not returning 2013-01-04 15:49:57 -08:00
Kevin Sawicki
5ce606953b Guard against null repo 2013-01-04 15:47:34 -08:00
Kevin Sawicki
cde4a567e7 Update status class when window gains focus
This will keep the tree view in sync when Git operations are
performed outside of the editor.
2013-01-04 15:29:36 -08:00
Kevin Sawicki
7228e270b0 Remove unused require 2013-01-04 15:12:37 -08:00
Nathan Sobo
8591c86733 Pass a name string to RootView.activatePackage & deactivatePackage
Previously we were relying on the package module itself to have a
`name` field. But now that we're using `atom.loadPackage` to load up
packages, we can infer the name of the module from the name of the
package directory.
2013-01-04 14:33:01 -07:00
Kevin Sawicki & Nathan Sobo
96aaefdd7d Rename Project events to be past-tense 2013-01-04 13:46:27 -07:00
Kevin Sawicki & Nathan Sobo
2ffc0cf13d Rename 'active-editor-path-change' to 'root-view:active-path-changed' 2013-01-04 11:25:45 -07:00
Nathan Sobo
5a409dde3c Rename File and Directory 'contents-change' to 'contents-changed' 2013-01-03 18:16:19 -07:00
Kevin Sawicki
2971716060 Always use Git instance from project
This removes the need to open a new repository
each time a directory-view or file-view is displayed
and also when a status-bar is displayed for a buffer.
2013-01-02 17:21:42 -08:00
Kevin Sawicki
7f0030ef4f Move package CSS files to stylesheets directory 2013-01-02 16:55:55 -08:00
Kevin Sawicki & Nathan Sobo
bcde77dd0e Load keymaps from cson
All existing .coffee keymaps are now .cson and package
keymaps are now located in a keymaps folder at the root of
the package.
2013-01-02 16:10:46 -08:00
Nathan Sobo
0a051ea224 Simplify directory-view's unsubscription from its model
We can just namespace it by the extension name since this the tree view
will only have one directory view for a given directory. There's no need
to disambiguate further.
2013-01-02 05:13:15 -07:00
Nathan Sobo
f4d53a017c Merge branch 'master' into config 2012-12-28 11:32:24 -06:00
Kevin Sawicki
5993b04e62 Colorize new and modified files in tree view 2012-12-28 09:17:23 -08:00
Jon Rohan
b88d097a42 Revert "removing the tree view core:close test, because cmd-w no longer closes the sidebar."
This reverts commit ab144a6d31.
2012-12-27 22:59:36 -08:00
Jon Rohan
f225b88bb2 Revert "don't close the tree view on cmd-w"
This reverts commit ef48c355fb.
2012-12-27 22:59:23 -08:00
Corey Johnson
d77fc88ff4 Merge remote-tracking branch 'origin/master' into config 2012-12-27 10:38:24 -08:00
Jon Rohan
ab144a6d31 removing the tree view core:close test, because cmd-w no longer closes the sidebar. 2012-12-26 21:26:30 -08:00
Jon Rohan
ef48c355fb don't close the tree view on cmd-w 2012-12-26 21:05:59 -08:00
Kevin Sawicki
ae6039e74d Add octicons to fuzzy-finder
Also place file base name first followed by
directory path in darker color
2012-12-26 20:13:53 -08:00
Kevin Sawicki
ff4ae5ce05 Use octicon disclosure arrow 2012-12-26 16:38:21 -08:00
Kevin Sawicki
e6343b7773 Alphabetize extension arrays 2012-12-26 15:55:46 -08:00
Kevin Sawicki
b6a0b8bfdb Use image, pdf, and compressed file icons 2012-12-26 15:55:07 -08:00
Jon Rohan
8a83c45a50 fixing the treeView tests 2012-12-26 15:17:33 -08:00