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

Expose tagFilter persistence to hash #1475

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

stephanwlee
Copy link
Contributor

tagFilter was persisted via local storage which was harder to grok just
looking at the browser. Instead, we now expose it via hash.

This change also:

  • fixes the issue where simply navigating from another plugin to
    scalars plugin removed/resetted the tagRegex.
  • apply common tagRegex component to audio dashboard to leverage the
    storage

tagFilter was persisted via local storage which was harder to grok just
looking at the browser. Instead, we now expose it via hash.

This change also:
- fixes the issue where simply navigating from another plugin to
  scalars plugin removed/resetted the tagRegex.
- apply common tagRegex component to audio dashboard to leverage the
  storage
@stephanwlee stephanwlee merged commit b0e76c8 into tensorflow:master Oct 2, 2018
@stephanwlee stephanwlee deleted the tagfilter branch October 2, 2018 01:04
stephanwlee added a commit to stephanwlee/tensorboard that referenced this pull request Oct 5, 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 tensorflow#1475 which has broken the Polymer
complex observer.
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