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

kobotoolbox / kpi / 15068252303 / 1
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 16 May 2025 12:54PM UTC
Files 654
Run time 16s
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

16 May 2025 12:17PM UTC coverage: 78.898%. Remained the same
15068252303.1

push

github

web-flow
feat(removingAttachments): use API instead of mocks TASK-1685 (#5765)

### đŸ“Ŗ Summary

Remove mock code that was operating single attachment deletion button
and bulk attachment deletion modal. Use ready APIs instead.

### 💭 Notes

Changes here:
- Cleaned attachments related up endpoints (removed unused, updated
existing ones)
- Fixed bug in `fetchData` (from `api.ts`) - it was giving false
failures when API call was successfull but without content (basically
any `204` would appear as failed)
- For `BulkDeleteMediaFiles` modal:
  - Use `meta/rootUuid`s (with necessary utility being used)
  - Use `onChange` for checkbox to avoid console error
- Fixed a bug where you check checkbox and close modal with "Cancel"
(checkbox wasn't being reset to unchecked)

### 👀 Preview steps

Testing:
1. â„šī¸ have a project with `image` question and multiple submissions
2. go to Project → Data → Table
3. find a cell with image response and click on image icon button
4. đŸŸĸ notice image renders properly in the media modal
5. use "â€Ļ" icon button to open dropdown and select "Delete"
6. confirm "Delete"
7. đŸŸĸ notice that media modal closes and success notification appears
8. open dev tools on "Network" tab
9. open media modal again (image icon button)
10. đŸŸĸ notice infinite spinner instead of image; in dev tools notice
`404` response for getting the image

The reason we have infinite spinner and `404` is becaused FE code
expects `is_deleted` flag to be present on deleted attachments, and this
code is not yet done on BE :ok:

6123 of 9957 branches covered (61.49%)

23203 of 29409 relevant lines covered (78.9%)

0.79 hits per line

Source Files on job 15068252303.1
  • Tree
  • List 654
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15068252303
  • 8c0458e7 on github
  • Prev Job for on main (#15054424175.2)
  • Next Job for on main (#15068839598.1)
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