refactor(GroupMembersScreen): enhance member list management with remote data source
All checks were successful
Frontend CI / build-and-push-web (push) Successful in 2m45s
Frontend CI / ota-android (push) Successful in 13m15s
Frontend CI / build-android-apk (push) Successful in 1h1m10s

- Introduced a new remote data source for managing group members using cursor pagination.
- Updated member list loading logic to utilize the new data source, improving data synchronization and loading states.
- Enhanced member enrichment process by integrating user profiles into the member list.
- Refactored related imports and hooks for better organization and clarity.
This commit is contained in:
lafay
2026-03-23 23:38:53 +08:00
parent c98f1917f7
commit aaf53d1c3b
8 changed files with 205 additions and 19 deletions

View File

@@ -571,7 +571,7 @@ class MessageService {
try {
const response = await api.get<CursorPaginationResponse<ConversationResponse>>(
'/conversations/cursor',
{ params }
params
);
const raw = response.data;
return {
@@ -604,7 +604,7 @@ class MessageService {
try {
const response = await api.get<any>(
`/conversations/${encodeURIComponent(conversationId)}/messages/cursor`,
{ params }
params
);
const raw = response.data;
return {