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

kobotoolbox / kpi / 24329898169 / 5
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1680-usernames
DEFAULT BRANCH: master
Ran 13 Apr 2026 07:01AM UTC
Files 909
Run time 22s
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

13 Apr 2026 06:54AM UTC coverage: 66.099% (+13.4%) from 52.749%
24329898169.5

push

github

web-flow
fix(sidebar): use counts and minimal-list APIs DEV-1772 (#6918)

### đŸ“Ŗ Summary

Use new API for Sidebar lists of projects (Deployed, Draft, and
Archived). This fixes a problem when user with more than 200 projects
was unable to see all of their projects in the Sidebar (previously it
was limited to 200 latest projects, prioritizing Deployed ones). Now
three groups use infinite scroll loading. We also fixed a problem with
sidebar serving always "My Projects" projects - now when user switches
to organization projects or a custom view, the sidebar reflects this
properly.

### 💭 Notes

Changes here:
- `AssetName` and `getAssetDisplayName` now works with
`AssetMinimalList`
- `BulkDeletePrompt` invalidates all sidebar related queries now
- `SidebarFormsList` has multiple changes:
- It now operates on context (`my-projects`, `my-org-projects`, or
`custom-view-projects`) which is resolved from current path
  - Has a utility function for invalidating all queries in sidebar
- Has a custom `useQuery` (instead of using orval hooks) that operates
on different function based on context
  - Reflux actions are now invalidating with utility function
- It now only fetches counts from new APIs (different counts API for
different context) and passes those to `SidebarFormsListCategory`
- `SidebarFormsListCategory` has multiple changes too:
  - It operates now on context and deployment status
- Instead of getting list of assets from parent, it fetches it now using
API
- Has a custom `useInfiniteQuery` (instead of using orval hooks) that
operates on different function based on context and is triggered by
`InfiniteScrollTrigger`
- The list of projects now always lead to `ROUTES.FORM`, as minimal list
endpoint doesn't serve permissions

### 👀 Preview steps

1. â„šī¸ Have an account with a lot of projects, ideally over 200 (use
kobo-fixture, or drag and drop a lot of small projects [many
small.zip](https://github.com/user-attachments/files/26484188/many.small.zip)
or some other id... (continued)

5383 of 12008 branches covered (44.83%)

23920 of 36188 relevant lines covered (66.1%)

0.66 hits per line

Source Files on job 24329898169.5
  • Tree
  • List 909
  • Changed 280
  • Source Changed 0
  • Coverage Changed 280
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24329898169
  • cf5ff31f on github
  • Prev Job for on main (#24329886474.1)
  • Next Job for on main (#24345784770.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