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

kobotoolbox / kpi / 39853100453
57%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Oct 2026 09:01PM UTC
Jobs 10
Files 930
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

22 Oct 2026 08:56PM UTC coverage: 83.501% (-0.007%) from 83.508%
39853100453

push

github

web-flow
fix(frontend):  make FormLanguagesManager story more robust DEV-3069 (#7679)

### 💭 Notes

This started as a flaky Storybook test (`Features/FormLanguagesManager →
BasicFlow`, failing with `expected null to be 'Nom'`). The test was
catching a real bug, just not in the languages modal.

`UniversalTableCore` rebuilt its column definitions on every render, and
`flexRender` treats a function `cell`/`header` as a component type. So
any table re-render (container resize, scrollbar check, new data) gave
React a "new" component and remounted every cell, inputs included. The
test sometimes typed into a textarea that had just been swapped out, and
the keystrokes went nowhere.

The translations editor had been working around this since the Mantine
migration: drafts stayed inside each cell until blur, a ref flipped the
dirty state, and the save button kept its own `*` so the table never
re-rendered while typing. With stable columns none of that is needed, so
it's gone.

Changes here:

- `UniversalTableCore.tsx`
- column defs are memoized on `props.columns`. Tables that pass new
columns every render behave as before; the rest stop remounting their
cells. This touches every `UniversalTable`, so it's worth a look outside
the languages modal too
- `FormLanguagesManager/`
- `TranslationsEditorCell` commits on every keystroke instead of on
blur. It still keeps a local draft, because react-query hands back the
new row a tick late and a fully controlled textarea would jump the caret
- `FormLanguagesManager` tracks unsaved changes with plain state,
dropping `tableHasUnsavedEditsRef`
- `SaveChangesButton` is deleted and inlined as a plain button, since
its local-asterisk trick only existed to dodge the remount
- `BasicFlow` is the only play test left. It types once and asserts
once, with no retry loop, so a lost keystroke fails the test instead of
being retried away. With the memo reverted it fails in all three
browsers

### 👀 Preview steps

1. â„šī¸ have an account and a pro... (continued)

10715 of 14050 branches covered (76.26%)

34106 of 40845 relevant lines covered (83.5%)

5.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39853100453.1 22 Oct 2026 09:01PM UTC 925
52.83
2 39853100453.2 22 Oct 2026 09:01PM UTC 925
49.23
3 39853100453.3 22 Oct 2026 09:02PM UTC 925
43.47
4 39853100453.4 22 Oct 2026 09:02PM UTC 927
54.05
5 39853100453.5 22 Oct 2026 09:03PM UTC 925
58.22
6 39853100453.6 22 Oct 2026 09:04PM UTC 927
44.74
7 39853100453.7 22 Oct 2026 09:04PM UTC 928
68.66
8 39853100453.8 22 Oct 2026 09:05PM UTC 927
50.47
9 39853100453.9 22 Oct 2026 09:06PM UTC 927
59.28
10 39853100453.10 22 Oct 2026 09:06PM UTC 930
71.06
Source Files on build 39853100453
  • Tree
  • List 930
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • dc48e545 on github
  • Prev Build on main (#39806112622)
  • Next Build on main (#39915801072)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc