zulip/web/templates/compose_banner
Palash Baderia 624fea2e8e upload_banner: Add a cancel button.
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
2023-07-06 16:11:09 -07:00
..
compose_banner.hbs compose_banner: Rename classnames to main-view-banner. 2023-06-09 11:31:51 -07:00
message_sent_banner.hbs compose_banner: Rename classnames to main-view-banner. 2023-06-09 11:31:51 -07:00
not_subscribed_warning.hbs
private_stream_warning.hbs
stream_does_not_exist_error.hbs
success_message_scheduled_banner.hbs compose_banner: Rename classnames to main-view-banner. 2023-06-09 11:31:51 -07:00
unmute_topic_banner.hbs compose: Add banner for unmuting the muted topic a message is sent to. 2023-04-25 16:16:47 -07:00
upload_banner.hbs upload_banner: Add a cancel button. 2023-07-06 16:11:09 -07:00
wildcard_warning.hbs