-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: Add version information panel (#4312) #4376
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4376 +/- ##
==========================================
+ Coverage 41.17% 41.26% +0.08%
==========================================
Files 122 122
Lines 16588 16603 +15
==========================================
+ Hits 6830 6851 +21
+ Misses 8776 8762 -14
- Partials 982 990 +8
Continue to review full report at Codecov.
|
04360d8
to
007277a
Compare
new
|
resolves #4312 |
I am totally new to Go, and fairly new to React. so feel free to nitpick ;) |
- Add new extended version info panel that pops up when the version is clicked in the navbar - Refactor kustomize and helm versions to be more user-friendly (also affects argo CLI) Signed-off-by: Tim Etchells <tetchell@redhat.com>
007277a
to
3f0762a
Compare
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.
Remove the copy-to-clipboard
library, and it LGTM.
32f2d89
to
b0f75df
Compare
Improve copy button behaviour Clean up comments Signed-off-by: Tim Etchells <tetchell@redhat.com>
b0f75df
to
88bbb65
Compare
Love the new panel. I found that after removing the CSS it still looks almost identical so I think it's best to leave it out if possible. I also inlined LGTM, this is really useful. |
I can appreciate the desire to keep the code as simple as possible, but I wouldn't have added the styles if I didn't think those details mattered. Especially the styles on the The styles on the panel itself are definitely more subjective and I am OK without most of those, however I think the Copy button is a little cramped now and the icon could use some space on the right. The reason I set the |
I agree with everything you pointed out. I added back the styles to keep the copy button a consistent width, but inline because I don't think it warrants an additional file. I also added an additional For the version button itself, I don't think there's a good way to add If you agree, I think it's ready to merge. Thanks for working on this! |
Personally I prefer new files for separate components even if they are simple, and [s]css files over inline styles and nbsp. But, that is subjective enough that I am happy to merge this. |
I often agree, but in my experience with Argo the standard seems to be a preference toward minimal amount of files/components. Glad you're okay with the changes. Thanks! |
Signed-off-by: Tim Etchells tetchell@redhat.com
Checklist: