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

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

Build:
Build:
LAST BUILD BRANCH: dev-1494-execution-and-polling-for-bulk-actions
DEFAULT BRANCH: master
Ran 28 May 2026 09:04PM UTC
Files 877
Run time 42s
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

28 May 2026 09:00PM UTC coverage: 50.643% (-10.5%) from 61.121%
26601979292.1

push

github

web-flow
feat(bulkProcessing): dismissible info banner DEV-1402 (#7092)

### 📣 Summary

On the Data Table, we show a dismissible info banner when bulk
processing is actively running and at least one active job was started
by a different user, so data changes are easier to anticipate. This is
hidden behind feature flag.

### 💭 Notes

This PR adds a new Bulk Processing banner in the Data Table and wires
the display logic to active bulk-action ownership.

The banner appears only when:

1. Bulk processing feature flag is enabled.
2. There is at least one active bulk action (pending or in progress).
3. At least one active action was created by someone other than the
current logged-in user.

It is dismissible per user and per form for the current browser session,
and includes singular/plural copy for 1 vs multiple active jobs.

This PR also includes Storybook coverage for banner scenarios and unit
tests for hook logic.

Changes here:
- New banner component and rendering (`BulkProcessingBanner.tsx`):
- Adds a Mantine alert-style banner in the table banner container (atop
`table.tsx`)
- Banner supports dismiss via `sessionStorage` key scoped by user
(safely) + asset
   - Message handles singular/plural active-job wording
- Bulk-action domain logic extraction (`useDataTableBulkActions.ts`):
   - Introduces hook returning:
     - `activeBulkActions`
     - `hasActiveBulkActionsCreatedByAnotherUser`
     - `currentUsername`
- Keeps `DataTableWrapper` cleaner and makes banner condition testable
   - Simple unit tests in `useDataTableBulkActions.tests.ts`
- Covers feature-flag off, active status filtering, other-user
detection, and session-pending/no-username behavior
- Storybook (created `BulkProcessingBanner.stories.tsx` and
`bulkProcessingBanner.storiesUtils.tsx`, updated
`DataTableWrapper.stories.tsx`):
- Adds focused stories and a shared decorator utility that clears
banner-dismissal session keys, so stories remain easy to retest
- Close button styling follow-up:
- Re... (continued)

4353 of 11911 branches covered (36.55%)

18041 of 35624 relevant lines covered (50.64%)

0.51 hits per line

Source Files on job 26601979292.1
  • Tree
  • List 877
  • Changed 231
  • Source Changed 0
  • Coverage Changed 231
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26601979292
  • 88731972 on github
  • Prev Job for on main (#26593269122.9)
  • Next Job for on main (#26641046948.8)
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