Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

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

DEFAULT BRANCH: master
Build:
LAST BUILD BRANCH: ms-change_go_names
Repo Added 31 Jul 2015 12:47PM UTC
Total Files 8
# Builds 921 Last
Badge
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

LAST BUILD ON BRANCH jk-css-modules
branch: jk-css-modules
CHANGE BRANCH
x
Reset
  • jk-css-modules
  • master
  • deploy
  • staging
  • travis
  • staging-alpha
  • concourse
  • deprecated
  • travis-deploy
  • 1.0.0
  • home-update
  • ms-sidebar_context
  • notice-update
  • ms-content_on_pages
  • js-fix-client-setup
  • govcloud-deploy
  • ms-limit_current_user_actions
  • ms-content_updates
  • govcloud-fix
  • jk-add-memory-units
  • jk-marketplace-service-desc
  • jk-css-cleanup
  • ms-upgrade_npm
  • ms-continue_fixtures
  • jk-no-apps
  • ms-release-1.1.0
  • js-app-name-deploy
  • jk-no-dev-ga
  • ms-modify_nr_config
  • 1.1.0
  • ms-zero_mb_formatting
  • ms-accessibility_table_scope
  • jk-route-domain
  • ms-alphabetize_sidenav
  • notice
  • ms-update_cg_style-093
  • ms-add_uaa_dashboard_icon
  • jk-loading-bugs
  • release-1.2.0
  • ms-fix_space_page_loading
  • 1.2.0
  • ms-fix_checkboxes
  • ms-additional_space_initial_load_fixes
  • release-1.2.1
  • 1.2.1
  • ms-cache_phantomjs2
  • ms-change_deployment_names
  • ms-change_go_names

13 Jul 2016 - 1:31 coverage remained the same at 70.958%
931

push

travis-ci

9ff0b0e80e3465b9f6c21aea9691a2f9?size=18&default=identiconjeremiak
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
legibility 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

Relevant lines Covered
334 RELEVANT LINES 237 COVERED LINES
Build:
3.17 HITS PER LINE
Source Files on jk-css-modules
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent Builds

Builds Branch Coverage Commit Committer Type Time Via
931 jk-css-modules
70.96
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... 9ff0b0e80e3465b9f6c21aea9691a2f9?size=18&default=identiconjeremiak push 13 Jul 2016 01:39AM UTC travis-ci
929 jk-css-modules
70.96
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... 9ff0b0e80e3465b9f6c21aea9691a2f9?size=18&default=identiconjeremiak push 13 Jul 2016 01:36AM UTC travis-ci
See All Builds (919)
Notice exc

Badge your Repo: cg-deck

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Loading Refresh
  • Repo on GitHub
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc