pvcnt / mergeable

A better inbox for GitHub pull requests
https://mergeable.pages.dev
MIT License
12 stars 3 forks source link

feat: Allow users to name connections to disambiguate them #12

Closed glossawy closed 5 months ago

glossawy commented 5 months ago

Just a proposal to allow naming connections. I setup two tokens:

  1. A connection with a token that has access to my personal profile
  2. A connection with a token that has access to an organization

Unfortunately, token introspection is very limited for github so viewer just gets the authenticated user which would be glossawy in both cases so the connections look identical. This is extremely simple in just adding an optional name field with no real validation, I don't think it needs to be fancy.

I don't see any way of getting the user the token grants access to with github's existing REST or GraphQL API.

Before: image

After: image