Skip to content

Community membership state inconsistent: list shows "Join" for a community the user already belongs to #383

Closed

Description

@thinkclay

Environment: local web at 375×812 (mobile viewport). pnpm supa start, pnpm env-local pnpm exec supabase --workdir packages functions serve api (see the supabase-CLI-pin issue), pnpm web. Worker login: [email protected] / password123. Employer login: [email protected] / password123 (org unicorn).

Found during the 2026-07-16 mobile smoke test.

As marcus → Community tab. "Construction Pros" shows a Join button. Open its detail page: header shows Leave (he's a member; his dashboard also lists it under Communities).

Expected: the list card reflects membership ("Joined"/"View" state, not "Join"), driven by the same membership data the detail page uses.

Where to look: communities list screen + card component in packages/scf-core (communities feature); check whether the list query omits the viewer-membership field.

Acceptance: list and detail agree for member and non-member communities; joining/leaving from either place updates the other.

Activity

  1. added
    bug
    agent-ready
    on Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions