Skip to content

Add client-side validation for PATs name #14946

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

Closed
Tracked by #14280
easyCZ opened this issue Nov 25, 2022 · 0 comments · Fixed by #15015
Closed
Tracked by #14280

Add client-side validation for PATs name #14946

easyCZ opened this issue Nov 25, 2022 · 0 comments · Fixed by #15015
Labels
team: webapp Issue belongs to the WebApp team

Comments

@easyCZ
Copy link
Member

easyCZ commented Nov 25, 2022

PAT names must match a regex (https://github.com/gitpod-io/gitpod/blob/main/components/public-api/gitpod/experimental/v1/tokens.proto#L23). This regex is already enforced on the backend, but we should validate client side to provide a better UX

@easyCZ easyCZ added the team: webapp Issue belongs to the WebApp team label Nov 25, 2022
@easyCZ easyCZ moved this to Scheduled in 🍎 WebApp Team Nov 28, 2022
@jeanp413 jeanp413 mentioned this issue Nov 28, 2022
4 tasks
Repository owner moved this from Scheduled to In Validation in 🍎 WebApp Team Dec 1, 2022
@easyCZ easyCZ moved this from In Validation to Done in 🍎 WebApp Team Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: webapp Issue belongs to the WebApp team
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant