Skip to content

fix: show invite link settings modal when clicking edit invite link in team members view#27917

Merged
anikdhabal merged 1 commit intomainfrom
link-settings-modal
Feb 13, 2026
Merged

fix: show invite link settings modal when clicking edit invite link in team members view#27917
anikdhabal merged 1 commit intomainfrom
link-settings-modal

Conversation

@anikdhabal
Copy link
Contributor

@anikdhabal anikdhabal commented Feb 13, 2026

Summary by cubic

Clicking “Edit invite link” in the Team Members view now opens the Invite Link Settings modal. The modal shows only when the team has an invite token, and closing it returns users to the invitation modal.

Written for commit 9f80de7. Summary will update on new commits.

@graphite-app graphite-app bot added the core area: core, team members only label Feb 13, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@paragon-review
Copy link

Paragon: tests updated

3 updated tests generated for this PR.

Updated Tests

  • InviteLinkSettingsModal unit tests — Tests for the InviteLinkSettingsModal component covering: rendering when open/closed, expiration options display, delete invite mutation with success/error callbacks, save expiration mutation with form submission, back/close behavior calling onExit, expiresInDays default value handling (number and undefined), and select option change updates.
  • TeamMembersView unit tests — Tests for the TeamMembersView component covering: rendering MemberList vs privacy warning based on permissions, InviteLinkSettingsModal presence/absence based on inviteToken, the full modal interaction flow (open invitation modal → click edit invite link → settings modal opens → back button closes settings and reopens invitation modal), prop forwarding to child components, and edge cases (null inviteToken, null expiresInDays, undefined permissions).
  • TeamListItem unit tests — Tests for the TeamListItem component covering: InviteLinkSettingsModal rendering when team has/lacks inviteToken, settings modal open/close flow triggered from the invitation modal's onSettingsOpen callback, onExit closing settings and reopening invitation modal, correct prop forwarding (token, teamId, expiresInDays), and basic rendering (team name, null team guard).

Accept Changes Open in Paragon

Details

Updated Tests

  • InviteLinkSettingsModal unit tests (unit)
  • TeamMembersView unit tests (unit)
  • TeamListItem unit tests (unit)

@anikdhabal anikdhabal enabled auto-merge (squash) February 13, 2026 03:57
@anikdhabal anikdhabal merged commit a9951df into main Feb 13, 2026
118 of 121 checks passed
@anikdhabal anikdhabal deleted the link-settings-modal branch February 13, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only ready-for-e2e size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants