feat(site): add beginner guide with day/night beanstalk design #23
No reviewers
Labels
No labels
ci: approved
ci: preview
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
preview
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Site!23
Loading…
Reference in a new issue
No description provided.
Delete branch "bibiburl/Site:feat/get-involved-guide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
People with an AI subscription but no coding experience need a simple starting point for contributing. Add
/get-involved/with assistant setup links, a copyable starter message, small-task guidance and steps for checking and sharing a draft PR.Design
Adopts Jordan’s commits
fa15667and3957511: a static beanstalk scene with beans by day and ghosts by night, a remembered theme switch and a mobile layout. This replaces the earlier animated delivery scene.Use Jordan’s self-hosted Tsukimi Rounded headings and Mukta body text on both the guide and homepage. Matching the homepage typography is intentional scope for this PR. Remove the unused Bricolage Grotesque and Nunito Sans files; retain the new fonts’ licence and source records.
Review feedback
Artwork permissions: bibiburl confirmed they originally created the images and authorised their use on this site. This is no longer an outstanding review item; existing provenance records are retained.
Addressed:
Still to resolve or consider from Mooki’s review:
Earlier animation-specific feedback is superseded by Jordan’s static design. Ready for review; no deployment requested.
Validation
Passed on the updated local tree: HTML validation of both pages,
node --check public/get-involved/guide.js,git diff --check, andnpx wrangler deploy --dry-run(no deployment).Wrangler previews captured at 1440px and 390px. Inspected desktop dark guide, mobile light guide and mobile homepage; checked theme switching, copy success feedback, loaded fonts and no horizontal overflow at 390px. Full pinned
mise lint/mise testwere not run because mise is unavailable locally; these remain for CI. Previous reviewers’ checks apply to their reviewed commits, not this update.Current screenshots
These show the current static design and typography. Older screenshots in the discussion are historical.
Current beanstalk design, captured from npm run dev: desktop and 390px mobile, light and dark. These screenshots are also included in the main PR description.
Updated typography: Bricolage Grotesque 700 for headings and the Magic Bean homepage title, Nunito Sans for body text and buttons. Fonts are self-hosted with OFL licences and source provenance; Faculty Glyphic and Inter removed. HTML validation, JavaScript syntax and Wrangler dry-run checks pass; desktop/mobile checked in browser. These screenshots supersede the previous font version.
Review of the beginner guide and beanstalk (head
19eb4de)Reviewed head:
19eb4de(two commits, the second one swaps the fonts). I first revieweda1d5186(Faculty Glyphic and Inter), then the author pushed the font change while I worked, so everything below is re-checked on19eb4de. Screenshots from the first head are kept in a separate folder and marked as such.Verdict
Good base, not ready to merge. Keeping it WIP is right. The page does what the description says: it works with JavaScript off, with reduced motion, paused, with the keyboard, in both themes, and it has no horizontal overflow from 320 to 2560 px. The checks pass under the repo's own pinned Node 22.23.5. What stops it today is content and provenance, not code:
Assisted-by/Co-Authored-Bylines the team asks for.About "not mergeable": that is not a conflict. The head's only parent is current
main(53c737b), a trial merge is clean, and the merge box says "This pull request is marked as a work in progress" (screenshot 21). Longshot's agent guide says the same: a WIP PR shows as not mergeable and that alone is no reason to rebase (https://git.magicbean.dev/MagicBeanDev/Longshot/src/branch/main/docs/agent-pull-requests.md).A suggested patch against
19eb4defixes the small, clear items (marked "patch" below). It applies cleanly, passes html-validate and the wrangler dry run, and each change was checked in the browser (screenshots P1 to P9).Must-fix
M1. The Gemini CLI card is out of date for this audience
public/get-involved/index.html:77(card) and:82(thegeminicommand).Google's own docs page now opens with: "Unpaid tier and Google One users: Gemini CLI was replaced by Antigravity CLI on June 18th, 2026" (https://geminicli.com/docs/get-started/). The announcement says Gemini CLI stops serving requests on June 18, 2026 for Google AI Pro and Ultra and for free use through Gemini Code Assist for individuals, and stays only for enterprise licences and paid API keys (https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli). The people this page is for ("use the account you already have") are exactly the ones who lost it.
The replacement is Antigravity CLI, started with
agy(https://antigravity.google/docs/cli/gcli-migration), install and setup at https://antigravity.google/docs/getting-started?tab=cli. It also readsAGENTS.md, so the team's rules still reach it.Suggested: card text
Google → Antigravity CLIlinking to https://antigravity.google/docs/getting-started?tab=cli, and the commandagy. (patch, screenshots P8 and P9.) A maintainer should confirm the free-tier terms before merging; I only confirmed the tool and command exist.Smaller link note: the Codex link
https://learn.chatgpt.com/docs/cliworks but its canonical address is https://learn.chatgpt.com/docs/codex/cli (patch). The Claude Code link is fine, and Claude also has a beginner terminal guide worth linking from "Never used a terminal?": https://code.claude.com/docs/en/terminal-guideM2. Artwork permission and the dependency on an open Longshot PR
public/get-involved/PROVENANCE.txt:3,public/get-involved/art/UPSTREAM-PROVENANCE.txt.What I verified: the ten bean PNGs,
cloud.svgandgrass.svgare byte-identical (SHA-256) to the files in Longshot PR 768 at commit 7e558f7d69500c3f110475a39970b6ae2dc6f904 (MagicBeanDev/Longshot#768), andUPSTREAM-PROVENANCE.txtis a verbatim copy of that commit'sassets/branding/PROVENANCE.txt. The copying is honest.The problems:
Suggested: ask the stickers' supplier (the author of PR 768) in the PR thread, and write the answer into
PROVENANCE.txt, for example: "The ten bean stickers are AI-made, supplied by for the Longshot website (PR 768). Use here: ." Either wait for PR 768 or say in this PR that it does not depend on it and the team accepts the stand-ins. I did not write the permission sentence in the patch because only the team can say what was agreed.M3. The copyable first message misses the team's own agent rules
public/get-involved/index.html:84-91(the#startertext; line 87 and line 91 in particular).Checked against https://git.magicbean.dev/MagicBeanDev/Tooling/src/branch/main/AGENTS.md and https://git.magicbean.dev/MagicBeanDev/Longshot/src/branch/main/AGENTS.md:
Assisted-by:andCo-Authored-By:trailers. The page never mentions it.AGENTS.mdthere.Suggested wording (in the patch, screenshot P4 shows it):
M4. One topic per PR, and the description starts with "what", not "why"
Tooling's CONTRIBUTING: "One topic per pull request" and "Start the description with why the pull request is needed, in one or two plain sentences".
The PR is now: (a) the guide, (b) a new art set, (c) a site-wide font change. Commit 2 (
19eb4de) changes the homepage title and body font (public/index.html:5,:28,:37, newpublic/fonts/), which the description's "adds a Get involved link" does not cover. It also moves the Site away from the type Longshot PR 768 chose for the Longshot website (Faculty Glyphic and Inter), so the two sites would stop matching. Either split the fonts into their own PR with the team's decision linked, or say in the description who asked for it and why.The description has no opening "why". Suggested: "Why: someone with no coding experience who wants to help has no page that says where to start. This adds one, with a message they can paste into their AI assistant."
Should-fix
S1. Tell beginners not to hand the agent unlimited permission
index.html:82(step 2). Nothing on the page warns about "auto-approve" modes, and the page tells a complete beginner to start an agent that can run commands on their computer. Suggested sentence, placed after "Follow the sign-in instructions" (patch, screenshot P9): "Your assistant asks before it runs a command or changes a file. Read each question and say no if you are not sure. Don't switch on any "auto-approve", "yolo" or "dangerously skip permissions" mode."S2. A Discord account is required
index.html:67. "A free Magic Bean account" is created by Sign in with Discord (https://git.magicbean.dev/MagicBeanDev/Tooling/src/branch/main/docs/forge.md: "The first time creates your account"). Say so up front: "A free Discord account. You sign in to Magic Bean's Git with it when it's time to share your work. That creates your Magic Bean account." (patch, screenshot P7)S3. Say which project suits a first task and what it needs installed
Starter text, "the chosen project". Tooling needs only Python 3.8 or newer and git (standard library,
python -I -B tests/run_all.py); the Site's CONTRIBUTING wants the mise toolchain (Node, Python, pre-commit, gitleaks, and so on) beforemise run lintandmise run test; Longshot's CONTRIBUTING is about 36 KB and written for people who build and test the game. The team has the labels "good first issue" and "help wanted" on Longshot but no open issue carries them today (checked), so the page cannot promise a task list. Suggested line in "What you need": "Git and Python 3.8 or newer. Your assistant will tell you if one is missing."S4. The summit label is covered by a bean or by the cheer text a third of the time
style.css:80, 83(label), animationcontribution-tripandcontribution-cheer. I sampled every 100 ms over 26 s at 1440 px: "Growing the project" was covered by the delivering bean in 94 of 260 samples (36 percent) and overlapped by "+1 contribution" in 54 (21 percent). Screenshots 01, 20 and 14 show it. Fix (patch): fade the label out for the stretch of the 12 s loop where the delivery and the cheer happen. With the patch both counts are 0 of 260.S5. Tablet widths hide half of that label under the button
style.css:60(margin: 12px auto 0). At 768 px the workshop sits directly under "Show me how" and the label's "Growing the" is hidden behind the button (screenshot 19a, only "project" shows); the same layout applies at every width up to 900 px. Fix (patch):margin: 40px auto 0; screenshot P1 shows a 25 px clear gap.S6. With JavaScript off the scene is frozen on an ugly frame
style.css:56, 102pause every animation whendata-pausedis missing, so the scene freezes at time zero: bean covering the label, a ghost second note beside the fairy (screenshot 18). The reduced-motion rules already define a clean finished scene (screenshot 10). Fix (patch): add a(scripting: none)condition to the three existing reduced-motion media blocks (style.css:64,:109,:139), so each reads(prefers-reduced-motion: reduce), (scripting: none). Screenshot P2 shows the result; with JavaScript on nothing changes.S7. Copy feedback is a long way from the button, and the touch fallback is wrong
guide.js:20-36,style.css(#copy-status). The "Copied" line sits under the whole message: 466 px below the button on desktop and about 900 px on a 390 px phone, so on a phone it is off screen (screenshot 15, and screenshot 36 in the first-head folder). The button label never changes. The fallback text says "Ctrl+C (Command+C on Mac)", which a phone user cannot do. Fix (patch): the button says "Copied" for 2.5 s, and the fallback adds "or touch and hold it and choose Copy". Checked in the browser: the clipboard holds exactly the message text (screenshot P4).S8. Stored dark theme flashes light first
guide.js:3-5applies the saved theme in adeferscript. With "dark" saved and a light system theme the page is light until the script runs, then switches (screenshot 20; I delayedguide.jsby 2.5 s to hold that state, so on a fast connection the flash is shorter but it can still paint). Fix (patch): a one-line inline script in<head>(afterindex.html:10) and the three lines removed fromguide.js. Screenshot P3 shows the dark page with the script still held back. There is no CSP inpublic/_headers, so an inline script is allowed.S9. Small labels on phones (the description asks for this)
Measured at 390 px: the summit and depot labels and the cheer text are 9 px, the note props are 8 px, and "+1 contribution" is yellow (#ffe100) on the sky blue (#1669e8), 3.8:1 at 9 to 13 px. These are
aria-hiddendecoration, so axe does not fail them (axe 4.14.1: 0 violations in light, dark, desktop and mobile; 15 "incomplete" contrast items, all in the art). Still, nobody can read 9 px. Suggested:clamp(11px, 1vw, 12px)for the two labels, and let the cheer text be white or hide the label text under 700 px. The 3.8:1 hero tagline passes only because it is at least 24 px, which is fine but means it must never shrink.S10. Image weight and the README's own convention
public/get-involved/art/beans/*.pngtotal 232 KB of a page that is about 325 KB on the wire (text gzipped: 21 KB; fonts 72 KB). The Site README says images on the page are WebP, made fromassets/originals. Re-encoding the ten beans with the README's own settings gives 76 KB, a saving of about 156 KB, nearly half the page. The beans are only 92 to 134 px wide and shown at about 104 px, so they will look soft on 2x and 3x phones (their upstream PR says the same). If "copied unchanged" matters for provenance, keep the PNGs inassets/(where the README says originals live) and ship WebP inpublic/. Not in the patch because it changes the provenance claim.S11. Docs
The README still says "The Magic Bean homepage: one static page", its
public/row lists no guide or fonts, and its Artwork section does not mention the borrowed art. Patch: three small README edits.S12. Homepage cost of the font change
public/index.html:5. The homepage had no font files; it now loads an extra render-blockingfonts.cssand 72 KB of fonts (about 31 KB total before, about 104 KB after), so the page swaps from system type to Bricolage after first paint. Either keep the system stack on the homepage, or add<link rel="preload" as="font" type="font/woff2" crossorigin href="/fonts/bricolage-grotesque-latin.woff2">for the title. (Also cosmetic: the stylesheet link sits before the viewport meta tag.)Nice-to-have
art/UPSTREAM-PROVENANCE.txtis published at https://magicbean.dev/get-involved/art/UPSTREAM-PROVENANCE.txt once deployed (everything inpublic/is). It names files this repo does not contain (hero/bean.svg, the wordmark, "Teary Elf Bean", the Longshot preview). Add a first line saying which lines apply to this folder, or quote only the lines that do inPROVENANCE.txt.mise.toml:38-39: the change is needed. CircleCI'stestjob runsmise run test(.circleci/shared.yml:108), which names the HTML files one by one, so without this the new page would never be validated. A glob keeps future pages covered:npx html-validate "public/**/*.html"(I checked it finds a new page and reports its errors). Notemise.tomlis a "full pipeline" path in.circleci/mapping.conf, which is expected.data-paused), keeping the user's own Pause choice.display: none(#copy-status:empty), which some screen readers do not announce when it first appears. [INFERENCE: I did not test with a screen reader.] Keep it in the layout as an empty zero-height element instead.<pre id="starter" tabindex="0">is a focus stop with no name. It works (screenshot in first-head folder, 33), but a shortaria-labelwould help; sinceprehas no role the cleanest fix isrole="group"with a label.<br>in the intro and addtext-wrap: balance.Checks I ran (head
19eb4de)npm ci, then html-validate onpublic/index.htmlandpublic/get-involved/index.htmlwith Node 22.23.5 (the pinned version, from nodejs.org, kept inside my review folder)node --check public/get-involved/guide.js,jq -e . public/.well-known/matrix/client,wrangler deploy --dry-rungit diff --check, trailing whitespace and final newline on all changed text filesmainNot done:
mise run lintas a whole (gitleaks and shellcheck hooks), a screen reader, Firefox and Safari, a real phone, macOS and Windows terminals, a Cloudflare preview (needs theci: previewlabel or a maintainer to addci: approved). Thescriptingmedia feature used in the patch is current in Chromium, Firefox and Safari but I only ran Chromium. The browser tool here kept the pixel ratio at 1.25 whatever I asked for, so I could not look at 2x or 3x sharpness; the bean size figures above are from the files.The PR's own checklist says the pinned Node 22 and the
mise runtasks were not run. The Node 22 part is now covered by the checks above.Screenshots
Four of my screenshots are below; the others named above by number are from the same browser run and I can attach any of them.
Patch
Suggested patch against
19eb4de(5 files, 31 insertions, 17 deletions): https://git.magicbean.dev/attachments/bcd28d7a-f878-47ba-9086-2dcf0d277965It covers the Antigravity card and
agy, the Codex canonical link, the Discord account line, the permission sentence, the new starter message, the summit label fade, the tablet gap, the(scripting: none)static scene, an inline theme script, the copy feedback and fallback wording, the homepage icon and the README. Left out on purpose: the artwork permission wording (M2), the WebP conversion (S10), the small-label sizes (S9) and the font and topic split (M4). It applies cleanly, passes html-validate and the wrangler dry run, and each change was checked in the browser.Design pass from Jordan, as asked: two commits on top of yours (
fa15667,3957511).What changed
magicbean-themekey, applied before first paint;?theme=dark|lightpreviews a theme. It replaces the pause button: the hero is static now.<details>, so it works without JavaScript).grass.svg; one frame of it isgrass-frame.svg).public/get-involved/PROVENANCE.txtlists the beanstalk SVG and the ghost stickers (Jordan's), the Claude mark (Simple Icons 16.38.0) and the OpenAI mark (@lobehub/icons-static-svg 1.103.0, MIT).Checked
npx html-validate public/index.html public/get-involved/index.html,node --check public/get-involved/guide.js,git diff --check,npx wrangler deploy --dry-run: all pass (Node 24, not the pinned 22).mise run lint/mise run test(no mise on this machine), so CI still needsci: approved.npm run dev: desktop and 390 px, light and dark (below). The theme switch was checked visually, not clicked through in a browser.The PR description still describes the animated version; it's yours, so I've left it for you to update.
Desktop light, desktop dark, phone light, phone dark:
Adopted Jordan’s static day/night beanstalk design and matched the homepage to his Tsukimi Rounded headings and Mukta text. Updated previews below replace the earlier animated design. Also addressed the starter prompt, permission guidance, copy feedback/accessibility and README feedback. Artwork permission confirmation and image optimisation remain review items; this stays WIP.
WIP: feat(site): add beginner contribution guide and animated beanstalkto WIP: feat(site): add beginner guide with day/night beanstalk designWIP: feat(site): add beginner guide with day/night beanstalk designto feat(site): add beginner guide with day/night beanstalk designView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.