zulip/web/templates
Trident Pancake 6fb16f3598 message_edit: Disable save btn after edit time limit
Fixes #25413.

The old code was disabling the save button wrong by using
`.addClass("disabled")` instead of `prop()`.

Added tooltip for the disabled save button as per issue #25413 and changed
"Times up!" color to red.

The textbox readonly logic was changed to no longer becoming readonly. Reason
being there are edge cases involving the compose buttons such that simply
marking the textbox as readonly is not sufficient.

E.g. using the compose buttons after readonly still modifies the content.

One solution might be to just hide the compose buttons visually. However, there
are edge cases for that too. If preview mode was previously active, then
perhaps that state needs to be reverted. If any modal is open, such as the emoji
picker, then that needs to be closed. Solving these edge cases doesn't
improve the user experience. Keeping the textbox editable allows an easier way
for user to copy the text and don't have weird cases.
2023-05-16 15:59:29 -07:00
..
compose_banner compose: Open send later modal when user accepts the warning on scheduling message. 2023-05-10 17:54:28 -07:00
confirm_dialog message_edit: Show modal when trying to move older messages. 2023-04-11 11:07:23 -07:00
navbar_alerts web: Save a needless 301 redirect from /apps to /apps/. 2023-03-24 14:51:01 -07:00
settings realm_export: Do not assume null extra_data is special. 2023-05-16 14:05:01 -07:00
stream_settings streams: Correctly disable adding subscribers while creating streams. 2023-05-14 11:19:41 -07:00
unread_banner unread_banner: Apply updated design to message feed banners. 2023-05-15 15:59:12 -07:00
user_group_settings user groups: Minor fixes in CSS common to #groups and #streams overlay. 2023-04-24 16:53:35 -07:00
widgets
about_zulip.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
actions_popover_content.hbs popovers: Shorten 'Quote or reply' label. 2023-05-16 12:36:29 -07:00
actions_popover_template.hbs
all_messages_sidebar_actions.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
announce_stream_docs.hbs
blueslip_stacktrace.hbs blueslip: Show more-info context in alert popup, if we have it. 2023-05-09 13:16:28 -07:00
bookend.hbs i18n: Fix encoding of stream bookends. 2023-04-24 12:19:06 -07:00
buddy_list_tooltip_content.hbs
change_email_modal.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
compose.hbs select_recipient_widget: Use "button" tag instead of "div". 2023-05-14 16:35:48 -07:00
compose_control_buttons.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
compose_control_buttons_in_popover.hbs
compose_control_buttons_popover.hbs
compose_select_enter_behaviour_popover.hbs
copy_code_button.hbs popovers: Add Copied! tooltip when `copy code` button is clicked. 2023-04-24 11:10:19 -07:00
copy_invite_link.hbs
copy_message_button.hbs copy_message_button: Use `div` HTML tag instead of `button`. 2023-03-27 16:11:19 -07:00
copy_to_clipboard_svg.hbs
default_language_modal.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
dialog_change_password.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
dialog_widget.hbs modal: Make the modal content scrollable instead of the whole modal. 2023-03-01 15:36:29 -08:00
draft.hbs message_headers: Abbrevate direct message recipient names. 2023-05-09 13:43:40 -07:00
draft_table_body.hbs drafts: Add abstract classes for messages in an overlay. 2023-04-14 17:38:37 -07:00
drafts_sidebar_action.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
dropdown_list.hbs dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
dropdown_list_container.hbs dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
edit_content_button.hbs
edited_notice.hbs tooltips: Convert edit notice tooltips to tippy. 2023-04-28 15:34:59 -07:00
embedded_bot_config_item.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
emoji_popover.hbs
emoji_popover_content.hbs
emoji_popover_emoji.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
emoji_popover_search_results.hbs
emoji_showcase.hbs
empty_feed_notice.hbs templates: Remove references to undefined fields. 2023-03-22 17:10:28 -07:00
favicon.svg.hbs
feedback_container.hbs
filter_topics.hbs
gear_menu.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
giphy_picker.hbs
giphy_picker_mobile.hbs
help_link_widget.hbs
hotspot_icon.hbs
hotspot_overlay.hbs
inline_decorated_stream_name.hbs templates: Add missing "aria-hidden" attribute. 2023-04-26 10:55:58 -07:00
input_pill.hbs
invitation_failed_error.hbs
invite_user_modal.hbs invite: Add checkbox to select all default streams. 2023-05-09 17:05:18 -07:00
keyboard_shortcuts.hbs hotkey: Repurpose `s` to toggle conversation view and remove `shift+s`. 2023-05-01 20:32:58 -07:00
left_sidebar.hbs left_sidebar: Move tooltips to the `focus` element. 2023-05-12 17:35:52 -07:00
left_sidebar_stream_setting_popover.hbs
lightbox_overlay.hbs
loader.hbs
login_to_access.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
login_to_view_image_button.hbs
markdown_help.hbs markdown_help: Fix reference to possibly missing variables. 2023-04-04 12:56:18 -07:00
markdown_time_tooltip.hbs
markdown_timestamp.hbs
me_message.hbs tooltips: Add tippy tooltip for view_user_card. 2023-04-27 18:12:32 -07:00
message_avatar.hbs tooltips: Add tippy tooltip for view_user_card. 2023-04-27 18:12:32 -07:00
message_body.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
message_controls.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
message_edit_form.hbs message_edit: Disable save btn after edit time limit 2023-05-16 15:59:29 -07:00
message_edit_history.hbs
message_feed_bottom_whitespace.hbs
message_feed_errors.hbs
message_group.hbs
message_hidden_dialog.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
message_history_modal.hbs
message_inline_image_tooltip.hbs
message_reaction.hbs templates: Fix   syntax. 2023-03-15 16:34:32 -07:00
message_reactions.hbs
message_view_header.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
mobile_message_buttons_popover_content.hbs private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
more_pms.hbs
more_topics.hbs topic_list: Show muted unread counts in muted streams. 2023-05-01 21:13:53 -07:00
more_topics_spinner.hbs
move_topic_to_stream.hbs topic_edit: Rename `inline_topic_edit` to `move_messages_edit_topic`. 2023-05-09 13:51:07 -07:00
muted_user_ui_row.hbs
narrow_to_compose_recipients_tooltip.hbs
navbar.hbs navbar: Widen navbar to fill the full screen on large screens. 2023-05-09 16:25:28 -07:00
navbar_icon_and_title.hbs stream_privacy: Use new lock and hashtag icons. 2023-04-10 23:41:30 -07:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
pm_list_item.hbs left_sidebar: Replace the presence dot with bot icon for bots. 2023-04-28 19:14:00 -07:00
presence_row.hbs
presence_rows.hbs
read_receipts.hbs
read_receipts_modal.hbs
recent_topic_row.hbs recent: Replace presence dot with bot icon for bots. 2023-04-28 19:14:00 -07:00
recent_topics_filters.hbs private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
recent_topics_table.hbs
recipient_row.hbs message_headers: Abbrevate direct message recipient names. 2023-05-09 13:43:40 -07:00
remind_me_popover_content.hbs
resolve_topic_time_limit_error_modal.hbs message_edit: Show modal if user cannot resolve topics. 2023-04-17 11:25:28 -07:00
right_sidebar.hbs tooltips: Shift all tooltip templates to tooltip_templates.hbs. 2023-05-09 11:10:58 -07:00
scheduled_message.hbs scheduled_message: Extract common elements into a separate file. 2023-05-14 16:46:20 -07:00
scheduled_message_stream_pm_common.hbs scheduled_message: Change tooltip of failure icon. 2023-05-15 14:43:04 -07:00
scheduled_messages_overlay.hbs scheduled_mesages: Use events to update scheduled message data. 2023-05-01 22:45:03 -07:00
search_list_item.hbs
search_operators.hbs narrow: Document new filters `is:dm`, `dm` and `dm-including`. 2023-04-25 09:07:08 -07:00
send_later_modal.hbs send_later: Extract send later options to separate template. 2023-05-10 16:14:10 -07:00
send_later_modal_options.hbs send_late: Change the class `send_later_options` to an id. 2023-05-15 14:52:06 -07:00
send_later_popover.hbs popover_menus: Show last selected time in send later popover. 2023-05-01 22:45:03 -07:00
set_status_overlay.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
settings_overlay.hbs settings: Update the 'Muted topics' setting. 2023-04-25 12:46:05 -07:00
settings_tab.hbs user_topics: Rename 'muted_topics_settings.hbs'. 2023-04-25 12:46:05 -07:00
single_message.hbs message_row: Rename `local` class to be more verbose. 2023-04-17 12:19:20 -07:00
starred_messages_sidebar_actions.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
status_emoji.hbs css: Hyphenate .status-emoji selector. 2023-03-27 17:31:31 -07:00
status_emoji_selector.hbs css: Hyphenate .smiley-icon selector. 2023-03-27 17:31:31 -07:00
stream_privacy.hbs stream_privacy: Use new lock and hashtag icons. 2023-04-10 23:41:30 -07:00
stream_sidebar_actions.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
stream_sidebar_row.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
stream_topic_widget.hbs
streams_subheader.hbs
subscribe_to_more_streams.hbs
tooltip_templates.hbs drafts: Move code handling keyboard navigation to a separate module. 2023-05-15 14:46:21 -07:00
topic_edit_form.hbs topic_edit: Rename `inline_topic_edit` to `move_messages_edit_topic`. 2023-05-09 13:51:07 -07:00
topic_list_item.hbs left_sidebar: Display unmuted topic in regular font (not faded). 2023-04-24 11:40:58 -07:00
topic_muted.hbs
topic_sidebar_actions.hbs popovers: Tweak mute/unmute icons for topic menu. 2023-04-25 18:00:11 -07:00
topic_typeahead_hint.hbs compose_typeahead: Add hint text to topic typeahead dropdown. 2023-03-20 16:28:28 -07:00
typeahead_list_item.hbs typeahead: Show stream privacy icons in typeahead options. 2023-04-17 17:19:11 -07:00
typing_notification.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
typing_notifications.hbs
user_custom_profile_fields.hbs
user_group_info_popover.hbs
user_group_info_popover_content.hbs
user_group_list_item.hbs
user_info_popover_content.hbs web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
user_info_popover_manage_menu.hbs templates: Replace unnecessary {{#tr}} blocks with {{t}} helper. 2023-03-16 11:26:45 -07:00
user_info_popover_title.hbs
user_profile_modal.hbs profile_popover: Remove the display presence dot for bots. 2023-04-28 19:14:00 -07:00
user_stream_list_item.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
user_topic_ui_row.hbs settings: Update the 'Muted topics' setting. 2023-04-25 12:46:05 -07:00
user_with_status_icon.hbs
view_code_in_playground.hbs