Commit Graph

31516 Commits

Author SHA1 Message Date
Max Brunsfeld
c43bfafdfb Move hoveredDock property from Workspace to WorkspaceElement
It's not used in Workspace anymore.
2017-04-10 14:18:58 -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
Damien Guard
55c6f8b29c Merge pull request #13813 from segevfiner/patch-1
Attempt fixing exception when trying to use portable electronUserData
2017-04-09 16:24:16 -07:00
Nathan Sobo
9259372f23 Fix dock hiding on drag 2017-04-08 14:29:34 -06:00
Nathan Sobo
2498b991c6 Fix dock dragging 2017-04-08 14:29:27 -06:00
Nathan Sobo
e8409aeee7 Add no-op method 2017-04-08 13:59:43 -06:00
Nathan Sobo
2e066120bd Fix workspace specs 2017-04-08 13:29:50 -06:00
Nathan Sobo
57613d9061 ⬆️ settings-view 2017-04-08 12:32:04 -06:00
Max Brunsfeld
cabeeca8b6 Publicize more Dock methods 2017-04-07 15:38:25 -07:00
Max Brunsfeld
50c1e61bec ⬆️ tree-view 2017-04-07 15:30:51 -07:00
Max Brunsfeld
48336fb95e Don't use workspace's itemLocationStore in tests 2017-04-07 15:30:44 -07:00
Max Brunsfeld
daa449e8d5 ⬆️ settings-view to fix integration test failure 2017-04-07 14:29:48 -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
cf1f3a47a0 ⬆️ status-bar 2017-04-07 11:14:22 -07:00
Max Brunsfeld
07f6e63d11 ⬆️ packages to fix test failures 2017-04-07 09:31:24 -07:00
simurai
0857bf868f ⬆️ one-dark/light-ui@v1.10.1 2017-04-07 21:31:14 +09:00
Max Brunsfeld
63d27c5f0a Rename Dock.isOpen to .isVisible and Dock.open to .show 2017-04-06 17:23:53 -07:00
Max Brunsfeld
b5a449ba39 Fix lint errors 2017-04-06 16:44:44 -07:00
Max Brunsfeld
233c29d998 Fix usages of Workspace.paneContainer 2017-04-06 16:37:37 -07:00
Matthew Dapena-Tretter
6efe462378 Remove unused require 2017-04-06 17:27:17 -06: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
40b9fd9f5d Deprecate atom.workspace.paneContainer 2017-04-06 17:24:03 -06:00
Nathan Sobo
497eba7d24 Store center and docks in Worskpace.paneContainers sub-object 2017-04-06 17:17:05 -06:00
Nathan Sobo
52d8cbfb0e Handle (de)serialization in WorkspaceCenter 2017-04-06 17:07:20 -06:00
Nathan Sobo
f808411c96 Destroy WorkspaceCenter and Docks instead of PaneContainer 2017-04-06 16:58:33 -06:00
Nathan Sobo
f15b6d9074 Eliminate unnecessary event listener removals 2017-04-06 16:58:13 -06:00
Nathan Sobo
9c28cc0fa8 Construct WorkspaceCenter's PaneContainer instance in the constructor 2017-04-06 16:57:41 -06:00
Nathan Sobo
5bd24d9e05 Remove unnecessary subscriptions 2017-04-06 16:38:01 -06:00
Nathan Sobo
1711d10af2 Aggregate onDidStopChangingActivePaneItem events across all containers 2017-04-06 16:35:25 -06:00
Nathan Sobo
6f6ec70094 Allow items closed in docks to be reopened 2017-04-06 15:57:26 -06:00
Nathan Sobo
68f5448fbe Forward focusNext/PreviousPane to the active pane container 2017-04-06 15:50:45 -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
f1e30fe7cf 🎨 2017-04-06 13:53:34 -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
Max Brunsfeld
ac05f69bee ⬆️ find-and-replace 2017-04-06 12:05:57 -07:00
Nathan Sobo
2f7fb3f565 Remove PaneContainer.monitorPaneItems 2017-04-06 13:01:17 -06:00
Nathan Sobo
326ae6bf32 Use didDestroyPaneItem to remove item from item registry 2017-04-06 12:56:45 -06:00
Nathan Sobo
317428b58d Inform pane containers directly when adding non-moved pane items 2017-04-06 12:52:42 -06:00
Nathan Sobo
ae8d26a8fe Remove Pane prototype properties 2017-04-06 12:44:38 -06:00
Nathan Sobo
5cb550b09d Remove Pane's subclassing of Model 2017-04-06 12:06:46 -06:00
Nathan Sobo
0a877a219f Convert PaneContainer to JS 2017-04-06 11:52:16 -06:00
Nathan Sobo
ff4cdfd216 Eliminate PaneContainer prototype properties 2017-04-06 11:48:30 -06:00
Nathan Sobo
c5345b1895 Remove Model subclassing from PaneContainer 2017-04-06 11:31:51 -06:00
Nathan Sobo
1d38dcd742 ⬆️ tree-view to fix context menu 2017-04-06 10:32:01 -06:00