FIX: Try to match advanced tutorial reset first (#8048)
Advanced trigger is currently broken on:
ca es et fr he it pt_BR
And that is because the translation levels for the plugin are kinda low, so I would guess it’s broken for half the languages.
Since we have only two tracks for a while now, a quick fix to me is inverting the selectors.
This patch works because the advanced key is “larger” than the new user one.
diff --git a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb index 1f0ad28..bdebd27 100644 --- a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb +++ b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb @@ -8,8 +8,8 @@ module DiscourseNarrativeBot PUBLIC_DISPLAY_BOT_HELP_KEY = 'discourse-narrative-bot:track-selector:display-bot-help'.freeze TRACKS = [ - NewUserNarrative, - AdvancedUserNarrative + AdvancedUserNarrative, + NewUserNarrative ] TOPIC_ACTIONS = [
GitHub sha: 45ff119f