Skip to content

feat(web): explain why we ask for body type - #62

Merged
iskhakovt merged 5 commits into
mainfrom
anatomy-copy-helpers
Apr 19, 2026
Merged

iskhakovt merged 5 commits into
mainfrom
anatomy-copy-helpers

Conversation

@iskhakovt

@iskhakovt iskhakovt commented Apr 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds short "why" copy to every place the app asks about anatomy, so users aren't guessing why it's collected.
  • Landing: subtitles under "Filter by body" and "Who picks?" explain what filtering does and what the two picker modes mean.
  • GroupSetup + onboarding: one-line helper under each body-type picker ("So we can show only questions that apply to you/them").
  • Tightens two e2e click selectors (getByText -> getByRole with exact: true) whose substring match collided with the new subtitles; refreshes the Landing visual baselines.

Test plan

  • pnpm -r typecheck
  • pnpm test (474/474)
  • pnpm test:visual:docker (18/18 after baseline update)
  • Manual smoke: create-group page, admin setup (admin-picks mode), onboarding (self-pick mode) all show the new copy

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added clarifying instructional text throughout the setup flow to explain how anatomy selection filters questions for users and their partners.
  • Chores

    • Added development tooling dependency.

Anchor the "why" where users encounter the ask:
- Landing: subtitles under "Filter by body" and "Who picks?" explain
  what filtering does and what the two picker modes mean.
- GroupSetup + onboarding: helper under each body-type picker
  ("So we can show only questions that apply to you/them").

Also tightens two e2e click selectors (getByText -> getByRole) that
were substring-matching into the new subtitles, and refreshes the
Landing visual baselines.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: acb31a14-25eb-464f-8ce8-2d3d7348dcca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)

✅ Unit Test PR creation complete.

  • Create PR with unit tests
  • Commit unit tests in branch anatomy-copy-helpers

Comment @coderabbitai help to get the list of available commands and usage tips.

@iskhakovt

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Apr 19, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

iskhakovt and others added 4 commits April 19, 2026 21:25
tsx is the runtime for \`pnpm dev\` (scripts/dev.ts) but was only
declared in packages/server. pnpm 10's hoist behavior for
sub-package bins is inconsistent across installs, so the root
\`.bin/tsx\` symlink sometimes disappears after install. Declaring
tsx at the root makes the dev script independent of hoist luck.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
The four pill layout wrapped to a second row on the create-group
card with mixed widths (AMAB/AFAB vs M/F), which read as a layout
accident. "M / F" is just a shorter "Male / Female" — with three
presets left, a 3-segment ToggleGroup fits the "Penis / Vulva"
label comfortably at equal widths and reads as a sibling of the
other two settings ("Questions", "Who picks?") in the same block.

The "short" preset stays in the schema and ANATOMY_LABEL_PRESETS
so any group already stored with it continues to render — it's
just no longer offered on creation.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Matches the other two pickers in the filtered-settings block
(Questions, Who picks?) — each now has a one-line "why" below
the toggle. Clarifies that label style only changes wording,
not which questions are shown.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@iskhakovt

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Apr 19, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Apr 19, 2026

Copy link
Copy Markdown

Note

Unit test generation is a public access feature. Expect some limitations and changes as we gather feedback and continue to improve it.


Generating unit tests... This may take up to 20 minutes.

@iskhakovt
iskhakovt enabled auto-merge (squash) April 19, 2026 20:47
@iskhakovt
iskhakovt merged commit 1ee1b78 into main Apr 19, 2026
8 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@coderabbitai

coderabbitai Bot commented Apr 19, 2026

Copy link
Copy Markdown

✅ Created PR with unit tests: #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant