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

hypothesis / h / 9349
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 10 Dec 2015 07:54PM UTC
Jobs 1
Files 92
Run time 3s
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
9349

push

travis-ci

seanh
Update view model after save

Update AnnotationController's view model (vm) after successfully saving
a new annotation to the server for the first time.

This fixes two issues:

1. vm.annotationURI (which depends on the annotation's id, which is not
present until the save to the server succeeds) was not being set
correctly after successful save, so the annotation permalinks were not
correct until you reload them.

2. If you created a highlight while logged out, then logged in,
(AnnotationController automatically saves the highlight to the server
for you on login) the "Only Me" icon was not being shown on the
highlight until you reloaded it because vm.isPrivate wasn't set.

2619 of 3716 relevant lines covered (70.48%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9349.1 10 Dec 2015 07:54PM UTC 0
70.48
Travis Job 9349.1
Source Files on build 9349
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9349
  • f209de85 on github
  • Prev Build on 2728-misc-AnnotationController-refactors-part-2 (#9348)
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