fix(sharing): preserve invitation completion state#1359
Merged
kunickiaj merged 1 commit intoJul 25, 2026
Conversation
12 tasks
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
12 tasks
kunickiaj
marked this pull request as ready for review
July 25, 2026 10:01
kunickiaj
changed the base branch from
07-25-feat_sharing_authorize_identity-owned_device_invites
to
main
July 25, 2026 15:01
kunickiaj
force-pushed
the
07-25-fix_sharing_preserve_invitation_completion_state
branch
from
July 25, 2026 15:01
ff92094 to
b327990
Compare
Merge activity
|
kunickiaj
force-pushed
the
07-25-fix_sharing_preserve_invitation_completion_state
branch
from
July 25, 2026 15:05
b327990 to
523ee06
Compare
kunickiaj
changed the base branch from
graphite-base/1359
to
07-25-feat_sharing_authorize_identity-owned_device_invites-v2
July 25, 2026 15:05
kunickiaj
force-pushed
the
graphite-base/1359
branch
from
July 25, 2026 15:05
ab64d8d to
e983b74
Compare
12 tasks
graphite-app
Bot
changed the base branch from
07-25-feat_sharing_authorize_identity-owned_device_invites-v2
to
main
July 25, 2026 15:05
kunickiaj
changed the base branch from
graphite-base/1359
to
07-25-feat_sharing_authorize_identity-owned_device_invites-v2
July 25, 2026 15:10
kunickiaj
changed the base branch from
07-25-feat_sharing_authorize_identity-owned_device_invites-v2
to
graphite-base/1359
July 25, 2026 15:10
kunickiaj
force-pushed
the
07-25-fix_sharing_preserve_invitation_completion_state
branch
from
July 25, 2026 15:11
523ee06 to
cf78ee7
Compare
kunickiaj
deleted the
07-25-fix_sharing_preserve_invitation_completion_state
branch
July 25, 2026 15:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Keep successful Team and add-device invitation acceptance visible in the open dialog instead of resetting to the paste form.
The dialog now enters a stable, focused completion state with truthful restart guidance, removes all repeat review/accept controls, guards against duplicate submissions, and resets only after explicit close/reopen. Project-share completion behavior remains unchanged. The raw close glyph is replaced with the shared accessible close-button primitive, and the result uses a restrained responsive success surface consistent with existing theme tokens.
This fixes the dogfood failure where successful acceptance looked like a reset or failed operation.
Type of Change
Testing
pnpm run tsc,pnpm run lint,pnpm run test)Additional validation:
pnpm exec vitest run packages/ui/src/tabs/recipient-policy-invitations.test.tsxpnpm --filter @codemem/ui typecheckpnpm --filter @codemem/ui buildChecklist
pnpm run lintpasses for touched files)