zulip icon indicating copy to clipboard operation
zulip copied to clipboard

onboarding: Add emoji reactions to Welcome Bot.

Open raghupalash opened this issue 3 years ago • 14 comments

Updated:

For the first message the Welcome Bot does following:

  1. Reacts with a 🎉
  2. Sends an additional message that says: "I'm happy to help you out! 🎉 ", before sending the appropriate reply. Tests have been updated to reflect these changes.

Fixes #20023.

Correct correct_cmd

Incorrect incorrect_cmd

raghupalash avatar Dec 04 '21 10:12 raghupalash

Hello @zulip/server-emoji, @zulip/server-onboarding members, this pull request was labeled with the "area: emoji", "area: onboarding" labels, so you may want to check it out!

zulipbot avatar Dec 04 '21 10:12 zulipbot

Hey @alya, is this how we want this to be?

raghupalash avatar Dec 05 '21 13:12 raghupalash

Thanks for working on this @raghupalash ! What I had in mind for this issue was using emoji reactions as a way to demonstrate that feature, rather than adding emoji to the text of the bot's reply.

alya avatar Dec 06 '21 18:12 alya

Oops, will fix that.

raghupalash avatar Dec 06 '21 18:12 raghupalash

I have fixed this, also updated the gifs(look at the start of this thread).

raghupalash avatar Dec 24 '21 08:12 raghupalash

BTW I just realized that adding emoji reactions does two things:

  1. It gives user a feeling of accomplishment if there response is correct.
  2. But most importantly, it eases user to a Zulip feature, that we can react with emojis on a message.

Awesome idea @alya! Were there any more reasons behind this idea that I missed?

raghupalash avatar Jan 04 '22 05:01 raghupalash

Thanks for implementing this, @raghupalash !

Playing around with it, it feels like it's actually too much to have the reactions for every message.

Can we try changing it so that for the first message to Welcome Bot (no matter what it is) the bot:

  1. Reacts with a 🎉
  2. Sends an additional message that says: "I'm happy to help you out! 🎉 ", before sending the appropriate reply.

That should be enough to give a bit of an intro to emoji reactions without making it overwhelming. Sorry for the extra work!

alya avatar Jan 06 '22 00:01 alya

BTW I just realized that adding emoji reactions does two things:

  1. It gives user a feeling of accomplishment if there response is correct.
  2. But most importantly, it eases user to a Zulip feature, that we can react with emojis on a message.

Awesome idea @alya! Were there any more reasons behind this idea that I missed?

Yeah, that's what I was thinking. :)

alya avatar Jan 06 '22 00:01 alya

These are the responses now on the first messages.

Correct correct_cmd

Incorrect incorrect_cmd

raghupalash avatar Jan 07 '22 05:01 raghupalash

I'm keeping the previous commit around, when we are solid about this change and want to move forward with it, I'll remove it from the history.

@alya here are the changes.

raghupalash avatar Jan 07 '22 06:01 raghupalash

@raghupalash sorry I missed your update somehow. Looks good to me!

@timabbott can you take a look?

alya avatar Jan 19 '22 07:01 alya

I have squashed the previous commit for easier merge.

raghupalash avatar Feb 03 '22 17:02 raghupalash

I have separated the changes into 3 different commits @timabbott to best of my understanding, thanks for the advice! Ready for review.

raghupalash avatar Feb 08 '22 17:02 raghupalash

Heads up @raghupalash, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/main branch and resolve your pull request's merge conflicts accordingly.

zulipbot avatar Oct 24 '22 03:10 zulipbot

Hello @raghupalash, it seems like you have referenced #20023 in your pull request description, but you have not referenced them in your commit message description(s). Referencing an issue in a commit message automatically closes the corresponding issue when the commit is merged, which makes the issue tracker easier to manage.

Please run git commit --amend in your command line client to amend your commit message description with Fixes #20023..

An example of a correctly-formatted commit:

commit fabd5e450374c8dde65ec35f02140383940fe146
Author: zulipbot
Date:   Sat Mar 18 13:42:40 2017 -0700

    pull requests: Check PR commits reference when issue is referenced.

    Fixes #51.

To learn how to write a great commit message, please refer to our guide.

zulipbot avatar Jun 21 '24 15:06 zulipbot