Skip to content

Invitations: drop the local-storage first-run popup; show only for a signed-in user with no tenant access #1721

Closed

Description

@mstomar125

Separate issue — not part of the Settings-screen work.

Problem

The Invitations modal currently appears on launch driven by local-storage first-run state, so it pops for users who don't need it (and its content can error when the daemon isn't signed in — e.g. list_joinable_collections 401 when signed out/expired).

Change

  • Remove the local-storage-based launch popup.
  • Show the invitations prompt only when a signed-in user has no tenant/collection access yet (i.e. they've authenticated but aren't a member of anything) — the one case where they actually need to redeem an invite or request to join.
  • Otherwise, invitations live only in the Settings → Invitations section (see the Settings-screen issue).

Activity

  1. self-assigned this
    on Jul 28, 2026
  2. mstomar125 commented on Jul 28, 2026

    @mstomar125
    ContributorAuthor

    Picking this up (mstomar125) — removing the local-storage-driven first-run invitations popup and instead showing the invitations prompt only when a signed-in user has authenticated but has no tenant/collection access yet (the one case they need to redeem/request an invite); otherwise invitations live only in the Settings → Invitations section.

  3. mstomar125 commented on Jul 28, 2026

    @mstomar125
    ContributorAuthor

    Resolved in #1776 (merged). Removed the local-storage first-run auto-open of the invitations modal; it now auto-shows only when a signed-in user with sync active has, after collections have loaded, no collection access at all — with a hasLoaded flag preventing a pre-load flash for users who do have access. Dismiss suppresses it for the session; sign-out re-arms it. Nothing queries the daemon while signed out. The account-menu → Invitations path is unchanged. +8 tests; full frontend suite + svelte-check green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions