mirror of https://github.com/zulip/zulip.git
624fea2e8e
This commit adds a cancel button to the upload banner, replacing the previous close icon. Now, the cancel button is used to cancel the upload process, while the close icon is used to remove the upload banner without interrupting the upload. A new case has been added to the switch statement in the 'upload.js' file to handle the functionality of hiding the banner called 'upload_banner_hide_button'. Replaced the functionality of the 'compose_banner_close_banner' case inside the switch statement with a new case called 'upload_banner_cancel_button'. The cancel button is now assigned the selector 'upload_banner_cancel_button'. `Cancel` button is only preset for banner which tracks progress while a file is being uploaded. To maintain consistency with other banners, the cancel button's dimensions and color have been adjusted to match the style of other buttons present in different banners. Fixes: #21156 |
||
---|---|---|
.. | ||
compose_banner.hbs | ||
message_sent_banner.hbs | ||
not_subscribed_warning.hbs | ||
private_stream_warning.hbs | ||
stream_does_not_exist_error.hbs | ||
success_message_scheduled_banner.hbs | ||
unmute_topic_banner.hbs | ||
upload_banner.hbs | ||
wildcard_warning.hbs |