zulip/templates/zerver
Sayam Samal 9a12d1798e read_receipts: Fix duplication bug when opening menu repeatedly.
The (1) delay in fetching the read receipts data from the api call to
`/json/messages/${message_id}/read_receipts`; followed by the execution
of the success callback function, and the (2) use of `.append()` to
render the modal and user list, together lead to duplication of the read
receipts modal and also the user list inside the read receipts menu.

This commit adds a check to set the read receipts menu contents only if
the read receipts modal for the selected message ID is open by the time
the network request is resolved.

In addition, this commit also uses the `on_shown` hook instead of the
`on_show` hook in the read receipts modal logic, to add a delay in the
calling of the read receipts API, which prevents the stacking of the
requests.
2024-02-22 10:49:29 -08:00
..
app read_receipts: Fix duplication bug when opening menu repeatedly. 2024-02-22 10:49:29 -08:00
config_error config_error: Split error pages into their own pages. 2023-10-11 17:13:01 -07:00
development email-log: Update CSS styles for dev environment email log. 2024-02-12 11:35:36 -08:00
emails corporate: Send a reminder email 2 months before the end date. 2024-02-21 10:43:23 -08:00
include
integrations docs: Optimize /api links to skip trailing slash redirect. 2024-02-14 21:06:03 -05:00
policies_absent
policies_minimal documentation: Support having no sidebar for policies docs. 2024-01-07 19:11:16 -08:00
tests/markdown
accounts_accept_terms.html accounts: Allow user to change email visibility during first login. 2023-05-16 13:52:56 -07:00
accounts_home.html login: Remove external_authentication_methods from page_params. 2023-12-29 13:02:12 -08:00
accounts_send_confirm.html registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
auth_subdomain.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
base.html user docs: Convert browser scrollbar overflow from .markdown to html. 2023-08-30 15:34:34 -07:00
change_email_address_visibility_modal.html dialog_widget: Rename "dialog_cancel_button" to "dialog_exit_button". 2023-07-25 10:25:12 -07:00
close_window.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
compare-education.html
confirm_continue_registration.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
create_realm.html templates: Add realm information fields in create_realm.html. 2023-03-27 15:44:42 -07:00
deactivated.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
desktop_login.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
desktop_redirect.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
dev_env_email_access_details.html
digest_base.html emails: Inline CSS in emails in build_email. 2023-04-05 12:22:29 -07:00
documentation_main.html skip_navigation: Add skip navigation link to /help and /api sites. 2024-02-14 15:08:45 -06:00
email.html
find_account.html find_account: Add button to send another email. 2024-01-19 09:02:03 -08:00
footer.html footer: Add social links with icons. 2023-11-29 10:37:16 -08:00
gradients.html
insecure_desktop_app.html web: Save a needless 301 redirect from /apps to /apps/. 2023-03-24 14:51:01 -07:00
invalid_email.html templates: Add CSS formatting to invalid email redirect page. 2023-04-26 15:41:20 -07:00
invalid_realm.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
landing_nav.html portico: Link to Semsee case study. 2024-02-22 10:33:31 -08:00
log_into_subdomain_token_invalid.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
login.html login: Remove external_authentication_methods from page_params. 2023-12-29 13:02:12 -08:00
meta_tags.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
new_user_email_address_visibility.html templates: Extract html for new user email address visibility. 2023-05-16 13:52:56 -07:00
no_spare_licenses.html templates: Add CSS formatting to no available licenses page. 2023-04-26 15:41:20 -07:00
portico-header-dropdown.html header: Avoid using `.dropdown` for class name. 2024-01-12 08:40:51 -08:00
portico-header.html skip_navigation: Add skip navigation link to /help and /api sites. 2024-02-14 15:08:45 -06:00
portico-help.html
portico.html portico: Skip footer and adjust header on invalid realm. 2023-11-01 11:24:12 -07:00
portico_signup.html
rate_limit_exceeded.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
realm_creation_disabled.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
realm_creation_form.html registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
realm_creation_link_invalid.html templates: Use static() helper to generate /static/ URLs. 2023-02-14 17:17:06 -05:00
realm_reactivation.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
realm_reactivation_link_error.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
realm_redirect.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
register.html registration: Set the organization language at creation time. 2023-10-26 16:27:35 -07:00
remote_realm_server_mismatch_error.html templates: Move remote_realm_server_mismatch_error.html to zerver. 2024-01-15 16:50:48 -08:00
reset.html reset: Tag "forgot password" text for translation. 2023-02-21 09:16:22 -08:00
reset_confirm.html portico: Remove form-horizontal class from some portico pages. 2023-01-19 17:24:14 -08:00
reset_done.html templates: Update `reset_done.html` page text and title. 2023-02-28 11:45:01 -08:00
reset_emailed.html templates: Add HTML title element to templates that extend base/portico. 2022-09-19 20:17:17 -07:00
social_auth_select_email.html social_auth_select_email: Remove form-horizontal class. 2023-01-19 17:24:14 -08:00
unsubscribe_link_error.html templates: Add CSS formatting to unsubscribe link error page. 2023-04-26 15:41:20 -07:00
unsubscribe_success.html templates: Add `account-creation` class to `unsubscribe_success.html`. 2023-04-25 08:56:30 -07:00
unsupported_browser.html web: Save a needless 301 redirect from /apps to /apps/. 2023-03-24 14:51:01 -07:00