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

graph: Fix JSE when switching node selection #2232

Merged
merged 1 commit into from
May 15, 2019

Conversation

stephanwlee
Copy link
Contributor

Repro steps:

  1. Select a run that has more than one tags
  2. Select a tag with RunMetadata
  3. Select a node
  4. Select the default tag
  5. Click nodes around and see JSEs

We have nested dom-ifs to prevent getTotalMicros from being called.
However, this is only effective when the DOM is not mounted but this
assumption does not hold after first render (if=true).

Repro steps:
1. Select a run that has more than one tags
2. Select a tag with RunMetadata
3. Select a node
4. Select the default tag
5. Click nodes around and see JSEs

We have nested dom-ifs to prevent `getTotalMicros` from being called.
However, this is only effective when the DOM is not mounted but this
assumption does not hold after first render (if=true).
Copy link
Contributor

@wchargin wchargin left a comment

Choose a reason for hiding this comment

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

Can repro bug and fix; thanks. What’s a JSE?

@stephanwlee
Copy link
Contributor Author

JavaScript Exception. Maybe that acronym is not widely used

@stephanwlee stephanwlee merged commit 38749e7 into tensorflow:master May 15, 2019
@stephanwlee stephanwlee deleted the graph branch May 15, 2019 17:56
@wchargin
Copy link
Contributor

Ah, got it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants