Commit Graph

141 Commits

Author SHA1 Message Date
Kevin Sawicki
498e2dc226 Remove unused require 2013-01-08 09:34:24 -08:00
Kevin Sawicki
08d68e6111 Rename event-palette to command-palette 2013-01-08 09:30:37 -08: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
1f1e0aac78 Include window events in event-palette
Previously these weren't displayed since event the
documentation loop stopped at the document element and
window events weren't included even though they are
applicable for the currently focused element.
2013-01-07 13:59:33 -08:00
Kevin Sawicki
2d4c4b3930 Support opening a path into a new split editor 2013-01-07 12:52:23 -08:00
Kevin Sawicki
9013a94465 Count commands instead of command categories 2013-01-06 18:51:22 -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
f78adfa060 Add command and invocation counts to header 2013-01-04 16:39:13 -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
Kevin Sawicki
0f22a560a5 Set path on project to be fixture git repo
This was causing the spec to fail on all non-master branches
since the wrong repository was being used for comparisons.
2013-01-04 14:46:41 -08:00
Kevin Sawicki
8e1ae24eb4 Update selected operation on move-to-top/move-to-bottom 2013-01-04 13:35:05 -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
29f371b347 Use Editor.abort to clear autocomplete's buffer changes on cancel
Using this new `abort` mechanism ensures that autocomplete's changes can never be redone, while eliminating the need to track operation counts explicitly.
2013-01-04 12:44:44 -07:00
Kevin Sawicki & Nathan Sobo
8098ee69f3 Rename Editor attach and remove events in accordance w/ new scheme
'editor-open' -> 'editor:attached'
'before-remove' -> 'editor:will-be-removed'
2013-01-04 11:25:45 -07:00
Kevin Sawicki & Nathan Sobo
8e835acea4 Rename Buffer 'will-save' event to 'will-be-saved' 2013-01-04 11:25:45 -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
Kevin Sawicki & Nathan Sobo
0589012e86 Rename 'editor-path-change' to 'editor:path-changed' 2013-01-04 11:25:45 -07:00
Kevin Sawicki
4a84b423e4 Use green for path color 2013-01-04 10:01:09 -08:00
Kevin Sawicki
bbe2977502 Add file octicon to path elements 2013-01-04 09:55:20 -08:00
Kevin Sawicki
bd93de5998 Use peach color for paths and increase padding 2013-01-04 09:39:36 -08:00
Kevin Sawicki
3afd87ca58 💄 2013-01-04 09:23:11 -08:00
Kevin Sawicki
6818bf3b93 Add border to command panel 2013-01-04 09:22:49 -08:00
Kevin Sawicki
ef39cc7f2d Scroll to top when selecting first element
This ensures that the top path is always visible
when the first operation is selected.
2013-01-04 09:04:21 -08:00
Kevin Sawicki
a891dec093 Wrap around the preview-list when moving up/down 2013-01-04 08:59:20 -08:00
Kevin Sawicki
7427d4e4ec Update selector to use li text 2013-01-04 08:44:00 -08:00
Kevin Sawicki
a71ab7d15d Set path directly on li instead of nested span 2013-01-04 08:42:32 -08:00
Kevin Sawicki
40707f1eee Make selected operation grey instead of blue 2013-01-04 08:40:18 -08:00
Kevin Sawicki
961774874c Make paths green instead of yellow 2013-01-04 08:39:03 -08:00
Kevin Sawicki
b4a8884d31 Break words to prevent long lines 2013-01-04 08:24:46 -08:00
Kevin Sawicki
e4513f5d48 Remove unused outlets 2013-01-04 08:24:46 -08:00
Kevin Sawicki
6c9dcb8d25 Set line number column to width of max element 2013-01-04 08:24:46 -08:00
Kevin Sawicki
7685b382f6 Move bg/fg colors to root preview-list 2013-01-04 08:24:46 -08:00
Kevin Sawicki
e4bd764a96 Tweak padding, color, and border-radius of match 2013-01-04 08:24:46 -08:00
Kevin Sawicki
b6374184f5 Remove colon after line number 2013-01-04 08:24:46 -08:00
Kevin Sawicki
8adef01850 Use editor colors in command-panel 2013-01-04 08:24:46 -08:00
Kevin Sawicki
c257f91b82 Start line numbers at 1 2013-01-04 08:24:46 -08:00
Kevin Sawicki
41e2fd4db7 Add operation class to mousedown selector 2013-01-04 08:24:46 -08:00
Kevin Sawicki
2d5fed9243 Display line numbers of operations
Group operations by path and place path
above operations
2013-01-04 08:24:46 -08:00
Nathan Sobo
5a409dde3c Rename File and Directory 'contents-change' to 'contents-changed' 2013-01-03 18:16:19 -07:00