feat: add dark theme to UI#9703
Conversation
81b270e to
29b9d1e
Compare
|
Thanks a lot for the review Yi, will definitely correct these styles |
|
@saumeya do you have time to take a look at the CI failures? Looks like probably some relatively simple linting issues. |
@crenshaw-dev , The argo-ui PR argoproj/argo-ui#245 needs to be merged first. There is a function I am using from that PR, that is why lint is failing. |
|
@saumeya sweet! I pinged Remington for a review. :-) |
|
@saumeya Argo UI PR is approved, can you update this PR with new commit SHA? |
|
Thanks @rbreeze, could you merge that PR? |
|
@saumeya merged! |
855ebf1 to
d98f8dd
Compare
|
Do we need to bump the moment version in argo-ui to get past the Snyk check? |
|
@crenshaw-dev @rbreeze Updated the PR, now it can be tested directly. |
Codecov ReportBase: 45.76% // Head: 45.76% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #9703 +/- ##
=======================================
Coverage 45.76% 45.76%
=======================================
Files 236 236
Lines 28519 28519
=======================================
Hits 13053 13053
Misses 13661 13661
Partials 1805 1805 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I can't see the snyk check, need some permission. But it was something in the rebase. Let me update the dependency |
329f203 to
0530230
Compare
|
@saumeya Snyk is passing now, thanks! |
|
@saumeya just tested locally, and it looks awesome! Lighthouse is reporting some remaining contrast issues. I think the only ones I'd want to block merging on are these: This is on the Projects page. The top-right header, the logout button, and the tab headings are all very low-contrast and a bit difficult to read. |
|
Thanks @crenshaw-dev, Will fix these issues! |
|
@crenshaw-dev Could you approve and merge this PR - argoproj/argo-ui#272 |
0530230 to
e0ab3ed
Compare
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com> update moment yarn.lock Signed-off-by: saumeya <saumeyakatyal@gmail.com> update moment yarn.lock Signed-off-by: saumeya <saumeyakatyal@gmail.com>
Signed-off-by: saumeya <saumeyakatyal@gmail.com>
e0ab3ed to
4dc4914
Compare
Screen.Recording.2022-09-15.at.8.37.00.AM.movThe contrast looks great now! I really really hate to add one more request, but I think this one is important - the transition between pages flashes white, which is really hard on the eyes. I'm hoping it's a relatively easy fix. |
|
Testing locally, looks like setting the |
|
@saumeya I'm going to go ahead and merge this, and we'll work out the background color and any other issues in follow-up PRs. :-) |
|
Thanks for merging @crenshaw-dev!! We need to imporve as many times possible, i'll look into the transition issue. Also I see your screen height is bigger and so the end of the background is also white. I'll take a look and create fixes. |
* feat: enable dark theme in ui Signed-off-by: saumeya <saumeyakatyal@gmail.com> * add more theme styles Signed-off-by: saumeya <saumeyakatyal@gmail.com> * remove package lock Signed-off-by: saumeya <saumeyakatyal@gmail.com> * improvements Signed-off-by: saumeya <saumeyakatyal@gmail.com> * improvements Signed-off-by: saumeya <saumeyakatyal@gmail.com> * cleanup Signed-off-by: saumeya <saumeyakatyal@gmail.com> * fix review comments Signed-off-by: saumeya <saumeyakatyal@gmail.com> * update argo-ui sha Signed-off-by: saumeya <saumeyakatyal@gmail.com> * update moment yarn.lock Signed-off-by: saumeya <saumeyakatyal@gmail.com> update moment yarn.lock Signed-off-by: saumeya <saumeyakatyal@gmail.com> update moment yarn.lock Signed-off-by: saumeya <saumeyakatyal@gmail.com> * fix review comments Signed-off-by: saumeya <saumeyakatyal@gmail.com> Signed-off-by: saumeya <saumeyakatyal@gmail.com>




closes #4722
Dependent on argo-ui PR - argoproj/argo-ui#245
Demo video
online-screen-recorder-2022-06-17--10-32-11.mp4
should close #4722
Initial Description that is no longer valid
Steps to build and run, checkout to
argo-uiPR branch in your local.Run
yalc publishThen in this argocd branch
cd uiRun
yalc add argo-uicd ..make startNote on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: