Skip to content
This repository has been archived by the owner. It is now read-only.

remove most references to currentWindow and lazy load the rest #8220

Merged
merged 1 commit into from Apr 12, 2017

Conversation

@bridiver
Copy link
Collaborator

bridiver commented Apr 11, 2017

check for automated tests to pass before merging

@bridiver bridiver force-pushed the current-window branch 4 times, most recently from 6ecd4ef to 05b8ae6 Apr 11, 2017
@bridiver
Copy link
Collaborator Author

bridiver commented Apr 11, 2017

updated with unit test fix

@bridiver bridiver force-pushed the current-window branch 2 times, most recently from 4549ad3 to 58659fa Apr 11, 2017
@bridiver bridiver force-pushed the current-window branch from 58659fa to 901d5db Apr 12, 2017
@bridiver bridiver requested review from bbondy and bsclifton Apr 12, 2017
@bridiver bridiver added this to the 0.14.3 milestone Apr 12, 2017
@@ -169,7 +169,7 @@ class Navigator extends ImmutableComponent {
if (!e.target.className.includes('navigatorWrapper')) {
return
}
return !isMaximized() ? currentWindow.maximize() : currentWindow.unmaximize()
return !isMaximized() ? windowActions.shouldMaximize(getCurrentWindowId()) : windowActions.shouldMinimize(getCurrentWindowId())

This comment has been minimized.

Copy link
@bbondy

bbondy Apr 12, 2017

Member

I guess should* is kind of like *Requested for tab creation, maybe we should use one or the other. No need to hold this up though just thinking out loud.

This comment has been minimized.

Copy link
@bridiver

bridiver Apr 12, 2017

Author Collaborator

these are really just temporary to replace the currentWindow.method calls. This should really be onNavigatorDoubleClick or something like that

@bbondy
Copy link
Member

bbondy commented Apr 12, 2017

++

@bbondy bbondy merged commit 8cc9d4d into master Apr 12, 2017
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@cezaraugusto cezaraugusto deleted the current-window branch Jun 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.