Skip to content

feat(code): add GitHub settings page to manage personal integration#2009

Closed
VojtechBartos wants to merge 2 commits intoposthog-code/fix-cloud-repo-picker-fallbackfrom
posthog-code/add-github-reconnect-option-to-settings
Closed

feat(code): add GitHub settings page to manage personal integration#2009
VojtechBartos wants to merge 2 commits intoposthog-code/fix-cloud-repo-picker-fallbackfrom
posthog-code/add-github-reconnect-option-to-settings

Conversation

@VojtechBartos
Copy link
Copy Markdown
Member

@VojtechBartos VojtechBartos commented May 4, 2026

Summary

Adds a dedicated GitHub entry under Settings so users can inspect, Connect, Reconnect, or Disconnect their personal GitHub integration — the one that authors cloud-task PRs as them.

  • New GitHub settings category with a single section showing connection status and the linked GitHub account.
  • Connect / Reconnect reuse useConnectUserGithub (re-running the install flow handles both).
  • Disconnect goes through a confirm dialog and calls a new DELETE /api/users/@me/integrations/github/{installation_id}/ client method (backend route already exists).
  • Cache invalidation covers both user-github-integrations and integrations so the cloud-task fallback re-evaluates immediately.

Scope is limited to the personal/user-level integration; the project-level GitHub block under Signals is untouched.

Prerequisite

Built on top of #1989 (cloud repo picker fallback fix). Merge that first.

Screenshot

Screenshot 2026-05-04 at 17 55 56

Created with PostHog Code

Adds a dedicated GitHub entry under Settings where users can connect,
reconnect, and disconnect their personal GitHub integration powering
cloud-task PR authoring.

Generated-By: PostHog Code
Task-Id: a0ecb9d8-786a-416d-9d1c-80dc690a6fdd
@VojtechBartos VojtechBartos self-assigned this May 4, 2026
Adds a read-only row beneath personal GitHub showing the team's
project-level integration status, connected repos, and a shortcut
to manage it under Signals.

Generated-By: PostHog Code
Task-Id: a0ecb9d8-786a-416d-9d1c-80dc690a6fdd
@VojtechBartos VojtechBartos deleted the posthog-code/add-github-reconnect-option-to-settings branch May 5, 2026 09:58
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