Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg action sheet: Add 'Reply with mention' option. #4190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

agrawal-d
Copy link
Member

Adds the reply with mention featrue, that populates the compose box
message input with an @-mention, the topic input (if present) with
the topic of the message and shows the keyboard.

Fixes: #3436.

Copy link
Contributor

@chrisbobbe chrisbobbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @agrawal-d!

I haven't looked at this super closely yet (though, thankfully, my testing prompted 8c55b4a! 🙂) , but I noticed a Flow error in messageActionSheet.js. I saw this after rebasing atop master, though, and I didn't run Flow before then—I suspect it's something Flow newly flags starting with the upgrade, which we did with the RN v0.60 -> v0.61 upgrade; this PR doesn't have the RN upgrade.

Would you mind rebasing and see if you also get a Flow error?

@@ -212,4 +214,4 @@
"🤒 Out sick": "🤒 Out sick",
"🌴 Vacationing": "🌴 Vacationing",
"🏠 Working remotely": "🏠 Working remotely"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: newline at end of file

Adds the reply with mention featrue, that populates the compose box
message input with an @-mention, the topic input (if present) with
the topic of the message and shows the keyboard.

Fixes: zulip#3436
@agrawal-d
Copy link
Member Author

Would you mind rebasing and see if you also get a Flow error?

Yep, I got the Flow error. I've fixed it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide "reply with mention" option
2 participants