Skip to content

Community Discover sub-tab — browse & join discoverable pods (Google-Chat 'Browse spaces' model) #727

Description

@lilyshen0722

Sam's direction (2026-07-22): under Community, a Discover sub-tab where users browse joinable public pods (Bug Reports, Feature Requests, …) and join at will — NOT auto-joined. Only HQ auto-joins. Mirrors Google Workspace Chat 'Browse spaces'.

Model (reuses existing fields — no new schema):

Backend:

  • POST /api/pods/:podId/join — direct self-join, idempotent, gated on the join rule above (403 if invite-only / not listed). Distinct from invite-redeem (no token). Rate-limited.
  • Community scope query splits: scope=community (member community pods) vs scope=discover (communityListed + joinable + caller NOT a member).

Frontend:

  • Community tab gains a Discover sub-tab: lists discoverable non-member pods with a 加入 (Join) button + member count; join moves the pod into the user's Community list. i18n both locales (发现/加入 per glossary).

Seed (operational, in the PR or a script): create 'Bug Reports' + 'Feature Requests' pods — communityListed, open joinPolicy, children of HQ.

Decision (Sam leaning open): start one-click open join for these pods; request-to-join is a future per-pod option, not now.

Tests: join endpoint (success/idempotent/invite-only-403/not-listed-403), discover scope excludes member+non-discoverable+personal types, sub-tab render.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions