iachat/app/javascript/dashboard/routes/dashboard
Pranav 7cddba2b08
feat: Add infinite scroll to contacts search page (#13376)
## Summary
- Add `has_more` to contacts search API response to enable infinite
scroll without expensive count queries
- Set `count` to the number of items in the current page instead of
total count
- Implement "Load more" button for contacts search results
- Keep existing contacts visible while loading additional pages

## Changes

### Backend
- Add `fetch_contacts_with_has_more` method that fetches N+1 records to
determine if more pages exist
- Return `has_more` in search endpoint meta response
- Set `count` to current page size instead of total count

### Frontend
- Add `APPEND_CONTACTS` mutation for appending contacts without clearing
existing ones
- Update search action to support `append` parameter
- Add `ContactsLoadMore` component with loading state
- Update `ContactsListLayout` to support infinite scroll mode
- Update `ContactsIndex` to use infinite scroll for search view
2026-01-27 18:55:19 -08:00
..
campaigns feat: WhatsApp campaigns (#11910) 2025-07-16 09:04:02 +05:30
captain fix: captain inbox modal shows wrong assistant data (#13302) 2026-01-19 18:31:46 +05:30
commands chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
companies feat: Add sorting by contacts count to companies list (#13012) 2026-01-09 15:20:08 -08:00
contacts feat: Add infinite scroll to contacts search page (#13376) 2026-01-27 18:55:19 -08:00
conversation feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
customviews chore: Update buttons in dashboard (#11145) 2025-03-31 17:21:32 -07:00
helpcenter chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
inbox feat: Display notification count in sidebar inbox item (#12324) 2025-09-01 15:55:09 +05:30
noAccounts fix: Handle login when there are no accounts (#12816) 2025-11-07 10:14:59 +05:30
notifications chore: Replace Thumbnail with Avatar (#12119) 2025-08-11 15:47:17 +05:30
settings feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
suspended chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
upgrade fix: Conditionally fetch limits and assistants for enterprise/cloud (#12099) 2025-08-04 15:06:58 -07:00
dashboard.routes.js feat: Companies page (#12842) 2025-11-18 15:29:15 +05:30
Dashboard.vue feat: Voice Channel (#11602) 2025-12-19 12:41:33 -08:00