A platform for community discussion. Free, open, simple.
DEV: Set priorities on user tips (#29176)
Jarek Radosza3ea2886dccd
diff --git a/app/assets/javascripts/discourse/app/components/header/user-dropdown/notifications.gjs b/app/assets/javascripts/discourse/app/components/header/user-dropdown/notifications.gjsindex 281a08ac2fd..c20de9203fc 100644--- a/app/assets/javascripts/discourse/app/components/header/user-dropdown/notifications.gjs+++ b/app/assets/javascripts/discourse/app/components/header/user-dropdown/notifications.gjs@@ -64,6 +64,7 @@ export default class Notifications extends Component {@titleText={{i18n "user_tips.first_notification.title"}}@contentText={{i18n "user_tips.first_notification.content"}}@showSkipButton={{true}}+ @priority={{40}}/>{{/if}}diff --git a/app/assets/javascripts/discourse/app/components/suggested-topics.hbs b/app/assets/javascripts/discourse/app/components/suggested-topics.hbsindex c7acf98180e..58703a14eb3 100644--- a/app/assets/javascripts/discourse/app/components/suggested-topics.hbs+++ b/app/assets/javascripts/discourse/app/components/suggested-topics.hbs@@ -12,6 +12,7 @@@titleText={{i18n "user_tips.suggested_topics.title"}}@contentText={{i18n "user_tips.suggested_topics.content"}}@placement="top-start"+ @priority={{10}}/>{{/unless}}diff --git a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbsindex 5256f012f86..e7498a441ec 100644--- a/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs+++ b/app/assets/javascripts/discourse/app/components/topic-footer-buttons.hbs@@ -97,6 +97,7 @@@triggerSelector=".notifications-button"@titleText={{i18n "user_tips.topic_notification_levels.title"}}@contentText={{i18n "user_tips.topic_notification_levels.content"}}+ @priority={{20}}/>{{/if}}diff --git a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbsindex 32354fb917b..cea43f8ef68 100644--- a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs+++ b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs@@ -67,6 +67,7 @@@contentText={{i18n "user_tips.topic_timeline.content"}}@placement="left"@triggerSelector=".timeline-scrollarea-wrapper"+ @priority={{30}}/><div class="timeline-scrollarea-wrapper">