Skip to content

docs(snapshots): Document SnapshotPreviews metadata#17927

Open
cameroncooke wants to merge 4 commits into
masterfrom
cameroncooke/docs/snapshotpreviews-metadata
Open

docs(snapshots): Document SnapshotPreviews metadata#17927
cameroncooke wants to merge 4 commits into
masterfrom
cameroncooke/docs/snapshotpreviews-metadata

Conversation

@cameroncooke
Copy link
Copy Markdown
Contributor

@cameroncooke cameroncooke commented May 29, 2026

Document SnapshotPreviews metadata sidecars and modifiers in the Apple snapshots docs.

This keeps the generic Uploading Snapshots page platform-agnostic while adding the new tags and context fields to the shared JSON metadata schema. SnapshotPreviews-specific details now live on a dedicated Apple page with examples for .snapshotTags, .snapshotAdditionalContext, and .snapshotDiffThreshold.

The Apple setup page stays focused on getting snapshots exported, with a short link to the detailed metadata page for users who want to customize sidecars.

Add SnapshotPreviews metadata docs for sidecar files, modifiers, and
generated context. Update the generic snapshot upload schema with tags and
context while keeping platform-specific details in the Apple docs.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 1, 2026 3:22pm
sentry-docs Ready Ready Preview, Comment Jun 1, 2026 3:22pm

Request Review

@codeowner-assignment codeowner-assignment Bot requested a review from a team May 29, 2026 13:52
@cameroncooke cameroncooke marked this pull request as ready for review May 29, 2026 13:55

## Generated Context Keys

SnapshotPreviews can generate these `context` keys:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can or does? if this is automatic, think it should be more like "SnapshotPreviews automatically generates..."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cursor fix

Copy link
Copy Markdown
Contributor

@cursor cursor Bot Jun 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed! I changed line 89 from "SnapshotPreviews can generate these context keys:" to "SnapshotPreviews automatically generates these context keys:". This clarifies that the context keys are always generated automatically, not conditionally.

The change has been committed and pushed to the PR branch.

Open in Web Open in Cursor 

Change wording from 'can generate' to 'automatically generates' to make
it clear that SnapshotPreviews always generates these context keys for
every preview, not conditionally.

Co-Authored-By: Claude <noreply@anthropic.com>

Co-authored-by: Cameron Cooke <web@cameroncooke.com>
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.

3 participants