Improve getting-started config example#325
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Fleshes out the configuration code block in
docs/getting-started.mdxinto a more complete, copy-pasteable starter example:title="happo.config.ts"filename label, matching the convention used on other docs pages (storybook, accessibility, configuration, etc.)project: 'default'andintegration: { type: 'storybook' }chrome-mobileat375x667) and anaccessibilitytarget alongside the existing desktop targettargetsandintegrationoptions instead of the now-redundant "you can add more than one target" noteWhy
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 uses1200x768in its own example—let me know if you'd prefer these match.🤖 Generated with Claude Code