-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX]Selected hide system messages would now be viewed in vertical bar. #20358
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
Conversation
MartinSchoeler
left a comment
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.
Requested some changes.
Tip: try out a bit with the maxWidth property
Thanks!
client/views/room/contextualBar/Info/EditRoomInfo/EditRoomInfo.js
Outdated
Show resolved
Hide resolved
|
@MartinSchoeler Working! |
System-messages-changes.mp4@MartinSchoeler Please review:) |
MartinSchoeler
left a comment
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.
Looking way better! Let me give you another tip for making this PR perfect:
Almost all of our components can receive css properties directly as props, you only need to camel case the css property name, e.g. <Element maxWidth='100%'></Element> with this Rocket.Chat is creating CSS rules at runtime and squeezing a little bit more performance out of its components, also this is the pattern that we are following with our React Components.
If you want to know more, you can check our Components documentation (we call it 'Fuselage').
|
@MartinSchoeler Done! |
|
@MartinSchoeler Please review:) |
MartinSchoeler
left a comment
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 to me now!
Proposed changes (including videos or screenshots)
All selected hide system messages are now in vertical Bar.
system-message-issue.mp4
Issue(s)
Closes #20357
Steps to test or reproduce
Further comments