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

kobotoolbox / kpi / 22116868917
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Feb 2026 10:17PM 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

17 Feb 2026 09:43PM UTC coverage: 82.031% (+2.3%) from 79.699%
22116868917

push

github

web-flow
refactor(editableForm): change into functional component DEV-1338 DEV-1337 (#6708)

### 💭 Notes

This is a followup to #6588. Previous PR moved things to TypeScript and
merged some code into single component. This one changes that component
into a functional component to allow for easier use of orval

Notable changes:
- Changed `routerWillLeave` to `useBeforeUnload` and `useBlocker`
- Changed `setState` to `useState`
- Had some weird issues with using `setState({...state})`, but they went
away after switching to `setState((state) => ({...state}))`
- Changed `componentWillMount` to `useEffect`

### 👀 Preview steps

Similarly to #6588 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 would be best to test
FB. By looking at the code, the parts that for sure needs to be tested
are:
- Creating a new Library Item
- Importing a Library Item into form
- Cascading select:
https://support.kobotoolbox.org/cascading_select.html
- Locking profiles and templates:
https://support.kobotoolbox.org/library_locking.html
- Creating new form
- Editing existing form
- Editing form style (from Layout & Settings)
- Grouping rows
- Reordering rows
- Changing form name through Form Builder
- Previewing form
- Question matrix: https://support.kobotoolbox.org/matrix_response.html

---------

Co-authored-by: Paulo Amorim <pauloamorimbr@gmail.com>
Co-authored-by: Akuukis <Akuukis@users.noreply.github.com>

7437 of 11470 branches covered (64.84%)

28541 of 34793 relevant lines covered (82.03%)

1.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22116868917.1 17 Feb 2026 10:17PM UTC 879
79.7
2 22116868917.2 17 Feb 2026 10:20PM UTC 881
81.99
Source Files on build 22116868917
  • Tree
  • List 881
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • afd65237 on github
  • Prev Build on main (#22115671879)
  • Next Build on main (#22117954786)
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