zulip/static
Priyam Seth 17f74a3f57 compose: Show warning while composing to a resolved topic.
This commit creates the function warn_if_topic_resolved that checks if
the topic to which the user is composing is resolved or not. First it
checks if the stream exists and then if the topic name starts with the
RESOLVED_TOPIC_PREFIX. If the conditions are true, a warning banner is
shown to the user.

It also shows to the user a button to unresolve the topic, if he has
the permission to do so.

Fixes #20584.
2022-02-01 17:50:17 -08:00
..
assets icons: Set font-display: block for icon font. 2021-08-23 15:59:54 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images policies: Rename "Terms of Use" to "Terms of Service" in DPA. 2022-01-20 13:15:00 -08:00
js compose: Show warning while composing to a resolved topic. 2022-02-01 17:50:17 -08:00
shared js: Avoid _.get. 2022-01-24 15:54:21 -08:00
styles compose: Show warning while composing to a resolved topic. 2022-02-01 17:50:17 -08:00
templates compose: Show warning while composing to a resolved topic. 2022-02-01 17:50:17 -08:00
third lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00