Commit Graph

72 Commits

Author SHA1 Message Date
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
Corey Johnson
74cec989bb Use getFontSize() 2013-01-30 13:19:09 -08:00
Justin Palmer
6c10622b2f support escape key to exit command panel 2013-01-30 10:57:44 -08:00
Kevin Sawicki
35b7ad5ee3 Add match count to path header text 2013-01-25 13:08:58 -08:00
Kevin Sawicki
0f314f573b Add match and file count to command panel preview 2013-01-25 09:23:18 -08:00
Kevin Sawicki
63b9a4b179 Kill wrap-around in command panel preview list
Jumping from top to bottom can be still done using
meta-up and meta-down.
2013-01-25 08:51:16 -08:00
Kevin Sawicki
bc3646f180 💄 2013-01-23 16:24:40 -08:00
Kevin Sawicki
a966f1d7c7 Rename attach to load 2013-01-22 18:26:48 -08:00
Kevin Sawicki
513a29d70e Add deferred package type
This package defers loading until specific commands are
triggered on the root view.
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
20e5b303a7 refactoring all the stylesheets into /Atom - Dark/
Conflicts:
	.atom/themes/Atom - Dark/vim-mode.css
2013-01-17 22:11:45 -08:00
Kevin Sawicki
7c9ac5a4ac Defer building parser until eval'ing 2013-01-17 16:50:25 -08:00
Kevin Sawicki
28d4c3749f Use octicon for command panel prompt 2013-01-14 09:32:04 -08:00
Kevin Sawicki
170b50ddf0 Use search pattern with fewer matches to speed up spec 2013-01-11 10:25:41 -08:00
Kevin Sawicki
14d9fc5e45 Search for a more specific string
This spec only requires one match so don't search
for something that has many matches and will take
longer to display.

Reduces the run time of this spec by ~1.5 seconds.
2013-01-10 09:01:14 -08:00
Kevin Sawicki
339d29e1b5 Search for something with fewer results
Previously the search query used in the command panel
spec returned 500+ matches when the specs needed far
less to verify moving up and down and scrolling.

This reduces the time take to run the command panel spec
by ~2.5 seconds.
2013-01-10 08:47:10 -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
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