Skip to content

Conversation

@stephanwlee
Copy link
Contributor

Polymer's complex observer require values it listens to be instantiated.
tagFilter was previously removed because tf-tag-filterer took the
value from its parent instead of bootstrapping from the storage.

This change ensures that complex observers are properly set up with all
listed properties instantiated and to take all consumed properties in
callback to be listed in the observer definition.

Polymer's complex observer require values it listens to be instantiated.
`tagFilter` was previously removed because tf-tag-filterer took the
value from its parent instead of bootstrapping from the storage.

This change ensures that complex observers are properly set up with all
listed properties instantiated and to take all consumed properties in
callback to be listed in the observer definition.
@stephanwlee stephanwlee merged commit 8932c39 into tensorflow:master Oct 5, 2018
@stephanwlee stephanwlee deleted the fix branch October 5, 2018 15:07
stephanwlee added a commit that referenced this pull request Oct 10, 2018
Repro step:
1. Open TB in scalar dashboard
2. Type something into tag filter
3. Navigate to audio dashboard
4. See nothing <- bug

The regression was caused by #1475 which has broken the Polymer
complex observer. This contains a similar fix as #1483.
stephanwlee added a commit to stephanwlee/tensorboard that referenced this pull request Oct 10, 2018
tf-tag-filterer, correctly, defined its property `tag-filter` as
readOnly and this broke the data connection between `paper-input`.
Between the paper-input and the filterer, there should be a
two-way binding of its value whereas all the consumers of the
tf-tag-filterer should only read from the component.

Now, using the private property, `_tagFilter`, we establish the two-way
binding while the public property is only used to publish the change.

Note: bug was introduced over tensorflow#1483, tensorflow#1475, and tensorflow#1493.
stephanwlee added a commit that referenced this pull request Oct 10, 2018
tf-tag-filterer, correctly, defined its property `tag-filter` as
readOnly and this broke the data connection between `paper-input`.
Between the paper-input and the filterer, there should be a
two-way binding of its value whereas all the consumers of the
tf-tag-filterer should only read from the component.

Now, using the private property, `_tagFilter`, we establish the two-way
binding while the public property is only used to publish the change.

Note: bug was introduced over #1483, #1475, and #1493.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants