-
Notifications
You must be signed in to change notification settings - Fork 144
feature: Thread for mobile screen #530
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
feature: Thread for mobile screen #530
Conversation
| setStartingPoint?.(null); | ||
| setHighlightedMessage?.(null); |
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.
Cleander would be to make these two fns. not nullable
ie: setStartingPoint(null); instead of setStartingPoint?.(null);
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.
similar for other "local setters" than can be shared
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.
from: setHighlightedMessage?: React.Dispatch<number | null>;
to: setHighlightedMessage: React.Dispatch<number | null>;
| .sb_mobile__panelwrap .sendbird-thread { | ||
| width: 100%; | ||
| height: 100%; | ||
| & .sendbird-thread-ui { | ||
| max-width: 100%; | ||
| & .sendbird-thread-ui__header { | ||
| width: 100%; | ||
| } | ||
| } | ||
| } |
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.
I guess this better be:
@include mobile() {
width: 100%;
}
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.
Ideally, we have to imagine they should work flawlessly even when used independently (ie.outside App(Mobile)).. Given a proper container
|
I will apply the review in the separate PR |
### Description Of Changes * Apply MobileMenu/BottomSheet to the components: ParentMessageInfo and ThreadListItem * Apply the Thread module to the MobileLayout component * Add new Icon Thread [UIKIT-3476](https://sendbird.atlassian.net/browse/UIKIT-3476)
For readability See: #530 (comment) Fixes: https://sendbird.atlassian.net/browse/UIKIT-4046
Description Of Changes
UIKIT-3476