8000 Issue 11439 : clicking own name in the buddy list, should open user info popup by thedeveloperr · Pull Request #11441 · zulip/zulip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue 11439 : clicking own name in the buddy list, should open user info popup #11441

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thedeveloperr
Copy link
Collaborator

#11439
When you click on your own name in the buddy list, we should go right to the popup

Testing Plan:
Click on my your name in buddy list and user info popup should appear instead of a Private message narrow with yourself.

GIFs or Screenshots:
feb-03-2019 03-58-15

@zulipbot
Copy link
Member
zulipbot commented Feb 2, 2019

Hello @zulip/server-sidebars members, this pull request was labeled with the "area: right-sidebar" label, so you may want to check it out!

@thedeveloperr
Copy link
Collaborator Author

@showell @timabbott Ready for review

@thedeveloperr thedeveloperr changed the title Issue 11439 Issue 11439 : clicking own name in the buddy list, should open user info popup Feb 4, 2019
@showell
Copy link
Contributor
showell commented Feb 5, 2019

@timabbott This LGTM. It's a pretty concise way of doing it using selectors and a little extra markup. The other alternative would be for the handler to check people.is_my_user_id or something like that and dispatch accordingly 8000 .

I think I like this approach.

@showell
Copy link
Contributor
showell commented Feb 5, 2019

Actually, one thing--I believe these can all be squashed into a single commit.

@thedeveloperr
Copy link
Collaborator Author

Thanks for the review. I will squash them into a single commit message.

@showell
Copy link
Contributor
showell commented Feb 5, 2019

FYI here's some feedback from Rishi:

https://chat.zulip.org/#narrow/stream/101-design/topic/user.20status.20design/near/694978

Tim, it's probably worth giving this a quick look, anyway, just to get a feel for it.

Add markup to identify current user. Remove the click
handler and href for the current user DOM element to
avoid opening PM narrow of current user with itself.
Open user info popover when curent user clicks it's name.

Fixes zulip#11439.
@thedeveloperr
Copy link
Collaborator Author

@showell Squashed the 3 commits into one.

@timabbott
Copy link
Member

Cool; I'm going to defer looking at this until I have a 2.0 release candidate posted.

@thedeveloperr
Copy link
Collaborator Author
thedeveloperr commented Feb 15, 2019

@timabbott
Copy link
Member

@timabbott Please review when you get time. Thank you.

The code is a fine implementation of the concept; I think there's some question on whether we want to make this change from a product perspective. @thedeveloperr I encourage you to move on to other issues for now, and we'll leave this open until we can make a decision.

@zulipbot
Copy link
Member

Heads up @thedeveloperr, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.

@timabbott timabbott force-pushed the main branch 2 times, most recently from 4ec3636 to 88b200c Compare August 18, 2023 23:52
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.

4 participants
0