Skip to content

Commit 03fed34

Browse files
feat(playground): open device via grant request
1 parent cc71524 commit 03fed34

6 files changed

Lines changed: 231 additions & 97 deletions

File tree

examples/playground/src/playground/components/PeersPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function PeersPanel({
9595
title={
9696
authEnabled && !(authCanIssue || authCanDelegate)
9797
? "Verify-only tabs can’t mint invites. Open a minting peer (or import a grant with share permission)."
98-
: "New device (isolated): separate storage, auto-invite"
98+
: "New device (isolated): separate storage, auto-grant"
9999
}
100100
>
101101
<MdLockOutline className="text-[16px]" />
@@ -133,4 +133,3 @@ export function PeersPanel({
133133
</div>
134134
);
135135
}
136-

examples/playground/src/playground/components/ShareSubtreeDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function ShareSubtreeDialog(props: ShareSubtreeDialogProps) {
209209
disabled={authBusy || !authEnabled || !(authCanIssue || authCanDelegate)}
210210
title={
211211
authCanIssue || authCanDelegate
212-
? "Open an isolated device tab and auto-import the invite"
212+
? "Open an isolated device tab and auto-grant access"
213213
: "This tab can’t mint invites (verify-only)"
214214
}
215215
>

examples/playground/src/playground/components/TreePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export function TreePanel({
249249
title={
250250
authEnabled && !(authCanIssue || authCanDelegate)
251251
? "Verify-only tabs can’t mint invites. Open a minting peer (or import a grant with share permission)."
252-
: "New device (isolated): separate storage (no shared keys/private-roots). Auto-invite; Alt+click opens join-only."
252+
: "New device (isolated): separate storage (no shared keys/private-roots). Auto-grant; Alt+click opens join-only."
253253
}
254254
aria-label="New device (isolated)"
255255
>

0 commit comments

Comments
 (0)