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

kobotoolbox / kpi / 25077598537
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-2248-unable-to-delete-projects
DEFAULT BRANCH: master
Ran 28 Apr 2026 09:08PM UTC
Jobs 10
Files 912
Run time 2min
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 Apr 2026 09:04PM UTC coverage: 82.182% (-0.003%) from 82.185%
25077598537

push

github

web-flow
fix(connectProjects): deleted imported project issue DEV-2026 (#6971)

### 📣 Summary

Fixes a problem with Connect Projects UI when an imported project was
removed before the import-link was deleted. The problem was causing an
infinite loading spinner (or crash).

Also migrated few old icons and buttons to latest components. Also
introduced a confirmation for imported project removing.

### 💭 Notes

I think the issue reported on Linear was a bit different from issue on
`main` branch given [the recent connectProjects
PRs](https://github.com/kobotoolbox/kpi/pulls?q=is%3Aclosed%20is%3Apr%20author%3Amagicznyleszek%20connectProjects).
When I tested it, I was getting a crash, and Linear issue describes
infinite spinner (in the same area though).

I allowed myself to polish the UI a bit, as it was bugging me while
debugging ;)

Changes here:
- Fixed the issue → mainly problem was that after removing project
`source.source__name` is `null`, and code tried calling
`truncateString()` on it expecting a string
- Migrated `<i>` to `<Icon>` component
- For deleted imported project, I show different icon to make it clearer
- Deleted imported project has now disabled "Configure" button and a
description override
- Migrated `<Button>` to `<ActionIcon>` and `<ButtonNew>`
- When removing an imported project, we now display confirmation modal

I recommend "Hide whitespace" in "Files changed" tab settings

### 👀 Preview steps

See steps [described at Linear
task](https://linear.app/kobotoolbox/issue/DEV-2026/deleting-a-connected-project-causes-infinite-load-when-trying-to#steps-to-reproduce-bd538fc9)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: James Kiger <68701146+jamesrkiger@users.noreply.github.com>

9048 of 12138 branches covered (74.54%)

29832 of 36300 relevant lines covered (82.18%)

5.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25077598537.1 28 Apr 2026 09:08PM UTC 908
52.56
2 25077598537.2 28 Apr 2026 09:09PM UTC 908
54.17
3 25077598537.3 28 Apr 2026 09:10PM UTC 910
53.77
4 25077598537.4 28 Apr 2026 09:10PM UTC 910
55.41
5 25077598537.5 28 Apr 2026 09:10PM UTC 908
52.86
6 25077598537.6 28 Apr 2026 09:11PM UTC 908
60.18
7 25077598537.7 28 Apr 2026 09:11PM UTC 910
66.01
8 25077598537.8 28 Apr 2026 09:13PM UTC 910
54.2
9 25077598537.9 28 Apr 2026 09:13PM UTC 910
61.3
10 25077598537.10 28 Apr 2026 09:13PM UTC 912
68.23
Source Files on build 25077598537
  • Tree
  • List 912
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f50931d7 on github
  • Prev Build on main (#25077148540)
  • Next Build on main (#25078004237)
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