Skip to content

Remove the left margin on all graphs#1181

Merged
gregtatum merged 1 commit into
firefox-devtools:masterfrom
gregtatum:graph-margin-removal
Aug 7, 2018
Merged

Remove the left margin on all graphs#1181
gregtatum merged 1 commit into
firefox-devtools:masterfrom
gregtatum:graph-margin-removal

Conversation

@gregtatum

Copy link
Copy Markdown
Member

This PR removes the left margin on the stack and marker charts. The original idea was to have the charts aligned with the graph above, but that is no longer a concern. I was doing some performance audits on that area, and found the thread name to be paint flashing, so it seemed like a good idea to go ahead and remove it since that is what we've already been discussing.

Before changes:
image

After changes:
image

@codecov

codecov Bot commented Aug 7, 2018

Copy link
Copy Markdown

Codecov Report

Merging #1181 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1181      +/-   ##
==========================================
- Coverage   75.74%   75.74%   -0.01%     
==========================================
  Files         144      144              
  Lines        9319     9318       -1     
  Branches     2253     2254       +1     
==========================================
- Hits         7059     7058       -1     
  Misses       2013     2013              
  Partials      247      247
Impacted Files Coverage Δ
src/components/flame-graph/FlameGraph.js 60% <ø> (ø) ⬆️
src/components/marker-chart/index.js 100% <ø> (ø) ⬆️
src/components/stack-chart/index.js 86.66% <ø> (ø) ⬆️

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 4305e67...d113725. Read the comment docs.

@brisad

brisad commented Aug 7, 2018

Copy link
Copy Markdown
Contributor

The flame graph also has a margin, we should remove that one too, shouldn't we?

@gregtatum gregtatum force-pushed the graph-margin-removal branch from 5cdeef9 to 0afcf48 Compare August 7, 2018 19:09
@gregtatum

Copy link
Copy Markdown
Member Author

@brisad ah yeah, I missed that, I added that on with this commit.

@gregtatum gregtatum force-pushed the graph-margin-removal branch from 0afcf48 to d113725 Compare August 7, 2018 19:23
@gregtatum gregtatum merged commit 8cf90ba into firefox-devtools:master Aug 7, 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.

3 participants