Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort full screen in dashboard and maps when user clicks back button #108747

Merged
merged 13 commits into from Aug 18, 2021

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Aug 16, 2021

Fixes #108609.

There is a bug in ExitFullScreenButton where chrome.setIsVisible is not called on unmount.

This PR fixes the bug by moving chrome.setIsVisible interactions into ExitFullScreenButton. That way, ExitFullScreenButton can properly hide/show chrome when mounted and unmounted.

@nreese nreese changed the title Exit full screen Abort full screen in dashboard and maps when user clicks back button Aug 16, 2021
@nreese
Copy link
Contributor Author

nreese commented Aug 16, 2021

@elasticmachine merge upstream

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review only, this looks a lot cleaner! LGTM!

@nreese
Copy link
Contributor Author

nreese commented Aug 18, 2021

@elasticmachine merge upstream

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. tested in chrome.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 3.2MB 3.2MB -57.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
dashboard 329.2KB 329.2KB -8.0B
kibanaReact 170.9KB 171.0KB +62.0B
total +54.0B
Unknown metric groups

API count

id before after diff
kibanaReact 298 299 +1

API count missing comments

id before after diff
kibanaReact 261 262 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mistic mistic removed the v7.15.0 label Aug 18, 2021
@nreese nreese added auto-backport Deprecated: Automatically backport this PR after it's merged v7.15.0 labels Aug 18, 2021
@nreese nreese merged commit 7be0bb9 into elastic:master Aug 18, 2021
@mistic mistic removed the v7.15.0 label Aug 18, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 18, 2021
…lastic#108747)

* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@nreese nreese added the v7.15.0 label Aug 18, 2021
nreese added a commit to nreese/kibana that referenced this pull request Aug 18, 2021
…lastic#108747)

* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@nreese
Copy link
Contributor Author

nreese commented Aug 18, 2021

7.15 backport #109143

kibanamachine added a commit that referenced this pull request Aug 18, 2021
…108747) (#109140)

* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
nreese added a commit that referenced this pull request Aug 18, 2021
…108747) (#109143)

* [Maps] reverse geocoding tutorial

* reverse geocoding step

* add final step

* use dash delemiter instead of underscore in file name

* add float to step 3 so its on the same page

* add into to step 3

* Abort full screen in dashboard and maps when user clicks back button

* remove doc changes from another PR

* remove change in file heading

* tslint and fix unit test

* eslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@KOTungseth KOTungseth added the [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation label Sep 1, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated: Automatically backport this PR after it's merged [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:fix v7.15.0 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maps full screen should abort if user clicks on browser back button(to dashboard)
7 participants