mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 19:13:53 +00:00
Previously, the tooltips for the subscribe and unsubscribe buttons were static, showing the same tooltip regardless of the button's state. This update improves the user experience by introducing dynamic tooltips that reflect the current state of the button. Changes include: - Added multiple HTML tooltip templates for different button states subscribed, unsubscribed. - Updated JavaScript to select and render the appropriate tooltip based on the button's state. - Modified `data-tool-tip-id` prop to use state-specific tooltip templates. Fixes zulip#31500.