This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
feat: /join onboarding asks what the Link Page is for via owner-registered intents - #440
Merged
Merged
Conversation
…tered intents
/join assumed every visitor was a musician (pre-checked 'I am a musician'),
which steered venues and promoters into creating fake artist profiles.
- New ec_onboarding_join_intents filter: integrations register the choices
({id, label, roles}); onboarding stays owner-neutral.
- With intents registered, /join onboarding shows one radio question,
'What's your Link Page for?', first choice pre-selected, instead of role
checkboxes. The chosen intent sets the roles server-side.
- The intent is stored (onboarding_join_intent) and passed to
ec_onboarding_join_destination as a 4th argument so the integration can
route each kind of member to its own Link Page setup.
- Unknown intents are rejected. With no intents registered, onboarding is
unchanged.
Contributor
Homeboy Results —
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/join assumed every visitor was a musician. Venues and promoters had no path except creating a fake artist profile.
ec_onboarding_join_intentsfilter ({id, label, roles}). Onboarding names no owner types; extrachill-network registers artist, venue and promoter in a companion PR.user_is_artist/user_is_professionalserver-side.onboarding_join_intentand passed toec_onboarding_join_destinationas a 4th argument.invalid_join_intent. With no intents registered, behaviour is unchanged.Test:
OnboardingJoinIntentTest(filtering, roles from intent, destination args, rejection). Companion PRs: extrachill-api (passjoin_intentthrough the REST route) and extrachill-network (register intents and route them).