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

kobotoolbox / kpi / 40472458513
57%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 27 Oct 2026 08:20AM UTC
Jobs 10
Files 930
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

27 Oct 2026 08:17AM UTC coverage: 83.56%. Remained the same
40472458513

push

github

web-flow
refactor(account): make AccountFieldsEditor more type safe DEV-2880 (#7735)

### đŸ—’ī¸ Checklist

1. [x] run linter locally
2. [x] update developer docs (API, README, inline, etc.), if any
3. [x] for user-facing doc changes create a Zulip thread at `#Support
Docs Updates`, if any
4. [x] draft PR with a title `<type>(<scope>)<!>: <title> DEV-1234`
5. [x] assign yourself, tag PR: at least `Front end` and/or `Back end`
or `workflow`
6. [x] fill in the template below and delete template comments
7. [x] review thyself: read the diff and repro the preview as written
8. [x] open PR & confirm that CI passes & request reviewers, if needed
9. [ ] act on any greptile review below a 5/5 score or leave comment
explaining why you won't
10. [ ] delete this checklist section from the final squash commit
before merging

### 💭 Notes

Second half of DEV-2880. Makes the compiler complain if
`AccountFieldsEditor` misses a new added field. Also simplified it a
bit.

Changes here:

- `accountFieldsEditor.component.tsx`
- every field is now listed once in a `Record<UserFieldName, â€Ļ>` render
map, in display order. Add a field to `AccountFieldsValues` and the
build fails until the editor handles it. `require_auth` is `null`, since
this form doesn't edit it
- `select()`, `socialInput()`, `labelProps()` and `textProps()` makes
code more DRY
- the `fieldCount++` comma-operator trick (and the essay explaining it)
is now a plain loop over a `ROW_PAIRS` map that puts in the spacers
  - the organization rules all live in `isShown()`
- `accountFieldsEditor.stories.tsx` (new): the editor had no stories of
its own. Now it has few

### 👀 Preview steps

1. â„šī¸ have an account, on an instance with all user metadata fields
enabled (Django admin → Constance → `USER_METADATA_FIELDS`)
2. go to Account Settings → Profile
3. đŸŸĸ notice the fields show exactly as on main: Full name and Gender
side by side, then Country and City, Sector and Organization type,
Organization name and website, then Bio, the... (continued)

10726 of 14056 branches covered (76.31%)

34157 of 40877 relevant lines covered (83.56%)

5.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40472458513.1 27 Oct 2026 08:20AM UTC 925
43.47
2 40472458513.2 27 Oct 2026 08:23AM UTC 925
52.85
3 40472458513.3 27 Oct 2026 08:23AM UTC 927
44.73
4 40472458513.4 27 Oct 2026 08:24AM UTC 927
50.47
5 40472458513.5 27 Oct 2026 08:24AM UTC 927
54.07
6 40472458513.6 27 Oct 2026 08:26AM UTC 925
58.31
7 40472458513.7 27 Oct 2026 08:27AM UTC 927
59.37
8 40472458513.8 27 Oct 2026 08:27AM UTC 928
68.67
9 40472458513.9 27 Oct 2026 08:29AM UTC 930
71.08
10 40472458513.10 27 Oct 2026 08:45AM UTC 925
49.23
Source Files on build 40472458513
  • Tree
  • List 930
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c876a5c5 on github
  • Prev Build on main (#40470433561)
  • Next Build on main (#40473186165)
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