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

kobotoolbox / kpi / 26403743436 / 10
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1680-usernames
DEFAULT BRANCH: master
Ran 25 May 2026 01:55PM UTC
Files 916
Run time 39s
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: 68.406% (+2.3%) from 66.112%
26403743436.10

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>

7004 of 12455 branches covered (56.23%)

25475 of 37241 relevant lines covered (68.41%)

0.68 hits per line

Source Files on job 26403743436.10
  • Tree
  • List 916
  • Changed 40
  • Source Changed 0
  • Coverage Changed 40
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26403743436
  • 5c8deafc on github
  • Prev Job for on main (#26401549835.7)
  • Next Job for on main (#26441979978.1)
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