-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Serve TensorBoard at /flags #5796
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,10 +40,17 @@ export interface NavigateToExperiments { | |
| resetNamespacedState?: boolean; | ||
| } | ||
|
|
||
| export interface NavigateToFlags { | ||
| routeKind: RouteKind.FLAGS; | ||
| routeParams: {}, | ||
| resetNamespacedState?: boolean; | ||
| } | ||
|
|
||
| export type ProgrammaticalNavigation = | ||
| | NavigateToExperiment | ||
| | NavigateToCompare | ||
| | NavigateToExperiments; | ||
| | NavigateToExperiments | ||
| | NavigateToFlags; | ||
|
Comment on lines
+43
to
+53
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not technically necessary but it does make the typing more accurate.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have strong feelings about this either way. However, I would have left this out because we do not want to programmatically navigate. I can definitely see this being useful one day if we decide to have a secret button that navigates here or something. But, I think we can add it then. |
||
|
|
||
| export interface NavigationLambda { | ||
| actionCreator: ActionCreator<string, Creator>; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This DEFINITELY needs a unit test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit test here would be great. I don't understand what line 143 does.