Skip to content

Allow issues to be submitted using the user's GitHub username in Collabocate #15

@Ifycode

Description

@Ifycode

Issue description

Any time you submit an issue ticket via the Collabocate plugin (when dealing with a collabo community repo and using the community GitHub token), the username @collabo-user always shows up as the person who submits on the issue tickets. The problem with this is that we cannot identify the particular user who submits an issue. We only want @collabo-user to be used to submit the ticket if user does not have a GitHub account or specify that they have.

Expected behaviour

  • Users that have GitHub account and specify/authorize GitHub to use their account, should be able to submit issue tickets with their own user name on the issue, to show that they authored it.
  • Users that do not have a GitHub account or didn't specify/authorize GitHub to use their account, should retain the use of @collabo-user as the author of the issue ticket, to show it's by anonymous user.

Screenshot

Image

Additional context

Testing checklist

Note (to contributor taking on this task assignment): Add the testing checklist below (without this note) to your pull request when submitting your fix. This will guide (you and) the contributors who will review your fix to know what is important to check or test for.

  • Users that have GitHub account and authorized Github to use it, are now able to submit issue tickets with their own user name on the issue, to show that they authored it.
  • Users that do not have a GitHub account or that didn't specify/authorize GitHub to use their account, retain the use of @collabo-user as the author of the issue ticket, to show it's by anonymous user.
  • I certify that I ran my checklist

Metadata

Metadata

Projects

Status

Tickets In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions