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

[UI] TFDV visualization frame is blank in Chrome 80 #3025

Closed
Bobgy opened this issue Feb 10, 2020 · 19 comments
Closed

[UI] TFDV visualization frame is blank in Chrome 80 #3025

Bobgy opened this issue Feb 10, 2020 · 19 comments
Assignees
Labels
kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label. priority/p1 status/triaged Whether the issue has been explicitly triaged upstream_issue

Comments

@Bobgy
Copy link
Contributor

Bobgy commented Feb 10, 2020

What happened:
Visualization UI is broken after upgrading to Chrome 80. It turns blank and console has a line of warning:

HTML Imports is deprecated and has now been removed as of M80. See https://www.chromestatus.com/features/5144752345317376 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.

/priority p0

What did you expect to happen:
It should show up.

What steps did you take:
[A clear and concise description of what the bug is.]

  1. Upgrade to chrome 80
  2. Visit existing visualizations that used to work

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

@Bobgy Bobgy self-assigned this Feb 10, 2020
@Bobgy Bobgy added the kind/bug label Feb 10, 2020
@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 10, 2020

Did some investigation, it seems not our UI is broken, the visualization itself is broken.

According to https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports.
Html import means links like the following (rel="import" is the special part):

<link rel="import" href="myfile.html">

I found usage of it in visualization result iframe

<link rel="import" href="https://raw.githubusercontent.com/PAIR-code/facets/master/facets-dist/facets-jupyter.html">

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 10, 2020

Opened issue in upstream repo facets (used by tfdv): PAIR-code/facets#207

@Bobgy Bobgy changed the title [UI] Visualization frame is blank in Chrome 80 [UI] TFDV visualization frame is blank in Chrome 80 Feb 10, 2020
@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 10, 2020

Updated title, this only affects tfdv

@rmgogogo
Copy link
Contributor

@rmgogogo

@rmgogogo rmgogogo added upstream_issue status/triaged Whether the issue has been explicitly triaged labels Feb 10, 2020
@rmgogogo
Copy link
Contributor

Upstream issue: PAIR-code/facets#207

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 10, 2020

TFDV upstream issue is tensorflow/data-validation#108

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 11, 2020

/cc @Realsen
FYI, you probably may hit the issue in TFMA too.

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 12, 2020

Upstream issue already fixed, tfdv has just released this publically: https://github.com/tensorflow/data-validation/releases/tag/v0.21.1

@jingzhang36 how can we pin to a later version in tfdv?

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 14, 2020

/close
Fixed by #3060

@k8s-ci-robot
Copy link
Contributor

@Bobgy: Closing this issue.

In response to this:

/close
Fixed by #3060

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 14, 2020

/reopen
The last fix wasn't enough. It is still blank like
dVp3kyXdouk

I found it was caused by </script> in string breaking wrapping tags. Sent a CL to fix upstream issue again.

@k8s-ci-robot
Copy link
Contributor

@Bobgy: Reopened this issue.

In response to this:

/reopen
The last fix wasn't enough. It is still blank like
dVp3kyXdouk

I found it was caused by </script> in string breaking wrapping tags. Sent a CL to fix upstream issue again.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot reopened this Feb 14, 2020
@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 14, 2020

This also needs #3079 to be fixed first

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 19, 2020

Another upstream bug fixed in tensorflow/data-validation@8cb3ca8, waiting for tfdv release so we can bump version again.

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 26, 2020

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 26, 2020

Changed to p1, because @rmgogogo has #3089 to workaround the issue. We can switch back to tfdv package now as a clean-up.

@Bobgy
Copy link
Contributor Author

Bobgy commented Feb 26, 2020

/assign @jingzhang36
Can you do the follow up clean up?

@stale
Copy link

stale bot commented Jun 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale The issue / pull request is stale, any activities remove this label. label Jun 24, 2020
@stale
Copy link

stale bot commented Jul 1, 2020

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.

@stale stale bot closed this as completed Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug lifecycle/stale The issue / pull request is stale, any activities remove this label. priority/p1 status/triaged Whether the issue has been explicitly triaged upstream_issue
Projects
None yet
Development

No branches or pull requests

4 participants