Skip to content

UI: Dark mode toggle button on Management Server#5052

Merged
DaanHoogland merged 26 commits into
apache:4.15from
utchoang:feature/ui-dark-mode
Aug 11, 2021
Merged

UI: Dark mode toggle button on Management Server#5052
DaanHoogland merged 26 commits into
apache:4.15from
utchoang:feature/ui-dark-mode

Conversation

@utchoang

@utchoang utchoang commented May 31, 2021

Copy link
Copy Markdown

Description

Fixes #5042

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

  • Light Mode (default)
    image

  • Dark Mode
    image

  • Project Mode
    image

How Has This Been Tested?

@yadvr

yadvr commented May 31, 2021

Copy link
Copy Markdown
Member

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@yadvr yadvr added this to the 4.15.1.0 milestone May 31, 2021
@yadvr
yadvr requested review from Pearl1594, davidjumani, shwstppr and yadvr and removed request for davidjumani May 31, 2021 10:39
@yadvr

yadvr commented May 31, 2021

Copy link
Copy Markdown
Member

@utchoang are you doing anymore work or is this ready for testing/review?

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-188)

@yadvr yadvr modified the milestones: 4.15.1.0, 4.15.2.0 May 31, 2021
@yadvr

yadvr commented May 31, 2021

Copy link
Copy Markdown
Member

Nevermind I tested looks like it's not functional yet.

@utchoang

Copy link
Copy Markdown
Author

@rhtyd
I'm still working on it and not in review mode yet. Thanks.

@utchoang

utchoang commented Jun 2, 2021

Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-198)

@utchoang
utchoang marked this pull request as ready for review June 2, 2021 06:00
@DaanHoogland

Copy link
Copy Markdown
Contributor

site looks good, can't judge the code.

@yadvr yadvr modified the milestones: 4.15.2.0, 4.15.1.0 Jun 4, 2021
@shwstppr

shwstppr commented Aug 3, 2021

Copy link
Copy Markdown
Contributor

Looks nice!

@utchoang

  1. possible to add a "Reset to default" option in theme panel?
  2. In project view, some text color change needed in dark mode
    Screenshot from 2021-08-03 11-20-34

@utchoang

utchoang commented Aug 3, 2021

Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-472)

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the "reset to default", LGTM

@RodrigoDLopez RodrigoDLopez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually tested. LGTM

@nvazquez

nvazquez commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Thanks all for testing, we are only missing code review @davidjumani @Pearl1594 can you handle that?

@yadvr

yadvr commented Aug 9, 2021

Copy link
Copy Markdown
Member

@davidjumani have you tested it, are you lgtm on this?

@apurv-1

apurv-1 commented Aug 9, 2021

Copy link
Copy Markdown
Contributor

The UI looks awesome @utchoang!

Pointing some minor bugs, I came across while manually testing UI.

  1. Some text fields in forms are turning white on hover(In the dark mode). Some of them are:
    • Instances > Kubernetes > Create Kubernetes Cluster > Node root disk size (in GB) field.
    • Images > Kubernetes ISOs > Add Kubernetes Version > Min CPU Cores & Min Memory (in MB) field.
    • Infrastructure > Zone > Add Zone > Under Zone details most of the DNS fields.
    • Service Offerings > Compute & System Offerings > Add Compute Offering > most of the fields.
Zones.-.CloudStack.-.Google.Chrome.2021-08-09.18-32-44.mp4
  1. I don't know if its the issue on my machine but while choosing the Background/Text colour, It works great if I wanted to select a colour on click but, while holding the cursor and then selecting it while moving the mouse it lags(maybe because its changing colour and rendering the Background/Text colour at the same time).
Instances.-.CloudStack.-.Google.Chrome.2021-08-09.19-03-26.mp4

edit: Unfortunately colour picker drawer isn't recorded.

@utchoang

Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-496)

@utchoang

Copy link
Copy Markdown
Author

@apurv-1 Can you please check case 1 again? Also for case 2, changing the text color, the background now will only apply when the lost focus from the color picker. Thanks.

@apurv-1

apurv-1 commented Aug 10, 2021

Copy link
Copy Markdown
Contributor

@apurv-1 Can you please check case 1 again? Also for case 2, changing the text color, the background now will only apply when the lost focus from the color picker. Thanks.

Great, both the changes are fixed & looks really good. Thanks!

@nvazquez

Copy link
Copy Markdown
Contributor

@utchoang another minor issue on the dark mode: when the list view is empty, the 'No data' text is not visible

image

@utchoang

Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-507)

@nvazquez

Copy link
Copy Markdown
Contributor

Thanks for the quick fix @utchoang, can you fix the latest conflict?

@utchoang

Copy link
Copy Markdown
Author

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5052 (SL-JID-508)

@DaanHoogland
DaanHoogland merged commit 8680f7d into apache:4.15 Aug 11, 2021
@utchoang
utchoang deleted the feature/ui-dark-mode branch August 16, 2021 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Introduction to Dark mode with toggle Button on Management Server.