mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
This commit migrates the topic_menu popover from stream_popover.js to popover_menus.js. Since the data required for rendering is large, it has been moved inside popover_menus_data.js to improve code readability. Getting the link of the topic for the clipboardJS inside the onMount instance was not working with the existing method. To make it easier to work with, a new attribute, data-clipboard-text, is added to the 'Copy link to topic' anchor tag. This allows the clipboardJS to catch the URL. The value of data-clipboard-text is sent from popover_menus.js to the topic_sidebar_actions template. Fixes: #23891 |
||
|---|---|---|
| .. | ||
| e2e-tests | ||
| generated | ||
| html | ||
| images | ||
| shared | ||
| src | ||
| styles | ||
| templates | ||
| tests | ||
| third | ||
| .browserslistrc | ||
| .gitignore | ||
| babel.config.js | ||
| debug-require-webpack-plugin.ts | ||
| debug-require.js | ||
| postcss.config.js | ||
| webpack.assets.json | ||
| webpack.config.ts | ||
| webpack.dev-assets.json | ||