mirror of https://github.com/zulip/zulip.git
popovers: Add "busy" status to default emoji status set.
Add info about the status in the array "default_status_messages_and_emoji_info". Set status message as "Busy" and emoji "working_on_it". Fixes #21179
This commit is contained in:
parent
8f698227f2
commit
891ed242d1
|
@ -31,7 +31,7 @@ async function open_set_user_status_modal(page: Page): Promise<void> {
|
|||
async function test_user_status(page: Page): Promise<void> {
|
||||
await open_set_user_status_modal(page);
|
||||
// Check by clicking on common statues.
|
||||
await page.click(".user-status-value");
|
||||
await page.click(".user-status-value:nth-child(2)");
|
||||
await page.waitForFunction(
|
||||
() => (document.querySelector(".user_status") as HTMLInputElement).value === "In a meeting",
|
||||
);
|
||||
|
|
|
@ -167,6 +167,10 @@ function user_status_post_render() {
|
|||
|
||||
export function initialize() {
|
||||
default_status_messages_and_emoji_info = [
|
||||
{
|
||||
status_text: $t({defaultMessage: "Busy"}),
|
||||
emoji: emoji.get_emoji_details_by_name("working_on_it"),
|
||||
},
|
||||
{
|
||||
status_text: $t({defaultMessage: "In a meeting"}),
|
||||
emoji: emoji.get_emoji_details_by_name("calendar"),
|
||||
|
|
Loading…
Reference in New Issue