Skip to content

feat(config): support launch viewport defaults#1363

Open
EfeDurmaz16 wants to merge 1 commit into
vercel-labs:mainfrom
EfeDurmaz16:efe/configurable-viewport
Open

feat(config): support launch viewport defaults#1363
EfeDurmaz16 wants to merge 1 commit into
vercel-labs:mainfrom
EfeDurmaz16:efe/configurable-viewport

Conversation

@EfeDurmaz16
Copy link
Copy Markdown

Summary

  • add viewport and deviceScaleFactor config keys for persistent launch viewport defaults
  • apply the configured viewport during launch/reuse so screenshots can stay deterministic across daemon restarts
  • update schema, README, docs, CLI help, and core skill references

Fixes #1356.

Testing

  • cargo fmt --manifest-path cli/Cargo.toml -- --check
  • cargo test --manifest-path cli/Cargo.toml flags::tests::
  • cargo test --manifest-path cli/Cargo.toml commands::tests::test_set_viewport
  • cargo test --manifest-path cli/Cargo.toml --no-run
  • cargo clippy --manifest-path cli/Cargo.toml -- -D warnings
  • git diff --check

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

@EfeDurmaz16 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add viewport + deviceScaleFactor to config schema

1 participant