-
-
Notifications
You must be signed in to change notification settings - Fork 833
Reintroduce "Create narrow mode for composer" #6753
Reintroduce "Create narrow mode for composer" #6753
Conversation
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.
Waiting on @janogarcia 's approve before merging this one out
@gsouquet Glad to see a first iteration happening! Thanks for working on it, Germain. Some missing details and stuff that would need to be improved:
Some bugs I ran into while testing it:
|
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.
LGTM
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 for addressing the stuff in my previous comment. 👍
I would suggest keeping the placeholder text as just Reply to thread…
instead of Reply to encrypted thread…
. I guess it would feel less intimidating to a wider audience, plus we're already informing on the encryption status in the shield icon. That said, we'll get to discuss those copy details later on.
The label for the Emoji picker should read Add emoji
. I'm not following the same copy for both actions, the Emoji and Sticker pickers, as those have slightly different outcomes. The Emoji picker just adds one or multiple emojis to the composer (but there's no implicit send action involved), while the Sticker picker will automatically send a sticker as soon as you pick one. Once again, the final copy is subject to be reviewed.
One last detail I forgot to mention in my last comment. Let's keep the hover style applied to the More options
button while it's active and its popover is shown.
@gsouquet Ahrg, forgot to mention this as well... It would nice to get rid of the right margin for |
This pattern is already used for the normal message placeholder. If an
Fixed, sorry that was an oversight on my 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, @gsouquet ! 👍
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.
awkward approval goes here (please, github, let me approve of myself)
Reverts #6752
See #6682
Fixes element-hq/element-web#18533
Context: the original PR was lacking design review before it got landed, so starting a messy revert chain to bring it back. This PR is meant to be authored by @gsouquet
This change is marked as an internal change (Task), so will not be included in the changelog.
Preview: https://613a016e4f18ac17d76da503--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.