-
Notifications
You must be signed in to change notification settings - Fork 160
[GHG-654] Added mentions on sidebar buttons / rhs bar #775
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
base: master
Are you sure you want to change the base?
[GHG-654] Added mentions on sidebar buttons / rhs bar #775
Conversation
| style={button} | ||
| > | ||
| <i className='fa fa-comment-o'/> | ||
| {' ' + mentions.length} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm leaning towards not showing the number of mentions.
There are users who are keen on keeping their inboxes empty. Given that they have no control over this number and can't reduce it, I wonder if we should omit the number. The button would still allow the user to check in on their conversation but would no longer nag them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. I think it makes sense to remove the number. Would we then want to change the ordering of the mentions icon? I was thinking since it would be just an icon we can move it next to the refresh button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hanzei Is it possible to "remove" mentions? Maybe unsubscribing to the issue/PR does this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyrusjc Do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't sorry.
|
@cyrusjc There are some merge conflicts to resolve due to a recent typescript PR merge. Can you please take a look at them? Thanks for your work on this!! 😄 |
mickmister
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @cyrusjc 👍 Just one comment for discussion
mickmister
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
arush-vashishtha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has been tested for the "mentions" feature in the RHS along with setting the organizational lock. LGTM
|
@cyrusjc Can you please resolve the conflicts on this PR? |
|
@cyrusjc Are you still willling to work on this PR? |
Yea I'll take a look over the weekend |
64ffb6d to
a1dd6ab
Compare
a1dd6ab to
520b6e2
Compare
|
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
…ub into cyrusjc/adding-mentions-to-sidebar
|
/update-branch |
|
Error trying to update the PR. |
| queryParamReviewsCursor: (*githubv4.String)(nil), | ||
| queryParamAssignmentsCursor: (*githubv4.String)(nil), | ||
| queryParamOpenPRsCursor: (*githubv4.String)(nil), | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no queryParamMentionsCursor initialized here.
wiggin77
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment.


Closes #654
Summary:
Added mention icon and associated information in the RHS bar for the mentions in PRs as suggested in the issue.
Changes looks like:


