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

jekyll / jekyll-admin / 1776 / 2
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2019 08:45AM UTC
Files 61
Run time 4s
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

22 Nov 2019 08:42AM UTC coverage: 80.358% (+0.04%) from 80.32%
2.4, TEST_SUITE=ruby JEKYLL_VERSION="~> 3.8"

push

travis-ci

web-flow
Render icons in Button based on the `type` prop (#541)

Most of the buttons have their icons fixed for a given type to ease UX.
For example, `delete` type buttons are always rendered with the `trash` icon, or the `view` buttons are always rendered with the `eye` icon and similarly the `save` buttons are always rendered with the `save (floppy)` icon.

So instead of having to repeatedly pass the icon-name as a prop for the same Button type, it is better if the Button component determined the icon based on the current type.

Nevertheless, the existing behavior of passing `icon` as a prop is still valid to allow rendering a *variant* of the button with a different icon if such a need arises.

513 of 675 branches covered (76.0%)

Branch coverage included in aggregate %.

1148 of 1392 relevant lines covered (82.47%)

8.43 hits per line

Source Files on job 1776.2 (2.4, TEST_SUITE=ruby JEKYLL_VERSION="~> 3.8")
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1766
  • Travis Job 1776.2
  • c955eb29 on github
  • Prev Job for 2.4, TEST_SUITE=ruby JEKYLL_VERSION="~> 3.8" on master (#1771.2)
  • Next Job for 2.4, TEST_SUITE=ruby JEKYLL_VERSION="~> 3.8" on master (#1781.2)
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