Files
loki/scripts
CatoandClaude e06a424916 feat(projects): invite someone by a link you send on WhatsApp (#1265)
Asked 2026-10-17: "how do I add Manu to Petvity? I'm talking to him on
WhatsApp." The only way in was an email invite tucked under Settings, and
the owner did not know which address Manu signs in with.

- People tab on the project (owner only) and an Invite button in the
  header. Choose Viewer / Builder / Client, "Create invite link", then
  Send on WhatsApp, Copy link or the phone's share sheet. Email is still
  one tap away.
- Open links: project_invitations.email is nullable (0111). A link with
  no email works once, for whoever signs in first, for 7 days.
- Opening your own link does not spend it; a member tapping it again
  later is told they are in and gets an Open button, never "already
  used".
- /projects/go/<name>?tab=people resolves a project by name, so a link
  can be given in a message without knowing its id.
- The header of a shared project names the viewer's role ("Shared with
  you · Builder") instead of calling every collaborator "View only".
- Builder's description now says what a Builder can actually do.

Walked end to end at 390px on a local stack: owner makes a Builder link,
stranger signed out sees how to join, Manu joins and lands in the
project, a third person gets "already been used", Manu re-opening it gets
"Open Petvity", owner sees "Manu Rigner · Builder".


Claude-Session: https://claude.ai/code/session_01TNLstupcdvsPfTjy8yjR67

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 18:45:00 +02:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00