From e2908319ab5f62f987dbe46cb513e589e1f41f50 Mon Sep 17 00:00:00 2001 From: EvanStreams Date: Tue, 28 Jul 2026 09:07:14 -0400 Subject: [PATCH] Consolidate starter channels and define default promotion channels --- app/models/onboarding_scenarios/base.rb | 2 +- app/models/onboarding_scenarios/default_join.rb | 2 +- app/models/onboarding_scenarios/slack_join.rb | 2 +- config/slack_channels.yml | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/models/onboarding_scenarios/base.rb b/app/models/onboarding_scenarios/base.rb index 6062bc10..675070d8 100644 --- a/app/models/onboarding_scenarios/base.rb +++ b/app/models/onboarding_scenarios/base.rb @@ -48,7 +48,7 @@ def slack_user_type = :multi_channel_guest def slack_channels = [] # Returns array of channel names/IDs to add when promoting guest to full member - def promotion_channels = [] + def promotion_channels = chans(:announcements, :lounge, :help, :news_wire, :slack_guide) # Returns :internal_tutorial or :external_program # Defaults to :internal_tutorial so every scenario gets the Flaming Skull welcome diff --git a/app/models/onboarding_scenarios/default_join.rb b/app/models/onboarding_scenarios/default_join.rb index 7a984c22..95bc99ff 100644 --- a/app/models/onboarding_scenarios/default_join.rb +++ b/app/models/onboarding_scenarios/default_join.rb @@ -23,7 +23,7 @@ def slack_channels channels end - def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :happenings, :community, :hardware, :code, :ship, :neighbourhood, :library, :lounge, :help).values + def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :lounge, :help, :news_wire, :slack_guide).values def send_ephemeral_in_channel? = true diff --git a/app/models/onboarding_scenarios/slack_join.rb b/app/models/onboarding_scenarios/slack_join.rb index 7490e389..9f0abf4a 100644 --- a/app/models/onboarding_scenarios/slack_join.rb +++ b/app/models/onboarding_scenarios/slack_join.rb @@ -24,7 +24,7 @@ def slack_channels channels end - def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :happenings, :community, :hardware, :code, :ship, :neighbourhood, :library, :lounge, :help).values + def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :lounge, :help, :news_wire, :slack_guide).values def send_ephemeral_in_channel? = true diff --git a/config/slack_channels.yml b/config/slack_channels.yml index d6c38a01..805ff90a 100644 --- a/config/slack_channels.yml +++ b/config/slack_channels.yml @@ -84,4 +84,5 @@ shared: hackatime_help: C0AFG0XGGMP ysws: C0710J7F4U9 leaders: C02PA5G01ND - leaders_bulletin: C0AQ1CG4JLD \ No newline at end of file + leaders_bulletin: C0AQ1CG4JLD + news_wire: C0BJ6LTLAFJ \ No newline at end of file