Commit Graph

30 Commits

Author SHA1 Message Date
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
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
64203b6361 Always hide/show preview list and header together 2013-02-13 16:07:44 -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
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
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
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
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
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
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
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
7dcb12ada2 RootView talks about packages and packageModules, not extensions
Now you call `rootView.activatePackage`, etc
2012-12-19 19:24:44 -07:00
Nathan Sobo
4ce8583cb2 Rename extensions to packages
We now look at the `core.disabledPackages` config key. Rename the `src/extensions` directory to `src/packages`. The config object now talks about loading packages instead of extensions.
2012-12-18 20:03:21 -07:00