-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-23120 Custom status issues #7843
MM-23120 Custom status issues #7843
Conversation
Solved the MM-33149 issue Solved the MM-33195 issue Solved the MM-33214 issue Solved the MM-33220 issue Solved the MM-33246 issue Solved the MM-33433 issue Solved the MM-34571 issue Solved the MM-33431 issue
Hello @manojosh, 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. |
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.
Thanks @manojosh! Nice work resolving these issues. I just have a few really minor points:
- In the Channel Switcher, can we make the left margin on the custom status 8px instead of 4px? It feels like it needs a bit more space there
- This may not be related to this PR, but the bullet after the status in the DM channel header feels odd now. I wonder if we should just consider removing this since the spacing may provide enough differentiation here
Thanks @manojosh, one thing I noticed: The modal height should dynamically resize to accommodate all selections as noted in the ticket (note that the max options showing would be 10: 5 recent and 5 suggestions), right now it is scrolling to reveal all options: https://mattermost.atlassian.net/browse/MM-33246 |
Removed the dot in channel header after custom status Changed the marginLeft for the custom status emoji in switch channel modal Changed opacity of custom status emoji on hover
@matthewbirtch All the changes are done. @esethna If we don't want any scrolling to accommodate all the 10 suggestions then the modal looks like this. So we have to change the positioning of the modal. Right now, it's done by giving margin-top to the modal as calc(50vh - 240px) Is this fine or do you want it to be dynamically changed as the no. of recent statuses increase? If so, what is the minimum value of margin-top which I should use? |
@esethna I think we should consider this effort as a separate PR if we want to merge this in for the next release. Accommadating for 10 options without scrolling makes for a pretty tall modal and I don't think we should do this. Also, it wouldn't work well for people on smaller resolution. Can we leave it as-is for now and create a follow-up ticket to look in to dynamically resizing if we feel strongly? |
@matthewbirtch @manojosh okay that's fine, we can leave as is. But I'm not clear on what changed in this PR from the existing behaviour? Can we just update the ticket to reflect what changed so QA can test appropriately? |
@esethna Actually what changed was the min and max height of the modal. Earlier if any one of the suggestions was present in the recents then the Recents title would appear along with the scrollbar but now the height is adjusted to accommodate all the suggestions along with the Recents and Suggestions titles. Refer to the gif here https://mattermost.atlassian.net/browse/MM-33246 |
Got it, I adjusted the ticket description, thanks |
@michelengelen @Willyfrog for dev review, thanks! |
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.
Only a small suggestion from my side ... otherwise LGTM! Thanks for your contribution! 🙇🏻♂️
Co-authored-by: Michel Engelen <[email protected]>
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
No problem @michelengelen.. Resolving the conflicts |
Thanks a lot @manojmalik20 ... will merge it now! |
Cherry pick is scheduled. |
Error trying doing the automated Cherry picking. Please do this manually
|
/cherry-pick cloud |
Cherry pick is scheduled. |
Error trying doing the automated Cherry picking. Please do this manually
|
@Willyfrog Seems that the cherry-pick didn't work |
yeah! I'll try to do that manually |
actually @michelengelen can you do the cherry-picking? seems the reason for the conflict is that #7932 is not in both branches |
* Fixed the MM-34095 issue * Solved several issues from the MM-23120 epic Solved the MM-33149 issue Solved the MM-33195 issue Solved the MM-33214 issue Solved the MM-33220 issue Solved the MM-33246 issue Solved the MM-33433 issue Solved the MM-34571 issue Solved the MM-33431 issue * Updated snapshots * Fixed some UI issues Removed the dot in channel header after custom status Changed the marginLeft for the custom status emoji in switch channel modal Changed opacity of custom status emoji on hover * Update components/custom_status/custom_status_modal.tsx Co-authored-by: Michel Engelen <[email protected]> * Fixed lint error * Fixed the styling in switch channel modal Co-authored-by: Manoj <[email protected]> Co-authored-by: Michel Engelen <[email protected]> (cherry picked from commit c2c4725)
… cs-fix * 'master' of github.com:mattermost/mattermost-webapp: (125 commits) MM-31717: Remove HTTP clustering (mattermost#7924) MM-35021: Only display overflow names in Avatars tooltip (mattermost#7955) Cypress/E2E: Fix E2E from recent Cloud test run (mattermost#7957) save code body, error details and screenshots if available when e2e failed (mattermost#7945) MM-32962/MM-32930 Dependency updates (mattermost#7929) take into account menu permissions (mattermost#7792) Fix accesibility problems in files/message selectors in hint and RHS (mattermost#7925) MM-23120 Custom status issues (mattermost#7843) [MM-34742][MM-34743][MM-34745] - Hard coded values fixes (mattermost#7926) [MM-34763][MM-34744][MM-34767] - Fix UX issues with channel navigator and navbar (mattermost#7934) Feature/mm 34670 (mattermost#7932) Cypress/E2E: Fix clock, timezone, local date time specs (mattermost#7949) MM-35016 - Update payment screen info text (mattermost#7953) MM-34975 - hide payment information to free trial customers (mattermost#7950) Translations update from Weblate (mattermost#7943) Fix basedn typo (mattermost#7927) [MM-34551] Make button disabled for Read Only Admin (mattermost#7904) MM-34978 - fix contact support link in the error payment screen (mattermost#7940) Upgrading tests to prod (mattermost#7936) MM-33748 Support for new mention_count_root and msg_count_root (mattermost#7733) ...
* Fixed the MM-34095 issue * Solved several issues from the MM-23120 epic Solved the MM-33149 issue Solved the MM-33195 issue Solved the MM-33214 issue Solved the MM-33220 issue Solved the MM-33246 issue Solved the MM-33433 issue Solved the MM-34571 issue Solved the MM-33431 issue * Updated snapshots * Fixed some UI issues Removed the dot in channel header after custom status Changed the marginLeft for the custom status emoji in switch channel modal Changed opacity of custom status emoji on hover * Update components/custom_status/custom_status_modal.tsx Co-authored-by: Michel Engelen <[email protected]> * Fixed lint error * Fixed the styling in switch channel modal Co-authored-by: Manoj <[email protected]> Co-authored-by: Michel Engelen <[email protected]>
@manojmalik20: 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 |
Summary
Ticket Link
Related Pull Requests
#7750