Public: anyone can read this; the crew can change it.
Revoking an invite link in the terminal asks first: `x` names the link, `y` revokes, `n` or esc keeps it open #7960
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: a revoked invite cannot be reopened (the person holding it is shut out until a new one is minted), so the terminal asks before it does it, as its own
salready asks before signup changes.Today
src/tui/screens/invites.tsrevokes the selected open link the momentxis pressed.Done looks like:
xon an open link opensconfirmScreen(fromsrc/tui/screens/common.ts,yesNo: true) titled "Revoke invite <id>?" with one body line saying when it expires and that whoever holds it can no longer sign up with it.y(or the Revoke button) revokes through the action and the line reads "Revoked <id>." as today;nor esc revokes nothing and the link is still open.xon a link that is not open saysINVITE_NOT_OPENas today, without a confirm.test/tui-invites.test.ts: the existing revoke test pressesyafterx; a new test pressesxthennand proves the link is still open. The new test fails without the change.bun test test/tui-invites.test.tspasses.Files: src/tui/screens/invites.ts, test/tui-invites.test.ts Risks: the minted link is shown once until the next key; the confirm must not bring it back. Brief: a builder who knows the terminal screens.