Skip to content
This repository was archived by the owner on Nov 2, 2026. It is now read-only.

feat: /join onboarding asks what the Link Page is for via owner-registered intents - #440

Merged
chubes4 merged 2 commits into
mainfrom
feat/join-link-page-intent
Sep 27, 2026
Merged

chubes4 merged 2 commits into
mainfrom
feat/join-link-page-intent

Conversation

@chubes4

@chubes4 chubes4 commented Sep 27, 2026

Copy link
Copy Markdown
Member

/join assumed every visitor was a musician. Venues and promoters had no path except creating a fake artist profile.

  • New owner-neutral ec_onboarding_join_intents filter ({id, label, roles}). Onboarding names no owner types; extrachill-network registers artist, venue and promoter in a companion PR.
  • On /join with intents registered, onboarding asks one question, What's your Link Page for? The first choice is pre-selected, so a musician does nothing extra. The intent sets user_is_artist / user_is_professional server-side.
  • The intent is stored as onboarding_join_intent and passed to ec_onboarding_join_destination as a 4th argument.
  • Unknown intents return invalid_join_intent. With no intents registered, behaviour is unchanged.

Test: OnboardingJoinIntentTest (filtering, roles from intent, destination args, rejection). Companion PRs: extrachill-api (pass join_intent through the REST route) and extrachill-network (register intents and route them).

…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.
@homeboy-ci

homeboy-ci Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Homeboy Results — extrachill-users

Review lint

✅ review lint — passed

ℹ️ Full options: homeboy self docs commands/lint
Deep dive: homeboy review lint extrachill-users --changed-since cea04d0

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-extrachill-users-review-lint-homeboy-__Extra-Chill_homeboy-action-Linux-php8.4-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-extrachill-users-review-lint-homeboy-__Extra-Chill_homeboy-action-Linux-php8.4-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/extrachill-users/actions/runs/36317962902

Review test

✅ review test — passed

  • 3 passed

ℹ️ Auto-fix lint issues: homeboy refactor extrachill-users --from lint --write
ℹ️ Collect coverage: homeboy review test extrachill-users --coverage
ℹ️ Save test baseline: homeboy review test extrachill-users --baseline
ℹ️ Pass args to test runner: homeboy review test -- [args]
ℹ️ Full options: homeboy self docs commands/test
Deep dive: homeboy review test extrachill-users --changed-since cea04d0

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-extrachill-users-review-test-homeboy-__Extra-Chill_homeboy-action-Linux-php8.4-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-extrachill-users-review-test-homeboy-__Extra-Chill_homeboy-action-Linux-php8.4-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/extrachill-users/actions/runs/36317962902
Tooling versions
  • Homeboy CLI: homeboy 0.391.6+266576d7ccce2121716e56b0501852daa6256aed
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 680379f0
  • Action: Extra-Chill/homeboy-action@v2

@chubes4
chubes4 merged commit 8364951 into main Sep 27, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant