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

router: support conditional navigations and empty experiment names #5216

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

psybuzz
Copy link
Contributor

@psybuzz psybuzz commented Aug 9, 2021

This includes 2 changes to the app router.

  • The 'compare' route now accepts a URL that defines experiments with
    an 'id' and no display 'name' / alias. For example,
    'http://localhost/compare/:unnamedExpId,baseline:secondNamedExpId'
  • Registering a ProgrammaticalNavigation now allows providing a
    lambda which may conditionally return null, to indicate that a
    navigation should not occur when the specified action is fired.

These changes are a step towards allowing a TensorBoard app to craft a
URL that automatically uses default experiment aliases computed at
runtime without the URL having to specify them.

Googlers, see b/195683550 and proof of concept cl/389664527

@google-cla google-cla bot added the cla: yes label Aug 9, 2021
@psybuzz psybuzz requested a review from bmd3k August 9, 2021 17:27
@psybuzz psybuzz merged commit cefd4b8 into tensorflow:master Aug 9, 2021
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
…iases (tensorflow#5216)

This includes 2 changes to the app router.

- The 'compare' route now accepts a URL that defines experiments with
  an 'id' and no display 'name' / alias. For example,
  'http://localhost/compare/:unnamedExpId,baseline:secondNamedExpId'
- Registering a `ProgrammaticalNavigation` now allows providing a
  lambda which may conditionally return `null`, to indicate that a
  navigation should not occur when the specified action is fired.

These changes are a step towards allowing a TensorBoard app to craft a
URL that automatically uses default experiment aliases computed at
runtime without the URL having to specify them.

Googlers, see b/195683550 and proof of concept cl/389664527
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
…iases (tensorflow#5216)

This includes 2 changes to the app router.

- The 'compare' route now accepts a URL that defines experiments with
  an 'id' and no display 'name' / alias. For example,
  'http://localhost/compare/:unnamedExpId,baseline:secondNamedExpId'
- Registering a `ProgrammaticalNavigation` now allows providing a
  lambda which may conditionally return `null`, to indicate that a
  navigation should not occur when the specified action is fired.

These changes are a step towards allowing a TensorBoard app to craft a
URL that automatically uses default experiment aliases computed at
runtime without the URL having to specify them.

Googlers, see b/195683550 and proof of concept cl/389664527
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