UI: chat composer step 2 (#21641)

- few improved alignments
- displays emoji picker button inline on desktop
- keeps composer focused when focusing dropdown button
- align buttons to bottom when increasing height of textarea
- max-height of textarea is now linked to the height of the screen

Co-authored-by: chapoi <charlie@discourse.org>
This commit is contained in:
Joffrey JAFFEUX
2023-05-22 17:00:50 +02:00
committed by GitHub
parent 5cce829901
commit bdfd80bfe0
20 changed files with 93 additions and 239 deletions

View File

@ -192,8 +192,7 @@ RSpec.describe "Chat composer", type: :system, js: true do
SiteSetting.emoji_deny_list = "monkey|peach"
chat.visit_channel(channel_1)
channel.open_action_menu
channel.click_action_button("emoji")
channel.composer.open_emoji_picker
expect(page).to have_no_selector("[data-emoji='monkey']")
expect(page).to have_no_selector("[data-emoji='peach']")