Commit Graph

74 Commits

Author SHA1 Message Date
Jon Rohan
d740fe6a6e Scrolling to revealed active file in the treeview 2013-01-22 23:20:54 -08:00
Kevin Sawicki
a9c1b58ba5 Defer tree view load when possible 2013-01-22 18:26:48 -08:00
Kevin Sawicki
ca596db310 Extend AtomPackage directly in packages index.coffee 2013-01-22 18:26:48 -08:00
Jon Rohan
bfe43008ed fixing the tree-view specs 2013-01-22 16:34:35 -08:00
Jon Rohan
5359a3297a Fixing the scrolling errors created by adding a wrapper 2013-01-22 15:17:23 -08:00
Jon Rohan
8039b7c7c1 updating tree-view html to better situate the resizer 2013-01-22 14:31:34 -08:00
Jon Rohan
bb43b2e79a Merge branch 'dev' into restore-fixed-position-for-resizer
Conflicts:
	src/packages/tree-view/stylesheets/tree-view.css
2013-01-22 14:30:49 -08:00
Jon Rohan
8bb8fe814a Merge branch 'dev' into css-theme-refactor 2013-01-22 12:48:41 -08:00
Pat Nakajima
31f0e739cd Bring back position:fixed for tree view resizer
Without position fixed, the resizer breaks when the tree
view is scrolled.
2013-01-22 12:19:10 -08:00
Kevin Sawicki
37379851a6 Only select entry nodes
This ensure the resizer or any other non-entry
nodes are never selected when moving up or down.
2013-01-22 09:11:08 -08:00
Jon Rohan
ea068c5cd7 adding back some tree-view 2013-01-21 17:33:27 -08:00
Jon Rohan
d11317c9b3 some style updates to the resizer 2013-01-21 17:22:45 -08:00
Jon Rohan
e80a54f207 Merge branch 'dev' into css-theme-refactor 2013-01-21 14:59:56 -08:00
Corey Johnson
3a5d02fccf Serialize TreeView width 2013-01-21 10:41:27 -08:00
Corey Johnson
9e5c7a77d5 Add min-width back for TreeView
In case someone sets the width to 0 and wonders where it went.
2013-01-21 10:39:31 -08:00
Corey Johnson
a6dfabfe71 Remove width from .tree-view-resizer 2013-01-21 10:38:41 -08:00
Jon Rohan
20e5b303a7 refactoring all the stylesheets into /Atom - Dark/
Conflicts:
	.atom/themes/Atom - Dark/vim-mode.css
2013-01-17 22:11:45 -08:00
Pat Nakajima
fef9aae2f3 No need for the min-width on tree-view anymore 2013-01-17 15:02:56 -08:00
Pat Nakajima
2e94c130ed Remove use of CSS selectors (use outlets instead) 2013-01-17 14:57:43 -08:00
Pat Nakajima
b36228c3ac No need for left padding, since the sidebar is resizable 2013-01-17 13:09:18 -08:00
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