Skip to content

Conversation

@xi
Copy link
Contributor

@xi xi commented Mar 19, 2020

Inline styles are used for the following:

  1. version table column width
  2. bar graphs
  3. sql query colors
  4. profiling function indentation

(1) is can trivially be replaced with a class. (2) can be replaced with SVG. I did not find solutions for the other two cases.

@codecov
Copy link

codecov bot commented Mar 19, 2020

Codecov Report

Merging #1249 into master will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1249      +/-   ##
==========================================
+ Coverage   86.61%   86.66%   +0.05%     
==========================================
  Files          25       25              
  Lines        1449     1447       -2     
  Branches      205      205              
==========================================
- Hits         1255     1254       -1     
+ Misses        142      141       -1     
  Partials       52       52              
Impacted Files Coverage Δ
debug_toolbar/panels/sql/panel.py 67.48% <ø> (+0.21%) ⬆️

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 666166e...2ea3553. Read the comment docs.

Copy link
Contributor

@jdufresne jdufresne left a comment

Choose a reason for hiding this comment

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

Thanks for this improvement. I think this is a good move.

@xi xi force-pushed the eliminate-inline-styles branch from 09a5e1f to 2ea3553 Compare June 29, 2020 16:03
@xi
Copy link
Contributor Author

xi commented Jun 29, 2020

What is the status here? Anything I can do to get this merged?

@jdufresne jdufresne merged commit 3e626df into django-commons:master Jun 29, 2020
@jdufresne
Copy link
Contributor

Thanks! Sorry for the delay merging.

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