feat(invitations): implement pending invitations feature with polling and dialog
Added functionality for managing pending invitations, including a polling mechanism to update the invitation count in real-time. Introduced a new dialog component for users to view and respond to their invitations without navigating away from their current context. Updated API endpoints for fetching and managing invitations, and enhanced the user interface with relevant internationalization support. Refs: #1303
This commit is contained in:
@@ -107,6 +107,11 @@ func (f *fakeMemberService) ListByUser(ctx context.Context, userID string) ([]*t
|
||||
func (f *fakeMemberService) ListByTenant(ctx context.Context, tenantID uint64) ([]*types.TenantMember, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (f *fakeMemberService) ListMembersPage(
|
||||
ctx context.Context, tenantID uint64, query string, page, pageSize int,
|
||||
) ([]*types.TenantMember, int64, error) {
|
||||
return nil, 0, nil
|
||||
}
|
||||
func (f *fakeMemberService) HasAnyMembers(ctx context.Context, tenantID uint64) (bool, error) {
|
||||
if f.failHasAny != nil {
|
||||
return false, f.failHasAny
|
||||
|
||||
Reference in New Issue
Block a user