zulip/web
roanster007 273081d0a6 lightbox_view: Fix media title update on change in title.
Presently in a session when an image or video title is updated,
the same change is not reflected in the lightbox view of
them, until a new session is made.

This is because the metadata of the media is stored in Map
for the session with the preview_src as keys, and hence,
when title is changed the preview_src being same, the title
change is not reflected inside lightbox view.

This is fixed by modifing the asset_map (cache map) keys
from preview_src to an array of preview_src, and the media
title. Hence, when title is modified now, the keys won't map
to the existing value, and hence new metadata would be
shown.
A new function get_asset_map_key_for_media() introduced
to get the corresponing metadata from this asset_map
by passing in the prview_src and media elements.

Fixes #21311
2023-11-08 14:10:51 -08:00
..
e2e-tests buddy list: Rename user_presences to buddy-list-users-matching-view. 2023-10-31 16:06:07 -07:00
generated
html
images inbox: Improve look of empty inbox view. 2023-10-20 17:13:33 -07:00
shared icons: Add chevron-down svg icon for dropdowns. 2023-11-07 16:55:34 -08:00
src lightbox_view: Fix media title update on change in title. 2023-11-08 14:10:51 -08:00
styles personal_menu: Add opacity hover effect on clear status button. 2023-11-08 10:19:24 -08:00
templates personal_menu: Add different colors for status text. 2023-11-08 10:19:24 -08:00
tests compose: Always retain link formatting when pasting just a link. 2023-11-08 09:51:33 -08:00
third bootstrap: Remove bootstrap-dropdown library. 2023-10-21 10:54:32 -07:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-10-09 14:16:23 -07:00
debug-require-webpack-plugin.ts eslint: Forbid unchecked casts in TypeScript. 2023-10-26 09:54:30 -07:00
debug-require.js
postcss.config.js
webpack.assets.json urls: Show sponsorship page on a new URL. 2023-11-06 14:55:14 -08:00
webpack.config.ts webpack_public_path: Replace with webpack 5 publicPath: "auto" setting. 2023-10-16 10:36:27 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00