Commit Graph

92 Commits

Author SHA1 Message Date
Kevin Sawicki
fd2edb1d4d Only select last operation if path is expanded 2013-02-13 23:02:02 -08:00
Kevin Sawicki
5ec2fb6866 Update specs for new path view layout 2013-02-13 22:52:28 -08:00
Kevin Sawicki
122e0e5f91 Use pathDetails outlet for mousedown event 2013-02-13 22:49:34 -08:00
Kevin Sawicki
156d96a2e7 Toggle expansion on core:confirm event 2013-02-13 22:47:01 -08:00
Kevin Sawicki
528050adbb Remove unneeded rootView ivar 2013-02-13 22:33:56 -08:00
Kevin Sawicki
cc10ae4bdb Only set selected background on path details
Previously the background of the entire li was
changed when selected.
2013-02-13 22:33:29 -08:00
Kevin Sawicki
2d4ea98c0a Always retain selection on path node when collapsing 2013-02-13 22:09:13 -08:00
Kevin Sawicki
59a613de73 Focus preview list after expanding/collapsing all 2013-02-13 22:08:30 -08:00
Kevin Sawicki
b626ce91a9 Don't select operations if path is collapsed 2013-02-13 22:06:00 -08:00
Kevin Sawicki
1cc6429dc7 Select path when collapsed via command 2013-02-13 21:57:42 -08:00
Kevin Sawicki
20d7956cc1 Expand result with right arrow key 2013-02-13 21:49:48 -08:00
Kevin Sawicki
4088d33dc9 Allow paths to be selected
This will allow them to be navigated to with the
keyboard and collapsed or expanded.
2013-02-13 21:42:41 -08:00
Kevin Sawicki
61481fc1d8 Execute operation from OperationView 2013-02-13 19:20:43 -08:00
Kevin Sawicki
7c4c44df5a Subscribe to collapse event in PathView 2013-02-13 18:49:39 -08:00
Kevin Sawicki
5b1acb5188 Move collapse result command to PathView 2013-02-13 18:47:15 -08:00
Kevin Sawicki
9dcb124ff7 Move path selection to view class 2013-02-13 18:30:08 -08:00
Kevin Sawicki
e03a669413 Collapse/expand views directly 2013-02-13 18:20:48 -08:00
Kevin Sawicki
72bbe3323b Create views for path and operations
The CommandPanelView is becoming bloated and this is the
beginning of breaking out some of the logic into separate
views.
2013-02-13 18:11:30 -08:00
Kevin Sawicki
e67843635e Use addClass instead of add 2013-02-13 17:36:49 -08:00
Kevin Sawicki
a42a82c8c0 Collapse selected path with left arrow 2013-02-13 17:27:53 -08:00
Kevin Sawicki
1a8bba4d70 Attach to DOM before checking visibility 2013-02-13 17:14:37 -08:00
Kevin Sawicki
d7b6b282a5 Subtract preview list offset from top 2013-02-13 16:53:10 -08:00
Justin Palmer
de2b1a8770 fix preview list automatic scrolling 2013-02-13 16:13:44 -08:00
Kevin Sawicki
894ed139a0 Remove dangling function 2013-02-13 16:12:59 -08:00
Kevin Sawicki
64203b6361 Always hide/show preview list and header together 2013-02-13 16:07:44 -08:00
Kevin Sawicki
307be184c8 Collapse/expand all with ctrl-{} 2013-02-13 15:50:51 -08:00
Justin Palmer
936324a75f use offset instead of position 2013-02-13 15:36:39 -08:00
Justin Palmer
fdd57d5e64 hide controls when deatching command panel 2013-02-13 14:16:32 -08:00
Justin Palmer
636bb21bbc 💄 2013-02-13 14:16:20 -08:00
Kevin Sawicki
7b1f9c86ad Only select child spans in spec selector 2013-02-13 14:00:58 -08:00
Justin Palmer
1e325fe28e need a hand with these specs 2013-02-13 13:44:03 -08:00
Justin Palmer
9a2bd6e374 swap to mousedown, see if this fixes the tests 2013-02-13 13:42:25 -08:00
Justin Palmer
f86e23e705 hookup expand-collapse 2013-02-13 12:52:01 -08:00
Justin Palmer
b5cccc0060 add a header view to the command panel preview list 2013-02-13 12:38:06 -08:00
Justin Palmer
539c000bcd add expand/collapse indicators 2013-02-13 11:19:08 -08:00
Justin Palmer
cc3982a08f basic expand/collapse working 2013-02-13 10:58:53 -08:00
Justin Palmer
112e389306 wrap matches in their own list 2013-02-13 10:38:00 -08:00
Justin Palmer
d95ffe8021 toggleLoading for command panel 2013-02-12 23:55:54 -08:00
Kevin Sawicki
1f4aedeb10 Rename isReadme to isReadmePath 2013-02-12 11:47:13 -08:00
Corey Johnson & Kevin Sawicki
ac6ec1c2a7 Remove rootView as parameter to activate 2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
2d80d27ca7 Modernize command-panel package with package.cson 2013-02-08 17:28:07 -08:00
Nathan Sobo
4fdb1c454e Restore marker cleanup assertions
Now that EditSessions clean up their markers, we can pass these tests
again.
2013-02-06 17:29:08 -07:00
Kevin Sawicki & Nathan Sobo
59d0742c17 Remove Anchor and AnchorRange. They're fully replaced by markers.
We're still leaking markers for selections and cursors. We need to
clean that up before merging.
2013-02-05 18:15:48 -07:00
Kevin Sawicki & Nathan Sobo
79d54e5483 Use markers instead of anchor ranges in command panel operations 2013-02-05 17:24:41 -07:00
Kevin Sawicki
9011d62351 Use octicon for README files 2013-02-05 09:17:47 -08:00
Kevin Sawicki
278b8c3df1 Trigger move-up to reset top scroll to 0 2013-02-04 15:26:46 -08:00
Justin Palmer
a0f06e09d6 fix command panel specs that I broke
We're now refocusing the preview list instead of the editor
2013-01-31 12:09:40 -08:00
Corey Johnson & Kevin Sawicki
e24859cc23 💄 2013-01-31 11:03:20 -08:00
Justin Palmer
6935e33b72 Merge pull request #204 from github/command-panel-esc
support escape key to exit command panel
2013-01-31 10:39:24 -08:00
Justin Palmer
1fa16c4ae1 refocus preview list after performing operation
Allows esc key to exit the command pallete
2013-01-30 13:56:35 -08:00