popovers: Add a clear status option in user popover.

Accomplished by adding a function to clear the status message with
an empty string. The html is then updated to reflect changes without a
refresh.

Currently, it's a small hassle to clear a status message.  This option
makes things a bit easier.

Fixes #11630.
This commit is contained in:
Wyatt Hoodes
2019-02-22 13:46:51 -10:00
committed by Tim Abbott
parent 3697add70c
commit 5231b27dea
3 changed files with 18 additions and 1 deletions

View File

@@ -126,6 +126,8 @@ IGNORED_PHRASES = [
r"^new_emoji$",
# Used to refer custom time limits
r"\bN\b",
# Capital c feels obtrusive in clear status option
r"clear",
r"group private messages with __recipient__",
r"private messages with __recipient__",