Skip to content
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

fix: incorrect primary_color crash the ui #1771

Merged
merged 2 commits into from Apr 8, 2020
Merged

Conversation

juanpicado
Copy link
Member

@juanpicado juanpicado commented Apr 8, 2020

Type: bug

The following has been addressed in the PR:

  • There is a related issue? No
  • Unit or Functional tests are included in the PR

Description:

If the color is wrong, the UI crash

web:
  primary_color: 'blue'

The hex color representation must be exact, otherwise, it returns to default. Material-UI only supports hex colors and RGB.

web:
  primary_color: '#000'

Screen Shot 2020-04-08 at 11 49 04 PM

@sonarcloud
Copy link

sonarcloud bot commented Apr 8, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 1 Security Hotspot to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Apr 8, 2020

Codecov Report

Merging #1771 into master will decrease coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master    #1771      +/-   ##
==========================================
- Coverage   83.49%   83.47%   -0.02%     
==========================================
  Files          48       48              
  Lines        2532     2536       +4     
  Branches      585      593       +8     
==========================================
+ Hits         2114     2117       +3     
  Misses        414      414              
- Partials        4        5       +1     
Impacted Files Coverage Δ
src/api/web/index.ts 70.58% <80.00%> (+0.37%) ⬆️
src/api/web/endpoint/package.ts 75.00% <0.00%> (ø)

@juanpicado juanpicado merged commit d689260 into master Apr 8, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix-primary-color-issue branch April 8, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants