-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H-3879: Add protocol dropdown to early access form URL input #6106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CiaranMn Thanks! Can we please remove the whitespace/gap between the protocol dropdown input and the adjoining text input, so that are one contiguous component?
@vilkinsons like this? Kapture.2025-01-10.at.12.28.34.mp4 |
Separate thread ongoing in Slack re: unsupported protocols here, and how we handle them across website URL inputs in HASH. |
🌟 What is the purpose of this PR?
We want to move property types which have URLs as their values to using the
URL
data type. This means values for them must pass URL validation, e.g. include a scheme at the start (https://
) rather than just be e.g.example.com
But we also want users to be able to just type
example.com
into some inputs, e.g. in the early access form.This PR adds a protocol dropdown to the early access form's website URL input so that we can pass a full URL to the database but users don't have to type it out properly themselves.
It also allows for having a path in the URL (e.g.
example.com/my-page
) which the early access form website URL input was previously not allowing.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
📹 Demo
Kapture.2025-01-10.at.12.09.24.mp4