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

kobotoolbox / kpi / 26403743436
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 25 May 2026 01:51PM UTC
Jobs 10
Files 916
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

25 May 2026 01:47PM UTC coverage: 82.033% (+0.002%) from 82.031%
26403743436

push

github

web-flow
fix(frontend): ensure proper hash navigation in few components DEV-1079 (#6999)

### đŸ“Ŗ Summary

Clicking the app logo, the "Back to REST Services" button, or the "See
plans" link no longer reloads the whole page.

### 💭 Notes

KPI uses a hash router (`createHashRouter`). Several navigation
call-sites were bypassing it via `<a href='/'>`,
`window.location.assign('/#/...')`, or `window.location.assign('#' +
route)`. These force a document-level navigation, causing full page
reloads, React remounts, and React Query cache busts. Fixed call-sites:

- `mainHeaderLogo` — `<a href='/'>` → `<Link
to={PROJECTS_ROUTES.MY_PROJECTS}>`
- `RESTServiceLogs` —
`window.location.assign('/#/forms/â€Ļ/settings/rest')` →
`router!.navigate('/forms/â€Ļ/settings/rest')`
- `YourPlan` — `window.location.assign('#' + ACCOUNT_ROUTES.PLAN)` →
`navigate(ACCOUNT_ROUTES.PLAN)` (via `useNavigate`)

### 👀 Preview steps

1. â„šī¸ Log in with an account that has at least one project and a REST
service hook configured.
2. **Logo:**
   1. Navigate to any inner route (e.g. Library).
2. 🔴 [on main] Click the KoboToolbox logo in the header — notice the
full page reloads.
3. đŸŸĸ [on PR] Click the logo — notice the app navigates to Projects
without a reload.
3. **REST Services back button:**
1. Open a project → Settings → REST Services → click into any hook's log
view.
2. 🔴 [on main] Click "Back to REST Services" — notice the full page
reloads.
3. đŸŸĸ [on PR] Click "Back to REST Services" — notice in-app navigation,
no reload.
4. **Your Plan "See plans":**
   1. Go to Account → Your Plan (billing section).
   2. 🔴 [on main] Click "See plans" — notice the full page reloads.
3. đŸŸĸ [on PR] Click "See plans" — notice in-app navigation to the Plans
tab, no reload.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

9237 of 12470 branches covered (74.07%)

30550 of 37241 relevant lines covered (82.03%)

5.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26403743436.1 25 May 2026 01:51PM UTC 912
52.0
2 26403743436.2 25 May 2026 01:51PM UTC 912
53.64
3 26403743436.3 25 May 2026 01:52PM UTC 914
53.23
4 26403743436.4 25 May 2026 01:53PM UTC 912
52.25
5 26403743436.5 25 May 2026 01:53PM UTC 914
54.89
6 26403743436.6 25 May 2026 01:54PM UTC 914
66.11
7 26403743436.7 25 May 2026 01:54PM UTC 912
59.46
8 26403743436.8 25 May 2026 01:55PM UTC 914
60.59
9 26403743436.9 25 May 2026 01:55PM UTC 914
53.6
10 26403743436.10 25 May 2026 01:55PM UTC 916
68.41
Source Files on build 26403743436
  • Tree
  • List 916
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5c8deafc on github
  • Prev Build on main (#26401549835)
  • Next Build on main (#26441979978)
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