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

TryGhost / Ghost-Admin / 2643
70%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2017 02:33PM UTC
Jobs 1
Files 390
Run time 13s
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
2643

push

travis-ci

acburdine
🐛 fix duplicate posts bug, more intelligent autosave when transitioning (#800)

no issue
- fixes bug where multiple posts were created starting with one char and growing until the new->edit transition completed, e.g. posts with content such as `a`, `ab`, `abcd` were created in quick succession
  - moves old `_savePromise` body into the `save` task
  - call the `save` task instead of the old `_savePromise` so that concurrency is handled properly
- fixes odd behaviour with the "Are you sure you want to leave?" modal appearing too often - it's now aware of on-going or scheduled saves and will wait for those to complete before transitioning
  - move all transition abort/save/retry handling into `toggleLeaveEditorModal` method
  - check for a running save, wait for it to finish then retry the transition
  - check for a scheduled autosave, cancel it if present and perform an immediate autosave then retry the transition
  - don't attempt new->edit transition on successful save of new post if we're already waiting for a different transition
  - once the new->edit transition has completed, if the post body content has changed schedule an autosave manually so that the user doesn't need to type something again to save what they assume is already saved
  - remove debounced slug generation/save on type of title field in favour of generation and save on focus out which plays a lot nicer with the new transition autosave behaviour

1514 of 2322 branches covered (65.2%)

3625 of 4943 relevant lines covered (73.34%)

49.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2643.1 22 Jul 2017 02:33PM UTC 0
73.34
Travis Job 2643.1
Source Files on build 2643
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2643
  • 7b7c25b5 on github
  • Prev Build on master (#2639)
  • Next Build on master (#2644)
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