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

kobotoolbox / kpi / 14242803993
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 03 Apr 2025 12:59PM UTC
Jobs 1
Files 639
Run time 1min
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

03 Apr 2025 12:20PM UTC coverage: 80.849%. Remained the same
14242803993

push

github

web-flow
fix(formBuilder): Question Matrix settings crash DEV-39 (#5646)

### 📣 Summary

Opening settings for Question Matrix is possible again.

### 💭 Notes

I suspect the thing that broke it was #4403 and it was being broken for
the last year. The investigation into what should appear in the settings
lead me to believe that the `appearance` for `kobomatrix` is always
`'field-list'`, so without much refactor I fixed the problem.

The things I've changed in the code:
- The list of `appearance` types now has a list for `kobomatrix`
- In the `afterRender` callback of `appearance` I fixed how we select
current option, as there was a separate bug in there. In old code
appearance type was always a `string` (type name), and in new code it
can be also `string[]` (with first element being the type name), so we
can't do a simple comparison anymore.

### 👀 Preview steps

Bug template:
1. Open Form Builder
2. Add new row "Question Matrix"
3. Open "Settings" (top right "cog" icon button)
4. 🔴 [on main] notice that settings don't show up and there is error in
console
5. 🟢 [on PR] notice that settings do open correctly

6124 of 9717 branches covered (63.02%)

23286 of 28802 relevant lines covered (80.85%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14242803993.1 03 Apr 2025 12:59PM UTC 639
80.85
Source Files on build 14242803993
  • Tree
  • List 639
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3883bf13 on github
  • Prev Build on main (#14225121148)
  • Next Build on main (#14264318552)
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

© 2025 Coveralls, Inc