Visual pull requests in Widgetbook Cloud are automatically created whenever a Widgetbook project is connected to a Git provider's repository and a code-based pull request is opened.
To use visual pull requests:
- Connect your Widgetbook Cloud project with your Git provider's repository
- Successfully upload builds for both the base and head commits of the pull request
Pull requests in your Git provider and in Widgetbook operate on a base and head commit. The base commit is the commit from which the feature branch was created. The head commit contains the most recent changes in the feature branch.


To calculate the visual changes in a pull request, Widgetbook Cloud needs snapshots for both the base and head commits. These snapshots are provided by uploading builds to Widgetbook Cloud.
If a visual pull request is missing builds, Widgetbook Cloud will display a warning in the pull request overview.

Follow the instructions for uploading builds to ensure all necessary builds are available.
Caution:
Some Git providers, like GitHub, run their CI/CD pipeline on the merge commit m when triggered by a pull request.
This causes Widgetbook Cloud to miss the head commit z for the pull request, which may cause confusion during setup.

