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

[GH-669]: Add org selector to create issue modal #675

Closed
wants to merge 17 commits into from

Conversation

thoratvinod
Copy link
Contributor

@thoratvinod thoratvinod commented May 5, 2023

Summary

  1. Added endpoints for listing organizations and listing repositories for specific organizations.
  2. Added an additional selector for selecting organizations, and made related changes in actions & reducers.

Screenshots

If organizations are present:
image

If no organization is present:
image

Ticket Link

Fixes #669

@thoratvinod thoratvinod requested a review from hanzei as a code owner May 5, 2023 17:59
@mattermost-build
Copy link
Contributor

Hello @thoratvinod,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@thoratvinod thoratvinod marked this pull request as draft May 5, 2023 18:00
@thoratvinod thoratvinod marked this pull request as ready for review May 6, 2023 04:08
@thoratvinod thoratvinod changed the title GH-669: Improve performance of create issue modal [GH-669]: Improve performance of create issue modal May 6, 2023
@hanzei hanzei requested review from mickmister and removed request for hanzei May 9, 2023 19:49
@hanzei hanzei added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels May 9, 2023
Copy link
Contributor

@mickmister mickmister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this great contribution @thoratvinod! I have some comments regarding the GitHubOrg config setting, and some other suggestions. Overall looking good 👍

webapp/src/reducers/index.js Outdated Show resolved Hide resolved
webapp/src/client/client.js Outdated Show resolved Hide resolved
server/plugin/api.go Show resolved Hide resolved
@mickmister mickmister changed the title [GH-669]: Improve performance of create issue modal [GH-669]: Add organization selector to create issue modal May 17, 2023
@mickmister mickmister changed the title [GH-669]: Add organization selector to create issue modal [GH-669]: Add org selector to create issue modal May 17, 2023
@codecov-commenter
Copy link

codecov-commenter commented May 20, 2023

Codecov Report

Attention: 98 lines in your changes are missing coverage. Please review.

Comparison is base (8cf783f) 15.49% compared to head (3c5d9cd) 15.27%.
Report is 2 commits behind head on master.

Files Patch % Lines
server/plugin/api.go 2.00% 98 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #675      +/-   ##
==========================================
- Coverage   15.49%   15.27%   -0.23%     
==========================================
  Files          15       15              
  Lines        5737     5833      +96     
==========================================
+ Hits          889      891       +2     
- Misses       4806     4900      +94     
  Partials       42       42              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hanzei hanzei requested a review from mgdelacroix May 21, 2023 07:28
Copy link
Contributor

@mickmister mickmister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution @thoratvinod 👍 I have one more request to avoid returning the current user's login in the case where we have the GitHubOrg config setting set. Otherwise LGTM

server/plugin/api.go Outdated Show resolved Hide resolved
server/plugin/api.go Show resolved Hide resolved
server/plugin/api.go Outdated Show resolved Hide resolved
@mickmister
Copy link
Contributor

@thoratvinod Thank you for your patience on this

@hanzei
Copy link
Contributor

hanzei commented Jul 6, 2023

@calebroseland @mgdelacroix Gentle reminder to review this PR

@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@Kshitij-Katiyar
Copy link
Contributor

@thoratvinod Can you please fix the merge conflicts.

@hanzei
Copy link
Contributor

hanzei commented Nov 9, 2023

@thoratvinod Do you want to continue working on this issue?

@thoratvinod
Copy link
Contributor Author

thoratvinod commented Nov 15, 2023

@hanzei yes, I want to continue this, will take 2-3 weeks to get back on this. Is that fine?

@hanzei
Copy link
Contributor

hanzei commented Nov 16, 2023

Sure, we are not in a hurry. Thanks for coming back to the PR @thoratvinod 👍

@hanzei hanzei removed 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Nov 30, 2023
@hanzei
Copy link
Contributor

hanzei commented Dec 5, 2023

Thanks for updating the PR @thoratvinod 👍

CI complains about two errors:

/home/runner/work/mattermost-plugin-github/mattermost-plugin-github/webapp/src/reducers/index.js
Error:   243:5  error  'yourPrsDetails' is not defined   no-undef
Error:   244:5  error  'yourAssignments' is not defined  no-undef

I suppose the changes in #626 caused actions to not longer exist.

@mattermost-build
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@thoratvinod
Copy link
Contributor Author

Hey @hanzei , @mickmister ,
I've got some personal stuff going on and won't be able to keep up with this issue. Thanks for understanding

@mickmister
Copy link
Contributor

Thanks for your work on this @thoratvinod! I'm closing for now and mentioned this PR on the linked ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve performance of Create Issue modal repository selector
6 participants