Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Connect UI (post-authorize) #70378

Closed
8 tasks
mpkelly opened this issue Nov 24, 2022 · 0 comments · Fixed by #73030
Closed
8 tasks

Created Connect UI (post-authorize) #70378

mpkelly opened this issue Nov 24, 2022 · 0 comments · Fixed by #73030
Assignees

Comments

@mpkelly
Copy link
Contributor

mpkelly commented Nov 24, 2022

Details

After connecting to GitHub, a connection should be available in /me/connections that looks like this:

"connections": [
      {
        "ID": 28746642,
        "user_ID": 219393573,
        "type": "other",
        "service": "github",
        "label": "GitHub",
         ...
      }
    ]

This endpoint should be queried and if a connection exists with service === 'github', then the Connect Branch UI below can be shown.

connect_branch

Checklist

  • UI looks like the mock-up
  • Works for RTL
  • This UI is shown conditionally. If no connection exists, the Authorize UI should be shown instead.
  • The server can return a list of repos for the connection
  • The server can return a list of branches for the selected repo
  • The user can click "Connect' if a repo and branch are selected, which then calls the API to register a webhook event handler for the repo.
  • The selected repo and branch and persisted on the server
  • User can specify a base path (defaults to root)

Related

No response

@mpkelly mpkelly changed the title Created Connected UI Created Connect UI (post-authorize) Nov 25, 2022
@mpkelly mpkelly changed the title Created Connect UI (post-authorize) Created Connect UI (post-authorize) - happy path Dec 21, 2022
@mpkelly mpkelly changed the title Created Connect UI (post-authorize) - happy path Created Connect UI (post-authorize) Dec 21, 2022
@vykes-mac vykes-mac self-assigned this Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants