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

kobotoolbox / kpi / 30434883855 / 1
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-2567-dailycounter-fix
DEFAULT BRANCH: master
Ran 29 Jul 2026 08:21AM UTC
Files 890
Run time 21s
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

29 Jul 2026 08:16AM UTC coverage: 49.354% (+3.9%) from 45.48%
30434883855.1

push

github

web-flow
feat(bulkProcessing): disable bulk approve option if nothing to approve DEV-2495 DEV-2505 (#7322)


### đŸ“Ŗ Summary

Disable "Approve all selected" option if none of selected submissions
has things to approve.

### 💭 Notes

Previously you could pick a bunch of rows whose transcripts (or
translations) were already approved, hit `Approve all selected`, walk
through the confirmation dialog, and get a "No submissions were
approved" warning at the end. Now the menu item stays disabled unless at
least one selected row in that column has automatic content still
awaiting approval.

Changes here:

- `submissionUtils.tsx` — new `hasAnyUnacceptedAutomaticContent()`
helper, a thin wrapper over the existing
`hasUnacceptedAutomaticContent()` used by the per-cell `Review` button.
- `tableColumnSortDropdown.tsx` — new optional `isBulkApproveDisabled`
prop.
- `table.tsx` — pulled the "selected rows on the current page" filter
out of `openBulkProcessingModal()` into a `getSelectedSubmissions()`
method, since the column header now needs it too, and passed the new
prop down.
- `submissionUtils.tests.ts` — unit tests for the helper: empty
selection, all-approved, mixed, translations in the wrong language, and
rows with no supplemental details at all.

### 👀 Preview steps

1. â„šī¸ have an account and a project with an audio question and a few
submissions
2. go to Project → Data → Table and transcribe some audio via the column
menu → `Transcribe selected audio files`, wait for it to finish
3. approve those transcripts (per row `Review` button, or select them
and use `Approve all selected`) so the transcript cells show plain text
instead of a `Review` button
4. select only those already-approved rows via the row checkboxes
5. open the transcript column header menu
6. 🔴 [on main] `Approve all selected` is clickable; click through it and
land on a "No submissions were approved. They may already be approved or
have no data." warning
7. đŸŸĸ [on PR] `Approve all selected` is greyed out... (continued)

4461 of 12714 branches covered (35.09%)

18566 of 37618 relevant lines covered (49.35%)

0.49 hits per line

Source Files on job 30434883855.1
  • Tree
  • List 890
  • Changed 108
  • Source Changed 0
  • Coverage Changed 108
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30434883855
  • 2d323a4d on github
  • Prev Job for on main (#30434650272.4)
  • Next Job for on main (#30437065604.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc