-
Notifications
You must be signed in to change notification settings - Fork 27
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
WD-8394 - Add secrets tab #1684
Conversation
Demo starting at https://juju-dashboard-1684.demos.haus |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1684 +/- ##
=========================================
+ Coverage 0 94.93% +94.93%
=========================================
Files 0 178 +178
Lines 0 5175 +5175
Branches 0 1502 +1502
=========================================
+ Hits 0 4913 +4913
- Misses 0 242 +242
- Partials 0 20 +20 ☔ View full report in Codecov by Sentry. |
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.
Looks good to me! 🚀
@@ -242,6 +243,7 @@ const Model = () => { | |||
</> | |||
)} | |||
{shouldShow("logs", query.activeView) && <Logs />} | |||
{shouldShow("secrets", query.activeView) && <Secrets />} |
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 we might need to add case "secrets":
in the definition of shouldShow
. Currently, the Secrets
page doesn't render.
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.
Oops, thanks!
{ | ||
active: activeView === "secrets", | ||
label: "Secrets", | ||
onClick: (e: MouseEvent) => handleNavClick(e), |
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.
Should we add a test here?
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.
Done.
Done
QA
Details
https://warthogs.atlassian.net/browse/WD-8394