Skip to content

Improve getting-started config example#325

Merged
lencioni merged 1 commit into
mainfrom
charming-cori-d4afef
Jun 9, 2026
Merged

Improve getting-started config example#325
lencioni merged 1 commit into
mainfrom
charming-cori-d4afef

Conversation

@lencioni

@lencioni lencioni commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What changed

Fleshes out the configuration code block in docs/getting-started.mdx into a more complete, copy-pasteable starter example:

  • Adds the title="happo.config.ts" filename label, matching the convention used on other docs pages (storybook, accessibility, configuration, etc.)
  • Adds project: 'default' and integration: { type: 'storybook' }
  • Adds a mobile screenshot target (chrome-mobile at 375x667) and an accessibility target alongside the existing desktop target
  • Updates the surrounding prose: the block is no longer described as the "minimum required configuration," and the follow-up paragraph now explains the targets and integration options instead of the now-redundant "you can add more than one target" note

Why

The previous example was minimal and lacked the filename label and key options new users need. A fuller example better serves the getting-started flow.

Note for reviewers

The accessibility target uses viewport: '1024x768' to stay consistent with the desktop target on this page. The accessibility docs page uses 1200x768 in its own example—let me know if you'd prefer these match.

🤖 Generated with Claude Code

Flesh out the getting-started config block into a more complete starter
example: add the happo.config.ts filename, project, and storybook
integration, plus mobile screenshot and accessibility targets alongside
the existing desktop target. Update surrounding prose to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lencioni lencioni requested a review from trotzig as a code owner June 9, 2026 19:10
@lencioni lencioni merged commit 77e05ca into main Jun 9, 2026
3 checks passed
@lencioni lencioni deleted the charming-cori-d4afef branch June 9, 2026 19:12
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.

1 participant