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

kobotoolbox / kpi / 21400350437
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1259-remove-metadata-endpoints
DEFAULT BRANCH: master
Ran 27 Jan 2026 02:42PM UTC
Jobs 2
Files 882
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

27 Jan 2026 02:08PM UTC coverage: 81.366% (-0.006%) from 81.372%
21400350437

push

github

web-flow
refactor(formBuilder): migrate editableForm and connected files to TypeScript DEV-1520 (#6588)

### 📣 Summary

Internal refactor of piece(s) of code that connects Form Builder
(Backbone x CoffeeScript app) with the rest of the UI (React x
JavaScript x TypeScript app).

### 💭 Notes

The touched parts are the connection between Backbone and React, so I've
started with migrating `editableForm.js` (now `EditableForm.tsx`) and
then all the related parts, mainly:
- `cascadeMixin.js` - integrated into `EditableForm.tsx`
- `formEditors.tsx` are using EditableForm in a new way (EditableForm is
no longer a React mixin)
- `formBuilderUtils.tsx`
- `_xlform.init.coffee` 
- is being imported into `EditableForm.tsx` and is itself a sort of root
gathering of all coffee code
- to make it useful (i.e. avoid it being `any`) I've added `.d.ts` file
for it and for all the files that it is importing etc. (this is the main
reason this PR adds so much LOC)
- the types were build partially by hand and partially with AI, because
I don't really really need them being nice, I just need them be Good
Enough™ and I feel they are
- `surveyScope.tsx` is a companion piece to `EditableForm.tsx` and
Backbone code is using it
- Improved types for `actions.js` (`actions.d.ts` file)
- Tiny type improvements in `dataInterface.ts`
- In `stores.d.ts` 
- I removed `sessions` as it is a separate store (change made long time
ago, this is a cleanup that was omitted)
  - Improved types for `surveyState`
- Marked some more dead code in coffee code (with comments) 

History: This started during Christmas time when most developers had ooo
time and as preparation to fix a bug. Bug was fixed accidently by doing
other work, but nevertheless I've finished the TS migration work.

### 👀 Preview steps

This doesn't touch any particular functionality, but rather a wrapper
for Form Builder, so any Form Builder related functionalities might be
affected by this PR. It woul be best to test FB thoroughly. By look... (continued)

7234 of 11333 branches covered (63.83%)

27868 of 34250 relevant lines covered (81.37%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21400350437.1 27 Jan 2026 02:42PM UTC 880
79.01
2 21400350437.2 27 Jan 2026 02:46PM UTC 882
81.33
Source Files on build 21400350437
  • Tree
  • List 882
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a835a802 on github
  • Prev Build on main (#21394246222)
  • Next Build on main (#21402751669)
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