-
Notifications
You must be signed in to change notification settings - Fork 83
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
Sidebar header MR count should show assigned MRs instead of opened MRs #271
Comments
Hi @deandrade87, Are you interested in implementing this? |
@mickmister wanted to check on this, is someone working on this ? if no wanted to check on the requirement. does this feature seeking to list only PR been assigned to user , instead of listing all the PR opened by user? |
@hanzei Do you have thoughts on this? I would think that "My opened MRs" is what someone would mainly want to know about, but maybe conventions in GitLab are a bit different than GitHub. It looks like the "assignments" category currently only uses issues and not MRs, so assigned MRs are neglected in the counts in general. mattermost-plugin-gitlab/server/gitlab/api.go Lines 281 to 307 in bbd7d38
Maybe we should match the GitHub plugin's behavior and include issues and MRs for the assignments category? @deandrade87 How do you feel about this? |
@sibasankarnayak Is there a reason you're wanting to pick up an issue that's not in the sprint planning board? I ask because there are a decent amount of open tickets in the "Todo" column. |
The user connect welcome message states that the third category contains both merge requests and issues you are assigned to. @dipak-demansol Are you able to verify this is the case? cc @hanzei |
@mickmister i picked it bymistake , but thought as worked on it so raised the PR |
That sound like the optimal solution to me |
So, on GitLab the main buttons where a user sees their tasks are:
So, for the second category I would expect the same behaviour as GitLab's, namely MRs assigned + pending review, NOT the MRs opened by a user.
I would tend to disagree. Mattermost users most likely expect to see on the plugin the exact same numbers they see in their GitHub or GitLab systems. Therefore I would expect the two plugins for GitHab and GitLab to have different behaviours, depending on what the underlying systems do. |
Triage agreed that @deandrade87 's suggestion is valid. |
Closing due to inactivity. The issue can be reopened with more interest from our community. |
@mkdbns I've added this to the plugin maintenance board. This isn't particularly urgent, but has been brought up by a few customers recently https://community.mattermost.com/core/pl/9pdx4qfbob8d7rs6jbs8ffaooo. The task is to implement the LHS counters as they are shown in GitLab's UI, as described here #271 (comment) |
@mickmister I have gone through the discussion and I think it would be best to have four buttons here (As there are three buttons on Gitlab and the "Merge requests" button has two subparts):
We are also thinking to update the icons on the "Issues" and "To-Do List" buttons to match the icons on Gitlab. Demo video with the updated names on buttons: |
@raghavaggarwal2308 Awesome, this all LGTM 👍 |
@jdeamicis Do you agree with this direction? |
…how assigned MRs instead of opened MRs (#39) * [MI-3405] Get proper data in sidebar buttons: 1. Get assigned PRs instead of the user's PRs. 2. Updated the name of sidebar buttons. 3. Updated API path. 4. Updated the name of API functions. 5. Updated the name of unreads to todos in the code. * [MI-3405] Updated name of variables and functions * [MI-3405] Updated icons in sidebar * [MI-3405] Updated documentation * [MI-3405] Reverted package-lock file changes * [MI-3405] Review fixes
…ed MRs instead of opened MRs (#39) (#394) * [MI-3405] Get proper data in sidebar buttons: 1. Get assigned PRs instead of the user's PRs. 2. Updated the name of sidebar buttons. 3. Updated API path. 4. Updated the name of API functions. 5. Updated the name of unreads to todos in the code. * [MI-3405] Updated name of variables and functions * [MI-3405] Updated icons in sidebar * [MI-3405] Updated documentation * [MI-3405] Reverted package-lock file changes * [MI-3405] Review fixes
…how assigned MRs instead of opened MRs (#39) (mattermost#394) * [MI-3405] Get proper data in sidebar buttons: 1. Get assigned PRs instead of the user's PRs. 2. Updated the name of sidebar buttons. 3. Updated API path. 4. Updated the name of API functions. 5. Updated the name of unreads to todos in the code. * [MI-3405] Updated name of variables and functions * [MI-3405] Updated icons in sidebar * [MI-3405] Updated documentation * [MI-3405] Reverted package-lock file changes * [MI-3405] Review fixes
* Remove check for client secret length (#419) * support client secrets longer than 64 chars * remove length check * change client secret length check to assume at least 64 chars * change wording of error message * [GH-321]:Fixed issue #321 'Wrong notification in case of assigned prs' (#395) Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com> Co-authored-by: ayusht2810 <ayush.thakur@brightscout.com> * [MI-3405] Fix issues #271: Sidebar header MR count should show assigned MRs instead of opened MRs (#39) (#394) * [MI-3405] Get proper data in sidebar buttons: 1. Get assigned PRs instead of the user's PRs. 2. Updated the name of sidebar buttons. 3. Updated API path. 4. Updated the name of API functions. 5. Updated the name of unreads to todos in the code. * [MI-3405] Updated name of variables and functions * [MI-3405] Updated icons in sidebar * [MI-3405] Updated documentation * [MI-3405] Reverted package-lock file changes * [MI-3405] Review fixes * [MM-42] Fix CI error: implicit memory aliasing (#429) * [MI-3588] Fix issue: Image attachment breaking in comment notification (#406) * [MI-3719] Send the users an ephemeral message if they try to connect their account via MM desktop app (#416) * [MI-3719] Send the users an ephemeral message if they try to connect their account via MM desktop app * [MI-3713] Handles the following cases as well for desktop app: 1. Connecting using the button from the teams sidebar. 2. Connecting using the button from RHS. * [MI-3719] Review fixes * [MI-3719] Review fixes Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * [MI-3719] Fix lint error --------- Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> * Fix lint errors * Update plugin version --------- Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com> Co-authored-by: kshitij katiyar <90389917+Kshitij-Katiyar@users.noreply.github.com> Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com> Co-authored-by: ayusht2810 <ayush.thakur@brightscout.com>
As of now I see that the MR counter in the sidebar (the one showing
Your open merge requests
) shows the MRs someone has opened (i.e. the MRs for which the user is the author).I believe it would make more sense to have the assigned MRs (i.e. the ones for which a user is assignee), rather than the opened ones.
Or maybe it could be made configurable.
The text was updated successfully, but these errors were encountered: