Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

add online status #6716

Closed
wants to merge 1 commit into from
Closed

add online status #6716

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 9, 2020

Summary

This ticket add online status to user autocomplete

Ticket Link

JIRA: https://mattermost.atlassian.net/browse/MM-26803

image

@mattermod
Copy link
Contributor

Hello @Prescise,

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.

@hanzei hanzei requested a review from esethna October 9, 2020 17:15
@hanzei hanzei added 1: PM Review Requires review by a product manager 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester Setup Cloud Test Server Setup a test server using Mattermost Cloud labels Oct 9, 2020
@esethna esethna added the 1: UX Review Requires review by a UX Designer label Oct 13, 2020
@esethna
Copy link
Contributor

esethna commented Oct 13, 2020

@Prescise looks like the checkmark and sizing might be off, adding @matthewbirtch for a UX review

Copy link
Contributor

@matthewbirtch matthewbirtch 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 the work on this @Prescise. A few things:

  1. It looks like we're not showing the display name here. In the screenshot below, we should see "Matthew Birtch" to the left of the status icon and the username "matthew.birtch" in grey to the right of the status icon.

  2. There is too much space between the status icon and the grey text to the right

  3. The status icon should 12x12 not 14x14.

  4. The status icon it looks like it's sitting 1px too low to be properly centered

  5. The status icons need to be updated to the new style across the board - although, this is likely outside of the scope of this ticket. We will probably want to create a separate ticket to update icons across the app, so don't worry about this for now.

  6. For 'special mentions', I'm not sure why my username is showing (see screenshot below). Right now, it's showing 'matthew.birtch' instead of '@here', '@ALL', '@channel'. Also, we shouldn't show the status icon for the special mentions

  7. Actually, it seems like the current user's username is being used for every row item in the list (see screenshot below)

Implemented

Designed
status

  1. The nickname should show in brackets after the display name. For example: "Matthew Birtch (Matt) • matthew.birtch (you)".
    image

@esethna
Copy link
Contributor

esethna commented Oct 22, 2020

@Prescise how's this going?

@mattermod
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!

/cc @jasonblais @jfrerich @emilyacook

@jfrerich
Copy link
Contributor

jfrerich commented Nov 2, 2020

Hi, @Prescise! How's the PR going? It's been a while since we've seen an update. This is a great contribution. If you have any questions, please feel free to ping the reviewers for help!

@esethna
Copy link
Contributor

esethna commented Nov 18, 2020

@Prescise let us know if you're still working on this :)

@ghost
Copy link
Author

ghost commented Nov 20, 2020

Hi @esethna I'm very sorry, but I'm on another project that my team and I are working on for our client, we have to finish it by the end of December and I really didn't have the time for open source, I'll try to find 1 hour and fix it this week.

@esethna
Copy link
Contributor

esethna commented Nov 20, 2020

@Prescise appreciate it!

@mattermod
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!

/cc @jasonblais @jfrerich @emilyacook

@esethna
Copy link
Contributor

esethna commented Dec 1, 2020

@Prescise hope all is well. We're you able to find some time to work through the changes requested? Looking forward to getting this in!

@esethna
Copy link
Contributor

esethna commented Jan 11, 2021

@Prescise let us know if you're still working on this, perhaps @asaadmahmood can help push it across the finish line

@ghost
Copy link
Author

ghost commented Jan 12, 2021

@esethna Hi I'm very sorry, yes no pb for me, I cannot work on it now.

@esethna
Copy link
Contributor

esethna commented Jan 12, 2021

No worries. @asaadmahmood would you be able to finish this PR off?

@asaadmahmood
Copy link
Contributor

@esethna Suer, I haven't had a look at it, but I can and see if I can get it to the finish line.

@esethna
Copy link
Contributor

esethna commented Mar 8, 2021

Gentle ping on this one @asaadmahmood, thx!

@asaadmahmood
Copy link
Contributor

@esethna Will have a look in a while hopefully. Was working on the other PR.

@asaadmahmood asaadmahmood self-assigned this Mar 8, 2021
@angeloskyratzakos
Copy link
Contributor

Hey all, I will remove the tag Setup Cloud Test Server for maintenance reasons. Feel free to re-add it when you need it. Thank you

@angeloskyratzakos angeloskyratzakos removed the Setup Cloud Test Server Setup a test server using Mattermost Cloud label Jun 3, 2021
@mm-cloud-bot
Copy link

Test server destroyed

@esethna
Copy link
Contributor

esethna commented Jun 3, 2021

Ping @asaadmahmood on this one when you have a chance!

@matthewbirtch
Copy link
Contributor

@esethna @asaadmahmood I think we should close this PR or rework it so that we move the status overlapped on top of the avatar - like we do on the channel switcher now.

image

@asaadmahmood
Copy link
Contributor

asaadmahmood commented Jun 7, 2021

@matthewbirtch Yup, we can do that, though I prefer it not on top of the avatar in this case, as it obstructs the image too much. But I'm fine if that's what we end up deciding.

@matthewbirtch
Copy link
Contributor

matthewbirtch commented Jun 7, 2021

@matthewbirtch Yup, we can do that, though I prefer it not on top of the avatar in this case, as it obstructs the image too much. But I'm fine if that's what we end up deciding.

Ya, I think it's a consistency thing. Since we now have the status overlapping the avatar in the LHS and in the channel switcher (as well as other places), we now have a pattern that I think we should follow. Users should see the status in the same place as much as possible, so I think we should move forward with this.

@asaadmahmood
Copy link
Contributor

Sounds cool. @matthewbirtch I can still take this, and design it similar to what we have in the LHS.
So no worries on this.

@esethna
Copy link
Contributor

esethna commented Jun 8, 2021

@asaadmahmood would you prefer to edit this PR or close and re-open? Feel free to do it :)

@asaadmahmood
Copy link
Contributor

@esethna I can probably take this.

@esethna esethna added Work in Progress Not yet ready for review and removed 1: PM Review Requires review by a product manager 1: UX Review Requires review by a UX Designer 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester Lifecycle/1:stale labels Jun 10, 2021
@mm-cloud-bot
Copy link

@Prescise: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

I understand the commands that are listed here

@mattermod
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!

/cc @jasonblais @jfrerich @emilyacook

@asaadmahmood asaadmahmood removed their assignment Aug 15, 2021
@lieut-data
Copy link
Member

lieut-data commented Mar 2, 2023

Heads up that as part of our efforts to move to a monorepo, we're closing out a number of older pull requests like this one to help streamline the effort.

If you'd like to preserve these changes -- even if you're not the original author! -- feel free to resubmit the pull request against the monorepo once it's ready. You can subscribe to mattermost-server-issue-22420 for status updates on this effort.

@lieut-data lieut-data closed this Mar 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
9 participants