-
Notifications
You must be signed in to change notification settings - Fork 37
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
[MM-57953] Host controls: Add more host notices #731
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## MM-57470-host-mute-all #731 +/- ##
=========================================================
Coverage ? 16.65%
=========================================================
Files ? 39
Lines ? 6696
Branches ? 0
=========================================================
Hits ? 1115
Misses ? 5457
Partials ? 124 ☔ View full report in Codecov by Sentry. |
|
||
${({$onWidget}) => $onWidget && css` | ||
width: 100%; | ||
border-radius: 6px; |
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.
can we adjust to 8px radius to match the main widget radius?
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 to me @cpoile.
-
Just a minor tweak on the corner radius (8px instead of 6px) for the notices that appear above the widget.
-
The host icon seems scaled down in comparison to the others.
-
As a follow-up I think we'll probably want to adjust other notices to match style too. This can be done as a separate PR though if you'd rather
I've added these in Figma here, but let me know if there are others beyond these
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 good. Thanks for the updates @cpoile. I've created a follow-up ticket for the other notices: https://mattermost.atlassian.net/browse/MM-58221
@cpoile Two things:
|
|
@@ -388,8 +388,8 @@ export function handleCallHostChanged(store: Store, ev: WebSocketMessage<CallHos | |||
}, | |||
}); | |||
|
|||
const profiles = profilesInCurrentCallMap(store.getState()); | |||
const hostProfile = profiles[ev.data.hostID]; | |||
const hostProfile = profilesInCurrentCallMap(store.getState())[ev.data.hostID] || |
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 happens because we send out the host change before the join msg. I did this here bc it's less complicated than delaying the host change message server side.
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 @cpoile , looks great!
Merging for now since we need to get master onto community -- if we need to bold the |
Apologies for the delay. I agree with bolding the |
Summary
Ticket Link