Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions app/models/onboarding_scenarios/beest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ def title = "Welcome to Hack Club Beest"

def form_fields = [ :first_name, :last_name, :primary_email, :birthday, :country ]

def slack_user_type = :multi_channel_guest
def slack_user_type = :full_member

def slack_channels = chans(:beest, :beest_bulletin, :beest_help, :welcome_to_hack_club, :help)
def slack_channels = chans(:beest, :beest_bulletin, :beest_help, :identity_help, :help, :welcome_to_hack_club, :slack_guide, :library, :lounge, :welcome, :happenings, :community, :announcements, :news_wire)

def first_step = :welcome

def slack_onboarding_flow = :internal_tutorial

Expand Down
7 changes: 4 additions & 3 deletions app/models/onboarding_scenarios/horizons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ def title = "Welcome to Horizons!"

def form_fields = [ :first_name, :last_name, :primary_email, :birthday, :country ]

def slack_user_type = :multi_channel_guest
def slack_user_type = :full_member

def slack_channels = chans(:horizons, :horizons_help, :horizons_bulletin, :welcome_to_hack_club)
def slack_channels = chans(:horizons, :horizons_help, :horizons_bulletin, :identity_help, :help, :welcome_to_hack_club, :slack_guide, :library, :lounge, :welcome, :happenings, :community, :announcements, :news_wire)

def first_step = :welcome

def slack_onboarding_flow = :internal_tutorial

Expand All @@ -21,7 +23,6 @@ def card_attributes = { wide_logo: true }

def dialogue_flow
{
intro: { template: "tutorial/horizons/intro", next: :welcome },
welcome: { template: "tutorial/horizons/03_welcome", next: nil },
horizons_arcana: { template: "tutorial/horizons/04a_arcana", next: nil },
horizons_sol: { template: "tutorial/horizons/04b_sol", next: nil },
Expand Down
6 changes: 5 additions & 1 deletion app/models/onboarding_scenarios/macondo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ def title = "time to go on an adventure!"

def form_fields = [ :first_name, :last_name, :primary_email, :birthday, :country ]

def slack_user_type = :full_member

def slack_onboarding_flow = :internal_tutorial
def slack_channels = chans(:macondo, :macondo_help, :macondo_announcements, :welcome_to_hack_club)
def slack_channels = chans(:macondo, :macondo_help, :macondo_announcements, :identity_help, :help, :welcome_to_hack_club, :slack_guide, :library, :lounge, :welcome, :happenings, :community, :announcements, :news_wire)

def first_step = :welcome

def next_action = :home

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ when 0
header "🎉 welcome in!"

section <<~TEXT, markdown: true
Great! The Code of Conduct is enforced by the Fire Department. DM <@U07K4TS9HQE> if you ever have a concern.
You're in! All channels are open to you, reload Slack to see them.

You now have access to all channels! Reload Slack to see them.
We take our <https://hackclub.com/conduct|Code of Conduct> seriously, it's enforced by the Fire Department. DM <@U07K4TS9HQE> if you ever have a concern.

Visit <##{chan_welcome}> for questions, advice, or just to introduce yourself!

Expand All @@ -40,6 +40,12 @@ when 0
**Horizons is a series of hackathons being run all around the world. Our flagship event is Horizons Nexus, but we have a selection of subevents around the world that you can join.
TEXT

actions [
button("I'll follow the CoC!", "tutorial_agree", style: "primary")
]

divider

section "? Click a button below to be added!", markdown: true

actions [
Expand Down