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

kobotoolbox / kpi / 22861727720 / 2
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 09 Mar 2026 04:26PM UTC
Files 896
Run time 25s
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

09 Mar 2026 03:46PM UTC coverage: 82.08% (+2.3%) from 79.811%
22861727720.2

push

github

web-flow
feat(formHistory): create and use infinite scroll component DEV-37 DEV-1796 (#6784)

### đŸ“Ŗ Summary

Change Project → Form → Form History component to operate on new
endpoint and use infinte scroll. We also include undeployed version in
the list, so users now can clone them too.

### 💭 Notes

Changes here:
- Created `InfiniteScrollTrigger.tsx` component that is a nice way to
have inifinite scroll in any scrollable container thanks to
`useIntersection` hook
- Added sticky header option to `UniversalTable` through `maxHeight`
prop (useful for infinite scroll)
- Added optional bottom content area to `UniversalTable` so that
`InfiniteScrollTrigger` could be put in there and do its magic
- Created a new `FormHistory.tsx` component to replace code that was
rendering list of deployed versions at `formLanding.js` - it is using
all the new things and orval to get data, plus `useInfiniteQuery` hook
that makes all the infinite scrolling much easier. It also uses
`UniversalTableCore`, not `UniversalTable`, because we handle query
ourselves.
- Form history now displays undeployed versions too, and now users can
clone them. Because of limitations and pagination of results
- Removed old code from `formLanding.js`
- Added new `reload` icon

Also note, this PR introduces an universal way to handle infinite
scrolling with react-query in the codebase. It should serve as an
example. If things are not perfectly clear or if we need more comments,
or storybook story, please point this out to me :)

### 👀 Preview steps

Infinite scrolling and things just work:

1. â„šī¸ have an account and a project with 15-18 versions
2. Go To Project → Form
3. Toggle "Show full history"
4. đŸŸĸ Notice that a table appears with ~10 items being visible. Last item
is not entirely visible. There is a scrollbar.
5. Scroll down to the bottom of the table
6. đŸŸĸ Notice that (for a split second most probably) a spinner appears
and then more rows are added to the table
7. Scroll down to the bottom of the ta... (continued)

7585 of 11686 branches covered (64.91%)

28912 of 35224 relevant lines covered (82.08%)

0.82 hits per line

Source Files on job 22861727720.2
  • Tree
  • List 896
  • Changed 34
  • Source Changed 0
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22861727720
  • 0fe1f56a on github
  • Prev Job for on main (#22857255360.1)
  • Next Job for on main (#22870999549.6)
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