iachat/app/javascript/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
..
api feat: new Captain Editor (#13235) 2026-01-21 13:39:07 +05:30
assets chore: Improve signup flow, reduce the number of inputs (#13350) 2026-01-22 18:47:42 -08:00
components feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
components-next feat: Add infinite scroll to contacts search page (#13376) 2026-01-27 18:55:19 -08:00
composables feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
constants chore: Improve signup flow, reduce the number of inputs (#13350) 2026-01-22 18:47:42 -08:00
helper feat: track copilot events (#13342) 2026-01-22 18:38:04 +05:30
i18n feat: Add infinite scroll to contacts search page (#13376) 2026-01-27 18:55:19 -08:00
mixins feat: allow configuring attachment upload limit (#12835) 2025-11-17 14:03:08 -08:00
modules chore: Improve compose new conversation form (#13176) 2026-01-13 18:52:10 +05:30
routes feat: Add infinite scroll to contacts search page (#13376) 2026-01-27 18:55:19 -08:00
store feat: Add infinite scroll to contacts search page (#13376) 2026-01-27 18:55:19 -08:00
stores feat: Voice Channel (#11602) 2025-12-19 12:41:33 -08:00
App.vue fix: Handle login when there are no accounts (#12816) 2025-11-07 10:14:59 +05:30
featureFlags.js feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00