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

Change IconOverlay in DataDisplay #972

Merged
merged 6 commits into from
Sep 25, 2018
Merged

Conversation

swaterkamp
Copy link
Member

  • Change appearance of overlay
  • Use placeholder in some charts
  • Fix x-Axis label in BarChart when FilterTerm is shown

@swaterkamp swaterkamp self-assigned this Sep 25, 2018
@codecov
Copy link

codecov bot commented Sep 25, 2018

Codecov Report

Merging #972 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #972      +/-   ##
=========================================
- Coverage    9.12%   9.12%   -0.01%     
=========================================
  Files         819     819              
  Lines       26743   26748       +5     
  Branches     5713    5687      -26     
=========================================
  Hits         2441    2441              
- Misses      21961   21966       +5     
  Partials     2341    2341
Impacted Files Coverage Δ
gsa/src/web/components/chart/donut3d.js 0% <0%> (ø) ⬆️
gsa/src/web/components/chart/bar.js 0% <0%> (ø) ⬆️
.../src/web/components/dashboard/display/datatable.js 0% <0%> (ø) ⬆️
gsa/src/web/components/chart/line.js 0% <0%> (ø) ⬆️
...rc/web/components/dashboard/display/datadisplay.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c9243f...4f5e583. Read the comment docs.

Changes include:
* vertical alignment
* lightGray background
* blend in and out on hover-on/hover-off
* introducing MENU_PLACEHOLDER_WIDTH to be used in the different charts
@@ -29,6 +29,9 @@ import {scaleBand, scaleLinear} from 'd3-scale';
import {shorten} from 'gmp/utils/string';
import {isDefined} from 'gmp/utils/identity';

import {MENU_PLACEHOLDER_WIDTH}
from 'web/components/dashboard/display/datadisplay';

Copy link
Contributor

Choose a reason for hiding this comment

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

Please use

import {
  MENU_PLACEHOLDER_WIDTH,
} from 'web/components/dashboard/display/datadisplay';

instead or put it into one line and add // eslint-disable-line max-len

@swaterkamp swaterkamp merged commit 8c54792 into greenbone:master Sep 25, 2018
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.

2 participants