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

TryGhost / Ghost-Admin / 1790
70%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2017 05:41PM UTC
Jobs 1
Files 364
Run time 17s
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

pending completion
1790

push

travis-ci

acburdine
✨ success/failure state spinner buttons (#566)

refs https://github.com/TryGhost/Ghost/issues/7515
- changes to `gh-task-button`:
  - can take `buttonText` (default: "Save"), `runningText` ("Saving"), `successText` ("Saved"), and `failureText` ("Retry") params
  - positional param for `buttonText`
  - default button display can be overridden by passing in a block, in that scenario the component will yield a hash containing all states to be used in this fashion:
    ```
    {{#gh-task-button task=myTask as |task|}}
    {{if task.isIdle "Save me"}}
    {{if task.isRunning "Saving"}}
    {{if task.isSuccess "Thank you!"}}
    {{if task.isFailure "Nooooooo!"}}
    {{/gh-task-button}}
    ```
- update existing uses of `gh-task-button` to match new component signature

12 of 12 new or added lines in 2 files covered. (100.0%)

3182 of 4228 relevant lines covered (75.26%)

65.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
app/components/modals/new-subscriber.js
Jobs
ID Job ID Ran Files Coverage
1 1790.1 07 Mar 2017 05:41PM UTC 0
75.26
Travis Job 1790.1
Source Files on build 1790
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1790
  • bd65c1ef on github
  • Prev Build on master (#1787)
  • Next Build on master (#1791)
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