-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-22894/MM-23046/MM-24274/MM-24375 Quick wins bucket list 5 #5353
Conversation
Creating a new SpinWick test server using Mattermost Cloud. |
Mattermost test server created! 🎉 Access here: https://mattermost-webapp-pr-5353.test.mattermost.cloud
|
Nice!
|
|
Test server creation failed. See the logs for more information. |
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.
Looks great @asaadmahmood. Thank you!
- Love that we've animated the transition from compact to expanded state on the RHS. This really helps a lot. Nice call on that.
- For the hover state of the channel name in the Thread RHS header, can we darken the actual text on hover as well? Maybe we follow the same convention for the icons, so go with 56% center channel color as a default state, 72% center channel color as a hover state? I'll update the design files if we're aligned to that.
- The expanded state of the RHS header has a rounded top-left corner. Is that intentional? I see that was requested in the ticket, but it feels a little odd to me since no other corners for the panel are rounded
- For the expanded state of the RHS, I wonder if we should have a max-width set on it? On a large screen it's so wide. I'm thinking something like 960px wide as a max.
- As per the note from @esethna, it looks like the expand button is still there in mobile webview, but the close button is now gone. Can we remove the expand button and bring back the close?
@matthewbirtch I did update that, both the close button and the expand button aren't there, and we don't have a close button because the RHS is closed in the mobile web view with the back button at the top beside the search bar. The PR just did not update automatically, which is why you can't see it right now. |
|
Thanks @asaadmahmood. I think you may have tagged the wrong github user in your comment above :) Things are looking good. However, I noticed now that we've added a max-width on the expanded state of the RHS, I think it messed up the animation :( |
@matthewbirtch Will fix that. |
@asaadmahmood I think either we keep the button and it should close the sidebar and take the user to that channel or we just make it not clickable in the mobile view. 0/5 Also I think there's a bug with expanding: https://i.gyazo.com/284db4c3a1fc0ee5599e6a8e8b3fd2dc.gif |
Test server creation failed. See the logs for more information. |
@esethna I feel like we can make it not clickable. I don't want people to accidentally click it and lose the RHS, as it does not close it right now. |
@matthewbirtch @asaadmahmood 0/5, but if we are adding a max width to the RHS expanded state, which is a great idea, do we need the channel sidebar to have an overlay? I'm imagining that if a user switches channels we can just switch the center pane and shrink the RHS back to normal size? |
@esethna Removed the click on mobile. Plus, if we are removing the overlay, then I would imagine we should also squish the center channel based on the space available, so the user can interact with it, but that may pose challenges on most normal browser screen as the width would be quite small. |
@asaadmahmood I'm referring to removing the overlay on the channel sidebar, not the center pane. If we do that I don't think we need to squish the center pane |
@esethna Hmmm, yeah I think we can try that. |
With the overlay, its clear that clicking the sidebar would collapse it, but without it, its not as clear. |
Also, having the sidebar collapse on channel switch might be something we can consider for a different ticket, as that would be adding some extra functionality on a global level, so the channel sidebar can close it. |
utils/utils.jsx
Outdated
const ownPostBg = blendColors(theme.centerChannelBg, theme.centerChannelColor, 0.05); | ||
const hoveredPostBg = blendColors(theme.centerChannelBg, theme.centerChannelColor, 0.08); | ||
const hoveredPostBgLight = blendColors(theme.centerChannelBg, theme.centerChannelColor, 0.05); | ||
const ownPostBg = theme.centerChannelBg; |
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.
Instead of just changing the colour here, could you remove the logic that refers to ownPostBg
? This part of the code is really complicated, so removing that case would simplify it a fair bit.
@asaadmahmood things look great here 🎉 A few items to resolve/consider:
|
That's a really great idea to permalink to the root post in the center pane - looks like that's what slack does also. We should do this for sure. Re tooltips, already have a ticket completed for that by community: https://mattermost.atlassian.net/browse/MM-22876 @asaadmahmood I don't mind this but I'm 0/5, I've leave it up to you guys and @andrewbrown00 on what's the best UI for the expanded state. Wonder if we can find some examples in other products |
New commit detected. SpinWick will upgrade if the updated docker image is available. |
Mattermost test server updated with git commit Access here: https://mattermost-webapp-pr-5353.test.mattermost.cloud |
Thanks @asaadmahmood - pshew, this is a hectic PR to review - so many comments! ;) I tested via the Jira tickets linked at the top of this PR, our DM where you gave me the high level changes and also from design and PM comments above. Hope I did not miss anything! 1. In RHS thread view, the "<" (back arrow) is misaligned with "Thread". This is visible after a search is performed and "reply" is hit on one of the search results. 2. In RHS thread view, where the channel name is clickable: 3. In expanded RHS view: |
|
New commit detected. SpinWick will upgrade if the updated docker image is available. |
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 @asaadmahmood - sounds good to me 👍
Please help update the Jira tickets linked to this PR to reflect changes that actually made it in to the PR? Thanks!
Test server destroyed |
Test server creation failed. See the logs for more information. |
Summary
Quick wins bucket list 5
Escape to close the expanded RHS is not in, as there are a lot of corner cases around that.
Ticket Link
https://mattermost.atlassian.net/browse/MM-22894
https://mattermost.atlassian.net/browse/MM-23046
https://mattermost.atlassian.net/browse/MM-24375
Screenshots