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

kobotoolbox / kpi / 22148786908
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: fix-and-consolidate-submission-version-matching
DEFAULT BRANCH: master
Ran 18 Feb 2026 05:21PM UTC
Jobs 2
Files 881
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

18 Feb 2026 04:43PM UTC coverage: 82.032%. Remained the same
22148786908

push

github

web-flow
refactor(editableForm): stop using `allAssets` DEV-1337 (#6713)

### 💭 Notes

Changes here:
- Using orval's `useAssetsRetrieve` instead of
`stores.allAssets.whenLoaded` to fetch asset data
- Kept some weird code to avoid going too far with refactor (e.g.
storing `useAssetsRetrieve` in `setState`)
- Running `launchAppForSurveyContent` when asset data was loaded instead
of relying on `setTimeout`
- Added a safety check inside `launchAppForSurveyContent` to avoid
rendering same HTML multiple times. Also used `refetchOnWindowFocus:
false` to avoid `launchAppForSurveyContent` being run unnecessarily
(code doesn't support getting fresh asset data after it was already
loaded)

### 👀 Preview steps

Things that should still work:
1. Creating new project
   1. Go to #/projects/home
   2. Click "NEW" button and follow through to Form Builder
   3. Add a question
   4. Click "SAVE"
   5. 🟢 Notice it still works
2. Editing existing project
   1. Go to #/projects/home
   2. Open existing project
   3. Click "Edit form" in "Quick Links" (right side of the screen)
   4. 🟢 Notice it opens correctly
   5. While in Form Builder add a question
   6. Click "SAVE"
   7. 🟢 Notice it still works
3. Creating new Library item
1. Same steps as in "Creating new project", but go to
#/library/my-library instead first
4. Editing existing Library item
1. Same steps as "Editing existing project", but go to
#/library/my-library instead first

Found also a bug that I've introduced in this PR that I also fixed in
this PR after review:
1. Have a project with 1 question
2. Edit it in Form Builder
3. Add 2nd question
4. Save form (top right corner) (notice that PATCH call response has 2
questions now)
5. Close form with "x" (top right corner)
6. You end up on /landing route
7. Without navigating elsewhere use "Edit in Form Builder" icon button
8. You end up back in Form Builder
9. Project renders with 1 question (because cached asset)

---------

Co-authored-by: Paulo Amorim <pauloamorimbr... (continued)

7441 of 11473 branches covered (64.86%)

28544 of 34796 relevant lines covered (82.03%)

1.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22148786908.1 18 Feb 2026 05:21PM UTC 881
81.99
2 22148786908.2 18 Feb 2026 05:33PM UTC 879
79.7
Source Files on build 22148786908
  • Tree
  • List 881
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 39ac30e9 on github
  • Prev Build on main (#22145782897)
  • Next Build on main (#22149309314)
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