Skip to content

Manimator onboarding scenario - #402

Merged
24c02 merged 10 commits into
mainfrom
manimator-onboarding
Nov 25, 2026
Merged

24c02 merged 10 commits into
mainfrom
manimator-onboarding

Conversation

@cskartikey

@cskartikey cskartikey commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Adds a manimator onboarding scenario for Manimator, where you make math videos with manim in the browser.

Manimator's onboarding story ends with π holding open a portal to Hack Club (hackclub/manimator#12). This scenario makes the Hack Club Auth side look like the other end of that portal, so newcomers don't feel like they've been sent somewhere unrelated.

What's in it

  • OnboardingScenarios::Manimator: π's logo, light and dark backgrounds that continue the portal, π as the Slack bot (bot_icon_url is https://manimator.hackclub.com/pi.png), and full-member Slack with #manimator (added to slack_channels.yml) plus the usual help/welcome/promotion channels. Form fields are name, email, birthday and country.
  • welcome_headline / welcome_subtitle on Base: these let a scenario reword the OAuth welcome page. Both default to nil, so every other scenario keeps "Continue to " / "Sign in or create an account to continue".
  • Scenario body class on pages with a scenario background: the OAuth welcome, signup, code and consent pages show a scenario's background but didn't get its scenario-<slug> class, so a scenario had no way to style the card on them. _scenario_background_style now adds the class.
  • stylesheet_path on Base: a scenario can name its own Vite stylesheet entrypoint, loaded only on its pages. It defaults to nil, and nothing is added to application.scss.
  • entrypoints/scenario_manimator.scss: the card is styled like a manim frame, with a thin rim and its heading in Computer Modern. The rim is ink on paper in light mode and white in dark mode.

Testing

I ran this locally against a Manimator dev server using a local app whose onboarding scenario is set to manimator, and went through welcome → code → signup → consent in both light and dark mode.

After merge

Set the production Manimator app's onboarding scenario to manimator.

🤖 Generated with Claude Code

cskartikey and others added 8 commits November 23, 2026 18:32
welcome_headline and welcome_subtitle, nil by default so every other scenario keeps
'Continue to <program>' / 'Sign in or create an account to continue'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
the oauth welcome, signup, code and consent pages show a scenario's background but
not its scenario-<slug> class, so a scenario couldn't style the card on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
manimator's onboarding ends at a portal to hack club that π holds open, so this side
carries it on: π's logo, a manim frame with the portal's rings of π's digits round
the card, computer modern headings, π's wording, π as the slack bot, and #manimator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scenarios can name a stylesheet_path, loaded only on their pages, so manimator's
styles stay out of application.scss.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bin/brakeman runs with --ensure-latest, so 8.1.0 failed CI; 8.1.1 flags the
joined links' html_safe, which safe_join replaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cskartikey
cskartikey marked this pull request as ready for review November 25, 2026 19:15
@24c02
24c02 merged commit b1ca7ed into main Nov 25, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants