Skip to content

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

Closed
thoratvinod wants to merge 17 commits into
mattermost:masterfrom
thoratvinod:issue-669
Closed

[GH-669]: Add org selector to create issue modal#675
thoratvinod wants to merge 17 commits into
mattermost:masterfrom
thoratvinod:issue-669

Conversation

@thoratvinod

@thoratvinod thoratvinod commented May 5, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

@mickmister mickmister left a comment

Copy link
Copy Markdown
Contributor

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 👍

Comment thread webapp/src/reducers/index.js Outdated
Comment thread webapp/src/client/client.js Outdated
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
Comment thread server/plugin/api.go
thoratvinod and others added 2 commits May 11, 2023 22:08
…r.jsx

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
@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
Comment thread webapp/src/components/github_repo_selector/github_repo_selector.jsx Outdated
thoratvinod and others added 2 commits May 17, 2023 21:15
…r.jsx

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
@codecov-commenter

codecov-commenter commented May 20, 2023

Copy link
Copy Markdown

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.

@thoratvinod
thoratvinod requested a review from mickmister May 20, 2023 08:07
@hanzei
hanzei requested a review from mgdelacroix May 21, 2023 07:28

@mickmister mickmister left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread server/plugin/api.go Outdated
Comment thread server/plugin/api.go
Comment thread server/plugin/api.go Outdated
thoratvinod and others added 2 commits May 22, 2023 21:34
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
@mickmister

Copy link
Copy Markdown
Contributor

@thoratvinod Thank you for your patience on this

@hanzei

hanzei commented Jul 6, 2023

Copy link
Copy Markdown
Contributor

@calebroseland @mgdelacroix Gentle reminder to review this PR

@mattermost-build

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@thoratvinod Can you please fix the merge conflicts.

@hanzei

hanzei commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

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

@thoratvinod

thoratvinod commented Nov 15, 2023

Copy link
Copy Markdown
Contributor Author

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

@hanzei

hanzei commented Nov 16, 2023

Copy link
Copy Markdown
Contributor

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

hanzei commented Dec 5, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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