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

scriptype / writ-cms / 28798924418
50%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 02:27PM UTC
Jobs 9
Files 133
Run time 1min
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.397% (-0.6%) from 53.975%
28798924418

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

650 of 1221 branches covered (53.24%)

Branch coverage included in aggregate %.

0 of 45 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2242 of 4195 relevant lines covered (53.44%)

1557.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
30
0.0
0.0% src/cms/server/public/app/components/ContentEditor/AttachmentsField.js
9
0.0
0.0% src/cms/api/models/post.js
6
0.0
0.0% src/cms/server/public/app/components/ContentEditor/index.js

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/cms/server/public/app/components/ContentEditor/AttachmentsField.js
Jobs
ID Job ID Ran Files Coverage
1 28798924418.1 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
2 28798924418.2 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
3 28798924418.3 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
4 28798924418.4 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
5 28798924418.5 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
6 28798924418.6 06 Jul 2026 02:27PM UTC 133
53.36
GitHub Action Run
7 28798924418.7 06 Jul 2026 02:27PM UTC 133
53.36
GitHub Action Run
8 28798924418.8 06 Jul 2026 02:27PM UTC 133
53.25
GitHub Action Run
9 28798924418.9 06 Jul 2026 02:28PM UTC 133
53.36
GitHub Action Run
Source Files on build 28798924418
  • Tree
  • List 133
  • Changed 133
  • Source Changed 133
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28798924418
  • b50f9b13 on github
  • Prev Build on master (#28517044675)
  • Next Build on master (#28860160269)
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