Skip to content

fix(feedback): prevents issue submission when no github account is co…#2184

Open
amonrperes wants to merge 1 commit into
CodeEditApp:mainfrom
amonrperes:bug-report-issue-is-crashing
Open

fix(feedback): prevents issue submission when no github account is co…#2184
amonrperes wants to merge 1 commit into
CodeEditApp:mainfrom
amonrperes:bug-report-issue-is-crashing

Conversation

@amonrperes

Copy link
Copy Markdown

…nfigured

Display an alert when users attempt to submit feedback without a connected GitHub account instead of trying to create the issue. Injects github account through parameter into viewModel.

Description

When an user attempts to submit feedback, but has no github account registered it will trigger the "No GitHub account" alert. The githubAccounts constant was removed from FeedbackModel as now it's used in FeedbackView to check wether the user has a github account connected. The account name now is passed to createIssue method through parameter.

Redirection to source control was not treated as it gets outside of the issue's scope.

Related Issues

🐞 CodeEdit crashes when doing a bug report

  • #ISSUE_NUMBER
    2174

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

image

…nfigured

Display an alert when users attempt to submit feedback without a connected GitHub account instead of trying to create the issue. Injects github account through parameter into viewModel.
@amonrperes

Copy link
Copy Markdown
Author

Waiting for your review @austincondiff , @lukepistrol

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