zulip/static/templates
Priyam Seth 62d9f28211 compose_area: Fix compose_area pasted message bigger than max_length.
Fix a bug where the compose box cut the message without warning the user
the message pasted was longer than the allowed. It was fixed by stopping
cutting the message off and showing an indicator whenever the limit exceeds
and removing the indicator as soon as message gets less than that.

The cut off for showing the indicator is set as 90% of the limit.

Fixes #15909
Co-authored-by: João Maurício <carvalho.joaomauricio@gmail.com>
2021-07-07 12:18:18 -07:00
..
confirm_dialog settings: Use confirm_dialog for deactivating own account modal. 2021-06-23 08:05:25 -07:00
navbar_alerts navbar_alerts: Move bankruptcy loader msg as step-2 of bankruptcy alert. 2021-06-09 12:36:40 -07:00
settings edit_fields_modal: Show error message in the body not heading. 2021-07-06 15:15:50 -07:00
widgets templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
about_zulip.hbs about_zulip: Mark strings for translation. 2021-06-18 18:13:00 -07:00
actions_popover_content.hbs copy_link: Add onSuccess listener to copy clipboard. 2021-07-02 11:33:37 -07:00
all_messages_sidebar_actions.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
announce_stream_docs.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
archive_message_group.hbs
archive_recipient_row.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
blueslip_stacktrace.hbs
bookend.hbs message_list: Convert bookend_content messages to FormatJS. 2021-04-13 17:41:10 -07:00
buddy_list_tooltip_content.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
change_stream_info_modal.hbs streams: Eliminate content-editable to change stream info. 2021-07-05 14:35:15 -07:00
compose.hbs compose_area: Fix compose_area pasted message bigger than max_length. 2021-07-07 12:18:18 -07:00
compose_all_everyone.hbs templates: Fix <br> → <br /> to be parseable by FormatJS. 2021-04-20 14:39:53 -07:00
compose_announce.hbs templates: Fix <br> → <br /> to be parseable by FormatJS. 2021-04-20 14:39:53 -07:00
compose_control_buttons.hbs compose_control_buttons: Use data-tippy-content instead of title. 2021-04-30 07:52:32 -07:00
compose_invite_users.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
compose_not_subscribed.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
compose_notification.hbs
compose_private_stream_alert.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
confirm_dialog.hbs confirm_dialog: Rename confirm_dialog_yes_button class. 2021-07-06 15:15:50 -07:00
confirm_dialog_heading.hbs confirm dialog: Allow specifying /help links. 2021-05-10 12:36:39 -07:00
copy_code_button.hbs lint: Fix badly quoted strings tagged for translation. 2021-05-09 20:16:28 -07:00
copy_invite_link.hbs lint: Fix badly quoted strings tagged for translation. 2021-05-09 20:16:28 -07:00
copy_message_button.hbs lint: Fix badly quoted strings tagged for translation. 2021-05-09 20:16:28 -07:00
copy_to_clipboard_svg.hbs templates: Extract and tweak copy_to_clipboard_svg from both buttons. 2020-10-08 17:13:50 -07:00
default_language_modal.hbs settings: Remove language_list_dbl_col from page_params. 2021-06-17 17:02:27 -07:00
deprecated_feature_notice.hbs deprecated_feature_notice: Migrate to handlebars. 2021-06-15 11:59:01 -07:00
draft.hbs draft: Fix incorrectly centered topics in drafts modal. 2021-05-28 15:44:19 -07:00
draft_table_body.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
edit_content_button.hbs tooltips: Use TippyJS for all message_control_button tooltips. 2021-05-13 12:56:38 -07:00
edited_notice.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
embedded_bot_config_item.hbs
emoji_popover.hbs
emoji_popover_content.hbs emoji_picker: Fix search input length. 2020-09-23 11:33:27 -07:00
emoji_popover_emoji.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
emoji_popover_search_results.hbs
emoji_showcase.hbs
favicon.svg.hbs dependencies: Upgrade Source Sans Pro font to Source Sans 3. 2021-02-23 14:55:33 -08:00
feedback_container.hbs
filter_topics.hbs left-sidebar: Add topic filter input in zoomed topic view. 2021-06-08 15:09:26 -07:00
gear_menu.hbs gear_menu: Rename "Settings" option to "Personal settings". 2021-07-01 11:47:14 -07:00
giphy_picker.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
giphy_picker_mobile.hbs giphy: Use GIPHY web SDK to allow inserting GIFs in compose box. 2021-04-05 15:04:49 -07:00
help_link_widget.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
hotspot_icon.hbs hotspots: Generate properly escaped HTML. 2021-02-05 09:26:47 -08:00
hotspot_overlay.hbs hotspots: Remove useless and malformed alt text. 2021-04-27 11:12:24 -07:00
input_pill.hbs input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
intro_reply_hotspot.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
invitation_failed_error.hbs billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
invite_subscription.hbs invite: Fix compose box focus on clicking (Un)check All in invite window. 2020-09-04 12:58:11 -07:00
invite_user.hbs invite: Use handlebar template for invite-user overlay. 2021-06-14 13:46:57 -07:00
keyboard_shortcuts.hbs info_overlay: Render keyboard shortcuts using info_overlay. 2021-06-27 18:29:52 -07:00
left_sidebar.hbs tippy: Set default placement of tooltips to top. 2021-07-07 10:23:31 -07:00
left_sidebar_stream_setting_popover.hbs left_sidebar: Replace cog icon with plus icon. 2021-06-08 14:55:48 -07:00
lightbox_overlay.hbs lightbox_overlay: “Pan and Zoom” → “Pan & zoom”. 2021-06-21 16:38:11 -07:00
loader.hbs
markdown_help.hbs lint: Fix badly quoted strings tagged for translation. 2021-05-09 20:16:28 -07:00
markdown_time_tooltip.hbs markdown: Rewrite tooltips for <time> elements. 2021-07-05 18:09:47 -07:00
markdown_timestamp.hbs markdown: Add fa-clock icon before markdown timestamps. 2021-03-14 22:57:01 -07:00
me_message.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
message_avatar.hbs message_body: Fix -3px alignment kludge using whitespace control. 2021-06-23 09:10:50 -07:00
message_body.hbs message_body: Rename "Condense" to "Show less". 2021-07-05 20:15:14 -07:00
message_controls.hbs tippy: Set default placement of tooltips to top. 2021-07-07 10:23:31 -07:00
message_edit_form.hbs message_edit: Show loading indicator inside the button. 2021-07-05 17:24:28 -07:00
message_edit_history.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
message_group.hbs
message_hidden_dialog.hbs message view: Allow revealing hidden message from muted sender. 2021-05-05 09:15:45 -07:00
message_history_modal.hbs message_edit_history: Dynamically load modal rather than statically. 2021-06-18 18:13:00 -07:00
message_reaction.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
message_reactions.hbs message_controls: Hide irrelevant icons for spectators. 2021-06-16 10:19:07 -07:00
message_view_header.hbs navbar: Remove buggy nth-last-child logic. 2021-07-05 18:20:25 -07:00
mobile_message_buttons_popover_content.hbs
more_topics.hbs topic_list_item: Use `unread_counts` class for showing unread count. 2021-04-14 10:57:16 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs popovers: Add search typeahead to Move topic popover. 2021-05-09 19:32:33 -07:00
muted_topic_ui_row.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
muted_user_ui_row.hbs settings: Add UI page for managing muted users. 2021-04-21 10:17:44 -07:00
navbar.hbs navbar: Migrate to handlebars. 2021-07-06 16:46:50 -07:00
navbar_icon_and_title.hbs navbar: Improve click area around stream name. 2020-06-16 17:26:55 -07:00
new_stream_user.hbs stream_create: Use ListWidget to render list of all users. 2021-04-25 08:54:08 -07:00
new_stream_users.hbs lint: Fix badly quoted strings tagged for translation. 2021-05-09 20:16:28 -07:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
pm_list_item.hbs left_sidebar: Replace user_circle_class with fa fa-group icon. 2021-04-30 16:02:29 -07:00
recent_topic_row.hbs tippy: Set default placement of tooltips to top. 2021-07-07 10:23:31 -07:00
recent_topics_filters.hbs recent_topic: Add role and area properties according to MDN docs. 2021-03-16 14:54:22 -07:00
recent_topics_table.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
recipient_row.hbs topic links: Add tooltip explaining link. 2021-07-07 10:33:39 -07:00
remind_me_popover_content.hbs
right_sidebar.hbs tooltip: Improve tooltip placement for search users icon in right sidebar. 2021-07-06 15:26:53 -07:00
search_operators.hbs info_overlay: Render search operators using info_overlay. 2021-06-28 09:14:09 -07:00
set_status_overlay.hbs user_status: Migrate from overlay to modal. 2021-06-25 09:43:55 -07:00
settings_tab.hbs settings: Separate "Your account" section in two different sections. 2021-06-30 16:56:03 -07:00
single_message.hbs
starred_messages_sidebar_actions.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
stream_creation_form.hbs stream_creation_form: Replace `everyone` with `public` in stream_privacy_policy. 2021-06-20 17:08:16 -07:00
stream_member_list_entry.hbs templates: Remove form-inline class from stream setting forms. 2021-06-18 12:24:02 -07:00
stream_privacy.hbs
stream_settings_checkbox.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
stream_sidebar_actions.hbs templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
stream_sidebar_row.hbs stream_sidebar_row: Use tooltips for showing stream name on hover. 2021-07-07 10:09:33 -07:00
stream_subscription_request_result.hbs stream settings: Rename stream_subscription_info for readability. 2021-06-30 14:54:28 -07:00
stream_topic_widget.hbs templates: Escape some unescaped > and & characters. 2021-05-20 12:09:47 -07:00
stream_types.hbs templates: Fix incorrect class name used for tooltips. 2021-06-29 17:37:52 -07:00
subscription.hbs subscription: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00
subscription_count.hbs streams: Format subscriber count according to browser locale. 2020-07-06 11:27:43 -07:00
subscription_members.hbs stream settings: Rename stream_subscription_info for readability. 2021-06-30 14:54:28 -07:00
subscription_privacy.hbs
subscription_setting_icon.hbs
subscription_settings.hbs templates: Wrap subscription settings into 3 respective sections. 2021-07-05 14:36:45 -07:00
subscription_stream_privacy_modal.hbs i18n: Fix translation tags in subscription_stream_privacy modal. 2021-06-23 17:45:02 -07:00
subscription_table_body.hbs subscription_table_body: Add tippy tooltip to create_stream_button. 2021-06-08 14:55:48 -07:00
subscription_type.hbs streams: Add frontend code for moderators only stream post policy. 2021-05-01 08:21:50 -07:00
subscriptions.hbs
topic_edit_form.hbs
topic_list_item.hbs left-sidebar: Add support for showing resolve-topic-prefix. 2021-07-05 18:02:40 -07:00
topic_muted.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
topic_sidebar_actions.hbs topic_sidebar: Add support to copy topic link to clipboard. 2021-06-24 11:26:55 -07:00
typeahead_list_item.hbs css: Add separate class for typeahead items with no presence circle. 2021-03-12 02:10:21 -08:00
typing_notification.hbs templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
typing_notifications.hbs typing: Display several people are typing... 2021-04-07 00:17:30 -07:00
user_group_info_popover.hbs
user_group_info_popover_content.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
user_group_list_item.hbs popovers: Add tabs for profile, groups and streams in user_info modal. 2021-06-11 07:56:32 -07:00
user_info_popover_content.hbs tippy: Set default placement of tooltips to top. 2021-07-07 10:23:31 -07:00
user_info_popover_title.hbs
user_presence_row.hbs zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
user_presence_rows.hbs docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
user_profile_modal.hbs minor: Make group tab selector in profile modal more specific. 2021-07-02 13:53:46 -07:00
user_stream_list_item.hbs profile: Add tooltip to hint unsubscription flow for private stream. 2021-06-30 15:17:27 -07:00
view_code_in_playground.hbs view_code_in_playground: Use tippy for tooltip. 2021-04-07 17:38:40 -07:00