Commit Graph

7633 Commits

Author SHA1 Message Date
Max Brunsfeld
d47c780e08 Merge pull request #14221 from atom/fb-mdt-no-cmd-w-on-permanent-dock-items
Don't close permanent dock items
2017-04-18 09:47:39 -07:00
Max Brunsfeld
14f9c68659 Use getTreeViewRootDirectories helper in main process test 2017-04-17 13:53:20 -07:00
Max Brunsfeld
52195e79ff Merge branch 'master' into fb-mdt-no-cmd-w-on-permanent-dock-items 2017-04-17 13:39:16 -07:00
Max Brunsfeld
0015e026a2 Add Workspace.paneContainerForItem method 2017-04-17 11:34:45 -07:00
Matthew Dapena-Tretter
a4c06c039d Add a way to force a pane to destroy its item
When cleaning up after a package that provides a permanent dock item,
you want to be able to destroy it easily. This provides API for doing
so.
2017-04-15 13:28:30 -07:00
Matthew Dapena-Tretter
a9d0618e88 Don't close permanent dock items 2017-04-15 13:09:08 -07:00
Matthew Dapena-Tretter
d40a14be29 Add tests for dock sizing behavior 2017-04-15 11:50:41 -07:00
Matthew Dapena-Tretter
83efa4b918 Ensure dock mask has size of zero
This no longer seems to be an issue.
2017-04-13 15:53:37 -07:00
Matthew Dapena-Tretter
915931dddd 🐛 Make sure docks affordance can always be revealed 2017-04-13 15:52:05 -07:00
Max Brunsfeld
a676246081 Merge pull request #14164 from atom/fb-mdt-when-shell-environment-loaded
Add `atom.whenShellEnvironmentLoaded()`
2017-04-12 11:53:50 -07:00
Max Brunsfeld
9202160ca9 Merge pull request #14188 from atom/mb-ns-avoid-opening-duplicate-items
Always search a pane container w/ the given URI in workspace.open
2017-04-12 10:59:33 -07:00
Max Brunsfeld
82a7a6c78a Always search a pane container w/ the given URI in workspace.open 2017-04-12 10:23:49 -07:00
Nathan Sobo
8b8218bf81 Properly restore focus to center when hiding dock via toggle 2017-04-12 09:46:18 -06:00
Matthew Dapena-Tretter
ddd8a8b978 Add atom.whenShellEnvironmentLoaded()
This provides a way to be notified when the shell environment has
loaded—even if it's already happened.
2017-04-11 18:10:00 -07:00
Max Brunsfeld
81819adbd7 Fix spurious pane activation when changing focus within a pane 2017-04-11 12:20:50 -07:00
Max Brunsfeld
6c1632ad76 Always focus active pane item when pane is activated
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-11 11:51:18 -07:00
Nathan Sobo
f4c04f5b60 Fix less spec
On AppVeyor, the patch version of less is emitting lower-case CSS color
names. This makes our test compatible with both capitalizations.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2017-04-11 12:05:43 -06:00
Max Brunsfeld
b3911053be Merge pull request #14166 from atom/mb-fix-creating-panels-with-markup
Ensure that atom-panel tags can be created via HTML
2017-04-11 10:32:06 -07:00
Max Brunsfeld
09554615d4 Fix usages of removed getModel method in tests 2017-04-11 09:15:52 -07:00
Antonio Scandurra
d564bfc983 Test config.setSchema isn't called again when activating a preloaded package 2017-04-11 09:53:03 +02:00
Antonio Scandurra
48013a9140 Fix adding bundled packages to ModuleCache and increase test coverage 2017-04-11 09:37:11 +02:00
Max Brunsfeld
ffff034076 Avoid error when Panel.destroy is called in a blur listener 2017-04-10 17:43:52 -07:00
Max Brunsfeld
1c6c38e8a8 Ensure that atom-panel tags can be created via HTML
* Remove the PanelElement custom element
* Convert Panel and its test to JavaScript
2017-04-10 16:22:51 -07:00
Max Brunsfeld
399b70662d Fix regression in hovered dock tracking due to workspace refactor
Also, backfill tests for showing, hiding and updating the dock toggle
buttons in response to mouse movements.
2017-04-10 14:15:31 -07:00
Nathan Sobo
3292e3b4df Merge pull request #14143 from atom/mb-ns-dock-ui-refinements
Refine Dock UX and API
2017-04-10 09:08:07 -06:00
Nathan Sobo
2e066120bd Fix workspace specs 2017-04-08 13:29:50 -06:00
Max Brunsfeld
48336fb95e Don't use workspace's itemLocationStore in tests 2017-04-07 15:30:44 -07:00
Max Brunsfeld
cca47d785f Handle active pane items that aren't text editors in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 14:28:51 -07:00
Max Brunsfeld
6d1cbd389a Wait until tree-view is asynchronously opened in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 14:28:25 -07:00
Max Brunsfeld
6c59486166 Silence warnings from config spec
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 13:29:51 -07:00
Max Brunsfeld
57281dd97a Merge branch 'master' into mb-ns-dock-ui-refinements 2017-04-07 13:23:19 -07:00
Max Brunsfeld
89f1710cfe Wait for paths to open in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 13:20:44 -07:00
Max Brunsfeld
63d27c5f0a Rename Dock.isOpen to .isVisible and Dock.open to .show 2017-04-06 17:23:53 -07:00
Max Brunsfeld
233c29d998 Fix usages of Workspace.paneContainer 2017-04-06 16:37:37 -07:00
Matthew Dapena-Tretter
d133b03d7d Remove saveFocusedPaneItem(As) methods
Now that dock pane items will be capable of being the workspace's
active item, there's no need to have these methods.
2017-04-06 17:26:35 -06:00
Nathan Sobo
9c28cc0fa8 Construct WorkspaceCenter's PaneContainer instance in the constructor 2017-04-06 16:57:41 -06:00
Nathan Sobo
1711d10af2 Aggregate onDidStopChangingActivePaneItem events across all containers 2017-04-06 16:35:25 -06:00
Nathan Sobo
9e1f9c0dd9 When focusing a pane, always activate its container 2017-04-06 15:47:17 -06:00
Nathan Sobo
646047f563 Maintain an active pane container on the workspace
This will be used by many commands that previously only interacted with
the center of the workspace.
2017-04-06 15:30:01 -06:00
Nathan Sobo
ec576b12bc Remove PaneContainer.monitorActivePaneItem
Call didChangeActiveItemOnPane directly from panes and when the active
pane changes instead.
2017-04-06 13:18:18 -06:00
Nathan Sobo
5cb550b09d Remove Pane's subclassing of Model 2017-04-06 12:06:46 -06:00
Michelle Tilley
6425b5e069 Merge pull request #14131 from atom/mkt-prepare-build-for-per-package-transpilation
Update build to pre-compile packages with per-package transpilation configs
2017-04-06 00:39:50 -07:00
Nathan Sobo
73f04fdaed Focus the active center pane when hiding a dock 2017-04-05 20:58:05 -06:00
Max Brunsfeld
9ecbc85be5 Remove more usages of getView, document getElement API 2017-04-05 17:02:59 -07:00
Max Brunsfeld
78d8e67609 Add Gutter.getElement, remove Gutter view provider 2017-04-05 17:01:54 -07:00
Max Brunsfeld
2ed0724fc4 Remove unnecessary calls to ViewRegistry.getView 2017-04-05 16:50:04 -07:00
Max Brunsfeld
6344f9884d Add PaneAxis.getElement, remove PaneAxis view provider 2017-04-05 16:25:53 -07:00
Max Brunsfeld
d0421a75c8 Add Panel.getElement and remove Panel view provider 2017-04-05 16:10:21 -07:00
Max Brunsfeld
e40ef03008 Fix Workspace.open test for activating existing items in docks 2017-04-05 16:03:33 -07:00
Max Brunsfeld
d1e8e359ce Add PanelContainer.getElement, remove PanelContainer view provider 2017-04-05 16:03:33 -07:00