KEMBAR78
Time Series: preserve run regex filter string in URL by japie1235813 · Pull Request #5412 · tensorflow/tensorboard · GitHub
Skip to content

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

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