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
Closed
Conversation
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
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
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
GitHubsettings category with a single section showing connection status and the linked GitHub account.useConnectUserGithub(re-running the install flow handles both).DELETE /api/users/@me/integrations/github/{installation_id}/client method (backend route already exists).user-github-integrationsandintegrationsso 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
Created with PostHog Code