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

kobotoolbox / kpi / 28177170279 / 8
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-deps-2d1112a488
DEFAULT BRANCH: master
Ran 25 Jun 2026 02:32PM UTC
Files 886
Run time 41s
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

25 Jun 2026 02:24PM UTC coverage: 59.186% (+14.5%) from 44.663%
28177170279.8

push

github

web-flow
feat(deleteProject): refactor single and multiple project deletion process DEV-1993 (#7159)

### đŸ“Ŗ Summary
This PR enables the delete button quick action for MMO members, refactor
the existing delete prompt modal to use mantine components and adds the
checks and a blocker modal to inform the user if the selected project(s)
cannot be deleted.

### 💭 Notes
- BulkDeleteModal and its usage were refactored to use the `modals.open`
patter used in other places.
- A new blocker modal was implemented to handle deletion permissions and
display information to the user
- Several mock files were changed to include `created_by` as returned
from API now.
- Since this englobes several different scenarios, multiple test cases
were added below for better understanding of the implementation.

### 👀 Preview steps

#### Non-MMO — Single project delete (happy path)

1. â„šī¸ Log in as a non-MMO user with at least one deployed project that
has submissions
2. Go to **My Projects**, select the project
3. Click the trash (đŸ—‘ī¸) quick action button
4. 🔴 [on main] A legacy `KoboPrompt`-styled modal opens
5. đŸŸĸ [on PR] A Mantine modal opens with the title *"Delete project
'Project Name'"* and three checkboxes (data, form, and recovery
confirmation). The red **Delete** button remains disabled until all
three are checked. Note: if the project has no submissions, only two
checkboxes appear — the data checkbox is hidden when there is no data to
warn about.
6. Check all boxes and click **Delete**
7. đŸŸĸ Project is deleted, sidebar refreshes, a toast notification appears
---

#### Non-MMO — No permission to delete (button gate)

1. â„šī¸ Log in as a non-MMO user who is a collaborator with `view_asset`
only on a project they do not own
2. Go to **My Projects**, select that project
3. 🔴 [on main] The trash button is disabled
4. đŸŸĸ [on PR] Same — trash button remains disabled, no modal opens

---

#### Non-MMO — Bulk delete (all deletable)

1. â„šī¸ Log in as a non-MMO user, have two or more projects yo... (continued)

5857 of 12408 branches covered (47.2%)

21762 of 36769 relevant lines covered (59.19%)

0.59 hits per line

Source Files on job 28177170279.8
  • Tree
  • List 886
  • Changed 198
  • Source Changed 0
  • Coverage Changed 198
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 28177170279
  • 74ab7620 on github
  • Prev Job for on main (#28167304160.1)
  • Next Job for on main (#28180195832.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