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

scriptype / writ-cms / 28798924418 / 8
50%
master: 50%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 02:27PM UTC
Files 133
Run time 14s
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

06 Jul 2026 02:26PM UTC coverage: 53.25% (-0.7%) from 53.938%
28798924418.8

push

github

scriptype
Implement delete attachment in updatePost

a delete button for each attachment &
a cancel button for each new selected file.

Deletions are processed together with the updatePost request. So a
deletedAttachments field is added into payload.data. Probably a separate
endpoint for attachments would be better. But it's a future thing.

To keep the file input updated after cancelling files, some manual DOM
plumbing is done.

Deletions are optimistically reflected on the UI after the prompt is
confirmed (e.g. the attachment disappears from screen). But then after
hitting save and before the post is done updating, the attachment
becomes visible again. That's because internal states are cleared too
eagerly, before waiting for request's resolve. Maybe fix that sometime

647 of 1221 branches covered (52.99%)

Branch coverage included in aggregate %.

2237 of 4195 relevant lines covered (53.33%)

173.05 hits per line

Source Files on job 28798924418.8
  • Tree
  • List 133
  • Changed 133
  • Source Changed 133
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 28798924418
  • b50f9b13 on github
  • Prev Job for on master (#28517044675.7)
  • Next Job for on master (#28860160269.3)
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