From 5f005cb4252da2e8ef41e837d786acf4fd4f2307 Mon Sep 17 00:00:00 2001 From: 24c02 <163450896+24c02@users.noreply.github.com> Date: Thu, 5 Feb 2026 14:39:03 -0500 Subject: [PATCH] camp the fire? --- app/models/onboarding_scenarios/campfire.rb | 11 ++++++++++- .../tutorial/campfire/intro.slack_message.slocks | 10 ++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 app/views/slack/tutorial/campfire/intro.slack_message.slocks diff --git a/app/models/onboarding_scenarios/campfire.rb b/app/models/onboarding_scenarios/campfire.rb index b1c57d4..99859ff 100644 --- a/app/models/onboarding_scenarios/campfire.rb +++ b/app/models/onboarding_scenarios/campfire.rb @@ -12,7 +12,9 @@ module OnboardingScenarios def slack_user_type = :multi_channel_guest - def slack_channels = chans(:campfire_flagship, :campfire_flagship_bulletin, :campfire_flagship_help) + def slack_channels = chans(:campfire_flagship, :campfire_flagship_bulletin, :campfire_flagship_help, :welcome_to_hack_club) + + def slack_onboarding_flow = :internal_tutorial def next_action = :home @@ -21,5 +23,12 @@ module OnboardingScenarios def card_attributes = { wide_logo: true } def dark_mode_background_path = "images/campfire/campfire.png" + + def dialogue_flow + { + intro: { template: "tutorial/campfire/intro", next: :welcome }, + welcome: { template: "tutorial/03_welcome", next: nil } + } + end end end diff --git a/app/views/slack/tutorial/campfire/intro.slack_message.slocks b/app/views/slack/tutorial/campfire/intro.slack_message.slocks new file mode 100644 index 0000000..8fd22a5 --- /dev/null +++ b/app/views/slack/tutorial/campfire/intro.slack_message.slocks @@ -0,0 +1,10 @@ +image "https://cdn.hackclub.com/019c297b-5d42-7256-a5e5-7d8f9f7adcd5/welcome.gif", "Welcome to Hack Club!" + +section <<~EOFD, markdown: true + Right now you can only see a few channels. + To access other channels, you must read and agree to our . +EOFD + +actions [ + button("I'll follow the CoC!", "tutorial_agree", style: "primary") + ]