mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 23:58:26 +08:00
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:
@ -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']")
|
||||
|
Reference in New Issue
Block a user