Description
Problem: When users sent invitations from the Members section, the "Invited" counter didn't reflect the new count
immediately. Users had to navigate away and back to the Members section to see the updated number.
Solution: Added an onInvitationSuccess
callback prop to InviteDialogContainer
that triggers
refreshWorkspaceMembers
after successful invitations. This reuses the existing refresh logic to update the counter
immediately.
Impact: Small UI improvement - no breaking changes, backward compatible
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed