mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
Earlier the `/poll` slash command was the only way to create polls. To increase user friendliness with a GUI, a button to launch a modal to create a poll, has been added to the compose box. This button is enabled only when the compose box is empty, to avoid complexities with losing / having to save as draft any message already being composed. The modal has a form which on submission frames a message using the `/poll` syntax and the data input in the form, and sets the content of the compose box to that message, which the user can then send. The question field is mandatory for form submission. Fixes: #20304.
2.4 KiB
2.4 KiB