sanity-plugin-vercel-deploy
sanity-plugin-vercel-deploy copied to clipboard
Mismatch Description for the `Add Project` Dialogue
Proposal
The description on the popup dialogue for the Vercel Team Name
field should be updated accordingly so that it does not say Required for projects under a Vercel Team: Settings → General → "Team Name"
Problem
Copying the team name when the name contains multiple words. Example: My organization name is Zenith Research
on Vercel and on the Vercel Team: Settings → General → "Team Name" it is shown as ZenithResearch
but putting this value on the field brings up an error of Team not found
.
Solution
Instead of Settings → General → "Team Name" where the value was ZenithResearch
using zenith-research
found on the team URL fixed the issue. So adding a line or a detail indicating the URL instead of the team name would be a better option.
If approved I would raise a PR for changing the following file:
src/deploy-item.tsx
with the updated description on:
description={"Required for projects under a Vercel Team: Settings → General → "Team Name"}