• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

18F / cg-deck / 929 / 1
71%
master: 71%

Build:
Build:
LAST BUILD BRANCH: ms-change_go_names
DEFAULT BRANCH: master
Ran 13 Jul 2016 01:36AM UTC
Files 8
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jul 2016 01:25AM UTC coverage: 70.958%. First build
929.1

push

travis-ci

jeremiak
Use single css file for all components

CSS modules is a cool idea, but our implementation got a bit
complex. We were importing the individual component files
from the style library, meaning that anybody working on a
component had to know not only that a class was in cloudgov-
style but also which file it was in. This was a lot of work
for something as simple as adding a class.

Now, all components just use the final, generated output css
from cloudgov-style so that any class in the library should
work pretty well in any component. I kept the .styler()
convention mostly in place to minimize changes.

The best illustration of how this changes improves code
legability is in navbar.jsx right after render() begins.
Where we used to have to know which component file a class
was in, now we can simply use any class from the style
library.

Refs #350

237 of 334 relevant lines covered (70.96%)

3.17 hits per line

Source Files on job 929.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 929
  • Travis Job 929.1
  • ad2fac2a on github
  • Next Job for on jk-css-modules (#931.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc