-
Notifications
You must be signed in to change notification settings - Fork 308
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
Create template for Diagnostics #2736
Create template for Diagnostics #2736
Conversation
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
Signed-off-by: Phillip Rak <[email protected]>
src/layouts/default.vue
Outdated
'/PortForwarding', | ||
'/Images', | ||
'/Troubleshooting', | ||
const routes = [ |
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.
I would feel better if this object didn't have the same name as the enclosing method (I know it's allowed, but I think we can be clearer). Maybe routeTable
instead of routes
?
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.
I think that's a fair assessment, fixed with your suggestion 🙂
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.
Just a trivial request -- looks fine for now
Signed-off-by: Phillip Rak <[email protected]>
This creates a simple template for Diagnostics with a few hard-coded examples for testing.
We are missing a few elements that are represented in the design, most notably the mute toggle. I made the decision to leave this out for the time being. My preference is to get
ToggleSwitch.vue
published in@rancher/components
. If this proves to be taking too long, we can simply copy the component over like we do with other Dashboard components.Diagnostics is accessed by the
RD_ENV_DIAGNOSTICS
environment variable that functions as a feature flag. You can test the template with:Examples
contributes to #2656