Skip to content
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-57263] Tweaks to expanded view #715

Merged
merged 7 commits into from
May 6, 2024
Merged

[MM-57263] Tweaks to expanded view #715

merged 7 commits into from
May 6, 2024

Conversation

streamer45
Copy link
Collaborator

Summary

PR implements the UX polish tweaks in https://www.figma.com/file/UIfE0vN1ESsXLHZYDP5eqD/Updates-to-Control-Bar-and-Header except the call settings which I am deferring to a separate PR given it's enough work on its own and mostly decoupled from this.

Ticket Link

https://mattermost.atlassian.net/browse/MM-57263

@streamer45 streamer45 added 1: UX Review Requires review by ux 2: Dev Review Requires review by a core committer labels Apr 26, 2024
@streamer45 streamer45 self-assigned this Apr 26, 2024
@streamer45 streamer45 changed the title [MM-57263 Tweaks to expanded view [MM-57263] Tweaks to expanded view Apr 26, 2024
@streamer45 streamer45 added this to the v0.27.0 / MM 9.9 milestone Apr 26, 2024
Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some non-blocking comments. Thanks Claudio!

Comment on lines 1052 to 1054
style={{
width: '24px',
height: '24px',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be 20 x 20 now, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I got confused once more.

className='button-close'
style={this.style.closeViewButton}
<CloseViewButton
className='style--none'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this className?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say yes, as with any other button, we don't want the default browser styling. Before we were overriding everything through .button-close. This is more consistent now.

Comment on lines 210 to 211
width: '24px',
height: '24px',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like there should be a better way to do this for all the icons... But we might be stuck with it because of they're svgs...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be doable with a common class. Or we could go back to compass icons which were controlled by font sizes I believe 🤯

@cpoile cpoile removed the 2: Dev Review Requires review by a core committer label Apr 30, 2024
Copy link

@abhijit-singh abhijit-singh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @streamer45! A few small requests:

  1. For the controls at the bottom, as per the design, the icon size should be 20x20px with a padding of 12px on all sides. Currently the icons are 24x24 with a spacing of 10px.
  2. Similarly for the minimize icon on the top right, the icon size should be 20x20px with 10px space on all sides.
  3. For the leave call icon button, there seems to be 0.8 opacity applied on the white icon that we can get rid of.
  4. For the threads button, wondering if we can add a border matching the background color around the notification indicator? I think it might not be straightforward though since the color is a mix of a background color and an overlay.
image

@streamer45
Copy link
Collaborator Author

Thanks @abhijit-singh , will look into the above.

Copy link

@abhijit-singh abhijit-singh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @streamer45, looks great!

@streamer45 streamer45 added 3: Reviews Complete All reviewers have approved the pull request and removed 1: UX Review Requires review by ux labels May 6, 2024
@streamer45 streamer45 merged commit bab17c3 into main May 6, 2024
19 checks passed
@streamer45 streamer45 deleted the MM-57263 branch May 6, 2024 15:53
@streamer45 streamer45 mentioned this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants