A platform for community discussion. Free, open, simple.
UX: Move "watching topic" user-tip to the other button (#29323)
Jarek Radoszb2167f7651f6
diff --git a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbsindex f4cc364d3ac..1e3c74d63c5 100644--- a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs+++ b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs@@ -91,17 +91,20 @@<PinnedButton @pinned={{this.topic.pinned}} @topic={{this.topic}} />{{#if this.showNotificationsButton}}+ <TopicNotificationsButton+ @topic={{this.topic}}+ class="notifications-button-footer"+ />+{{#if this.showNotificationUserTip}}<UserTip@id="topic_notification_levels"- @triggerSelector=".notifications-button"+ @triggerSelector=".notifications-button-footer details"@titleText={{i18n "user_tips.topic_notification_levels.title"}}@contentText={{i18n "user_tips.topic_notification_levels.content"}}@priority={{800}}/>{{/if}}-- <TopicNotificationsButton @topic={{this.topic}} />{{/if}}<PluginOutletdiff --git a/app/assets/javascripts/select-kit/addon/components/topic-notifications-button.gjs b/app/assets/javascripts/select-kit/addon/components/topic-notifications-button.gjsindex 80d018ae8c1..fb7ca4e6014 100644--- a/app/assets/javascripts/select-kit/addon/components/topic-notifications-button.gjs+++ b/app/assets/javascripts/select-kit/addon/components/topic-notifications-button.gjs@@ -113,7 +113,7 @@ export default class TopicNotificationsButton extends Component {}<template>- <div class="topic-notifications-button">+ <div class="topic-notifications-button" ...attributes>{{#if this.appendReason}}<p class="reason"><TopicNotificationsOptions