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

kobotoolbox / kpi / 39280061434
65%
master: 76%

Build:
Build:
LAST BUILD BRANCH: release/2.026.43
DEFAULT BRANCH: master
Ran 19 Oct 2026 03:47PM UTC
Jobs 10
Files 921
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

19 Oct 2026 03:42PM UTC coverage: 83.42% (-0.002%) from 83.422%
39280061434

push

github

web-flow
feat(auth): update email flow DEV-1875 (#7694)

### đŸ“Ŗ Summary

Changing your account email address gives better feedback: the buttons
stay busy while a change is in flight, and a refusal from the server is
shown instead of being swallowed.

### 💭 Notes

Frontend side of DEV-1830. The endpoint path didn't change, so this is
mostly a migration off the deprecated fetch helpers onto the generated
Orval hooks.

Changes here:

- `account/security/email/`
  - `emailSection.api.ts` — deleted
- `emailSection.component.tsx` — `useMeEmailsList` +
`useMeEmailsCreate`, field errors render inline, buttons disable while a
request is in flight
- `useRemoveUnverifiedEmails.ts` — hand-written hook for `DELETE
/me/emails/`, because Orval doesn't have one (backend task to add it:
DEV-3091)
  - `emailSection.stories.tsx` — two simple test scenarios
- `api/`
- `onErrorDefaultHandler.ts` — new `getFieldErrors(error, field)`, with
unit tests. `ResendVerificationLink` had its own copy of this; both use
the shared one now.
- `mutation-defaults/user-team-organization-usage.ts` — email list
invalidation
- `endpoints/userEmails.mocks.ts` — for tests
- `stores/profile.mocks.ts` — `hydrateProfileStoreForStories()` takes
field overrides, for stories that read something the `/me/` mock leaves
blank (e.g. current address).

Deleted the "Primary email missing" error. The mutator throws on
anything but a 2xx, and the only 2xx is a 201 whose schema requires
`primary`, so that branch was unreachable.

### 👀 Preview steps

1. â„šī¸ you need an account with a confirmed email address and access to
that mailbox
2. âąī¸ **log in right before each attempt.** The server refuses an email
change unless you typed your password (and 2FA code, if enabled) in the
last 5 minutes — if you get a red "Re-authentication is required for
this action." toast, that's the clock, not a bug. Log out, log back in,
carry on. This will be handled in DEV-1971.
3. go to Account → Security → Email address
4. type a differen... (continued)

10620 of 13946 branches covered (76.15%)

33810 of 40530 relevant lines covered (83.42%)

5.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39280061434.1 19 Oct 2026 03:47PM UTC 916
52.86
2 39280061434.2 19 Oct 2026 03:48PM UTC 916
43.48
3 39280061434.3 19 Oct 2026 03:48PM UTC 918
44.75
4 39280061434.4 19 Oct 2026 03:48PM UTC 916
49.6
5 39280061434.5 19 Oct 2026 03:49PM UTC 918
54.1
6 39280061434.6 19 Oct 2026 03:51PM UTC 916
58.31
7 39280061434.7 19 Oct 2026 03:51PM UTC 918
50.85
8 39280061434.8 19 Oct 2026 03:52PM UTC 918
59.38
9 39280061434.9 19 Oct 2026 03:52PM UTC 919
68.07
10 39280061434.10 19 Oct 2026 03:54PM UTC 921
70.5
Source Files on build 39280061434
  • Tree
  • List 921
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 021caa29 on github
  • Prev Build on main (#39260195415)
  • Next Build on main (#39292791416)
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