Skip to content

Add persistent Community navigation - #699

Merged
lilyshen0722 merged 2 commits into
mainfrom
codex/community-nav
Jul 22, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
codex/community-nav

Conversation

@lilyshen0722

@lilyshen0722 lilyshen0722 commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a config-gated Community item to the persistent v2 nav rail
  • probe the existing membership-gated pod endpoint and send members directly to Commonly HQ
  • send non-members, anonymous 401s, and network failures to the public in-app invite preview/redeem route
  • keep /v2/community outside the auth wrapper so logged-out visitors reach the invite funnel instead of the login wall
  • pass hosted pod/invite configuration through Vite, Docker, and Deploy Dev while leaving self-hosted rails unchanged by default
  • reuse existing rail and empty-state styles; no new CSS, badges, settings, or backend endpoint

Configuration

  • REACT_APP_COMMUNITY_POD_ID gates whether the rail item renders
  • REACT_APP_COMMUNITY_INVITE_TOKEN supplies the non-member destination
  • Deploy Dev uses Commonly HQ pod 6a5fe677306155f677c26abf and public invite token 7b91255f18ae3c0ae3721707a6613731

Verification

  • Community navigation/routing tests: configured and unconfigured rail, member redirect, non-member redirect, and anonymous 401 to public invite preview
  • focused v2 regression tests: 8/8 passed across Community nav, feedback menu, and v2 routing
  • focused ESLint: passed
  • production Vite build with both config values: passed
  • git diff --check: passed
  • real browser, 1280x900: Community visible in the rail with a 44px target; no overflow; click reached exact invite route
  • real browser, 390x844: Community visible in the 64px mobile rail with a 44px target; no overflow; click reached exact invite route

Existing baseline

Full frontend typecheck still reports the three pre-existing errors in V2GithubPrCard.tsx and V2MessageBubble.tsx; no changed file reports a type or lint error.

@lilyshen0722
lilyshen0722 merged commit f9ca212 into main Jul 22, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the codex/community-nav branch July 22, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant