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

Time Series: preserve run regex filter string in URL #5412

Merged
merged 5 commits into from
Nov 12, 2021

Conversation

japie1235813
Copy link
Contributor

@japie1235813 japie1235813 commented Nov 9, 2021

  • Motivation for features / changes
    Time Series does not remember regex query put in the run filter. We remember this by adding it to the URL.

Screen Shot 2021-11-10 at 10 28 58 AM

@google-cla google-cla bot added the cla: yes label Nov 9, 2021
@@ -27,3 +27,5 @@ export const PINNED_CARDS_KEY = 'pinnedCards';
export const RUN_COLOR_GROUP_KEY = 'runColorGroup';

export const TAG_FILTER_KEY = 'tagFilter';

export const RUN_REGEX_FILTER_KEY = 'runRegexFilter';
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps simpler, runFilter to match tagFilter? They are both regexes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Isn't tagFilter related to another filter? (where the arrow points at)
Screen Shot 2021-11-10 at 10 53 29 AM
t)

Copy link
Contributor

Choose a reason for hiding this comment

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

So, in L29, we have "tagFilter" instead of "tagRegexFilter" even though tag filter also let you specify a regex.

Likewise, I am asking if we can drop word" regex" from "runRegexFilter" like we did for tag one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah I see. I thought you want to rename runRegexFilter to tag..

})
);

expect(nextState.data.regexFilter).toEqual('hello');
Copy link
Contributor

Choose a reason for hiding this comment

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

toEqual -> toBe. Here and below.

@japie1235813 japie1235813 merged commit 41ec67b into tensorflow:master Nov 12, 2021
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants