-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix: Enforce repository name length limit in dialogs #171
Conversation
Signed-off-by: Zack Koppert <[email protected]>
Nice! You can add tests for the backend like in this example. Just pass your invalid value here You can use this test case to base it on |
Signed-off-by: Zack Koppert <[email protected]>
✅ Added a test for going over the limit cc79061 |
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.
Didn’t know about repeat
neat!
@zkoppert I think it’s good as is but you can always do a |
Signed-off-by: Zack Koppert <[email protected]>
✅ More readable test assertion |
I checked out the contributing doc and didn't see anything about deploying the change. Should I deploy before merge/after merge/not at all? |
We've been deploying after merges. The deployment is from the internal repo which is (I think) why it's not mentioned here. |
Pull Request
Proposed Changes
fixes #135
This pull request limits the length of repository names in the application. The changes ensure that both the creation and editing of mirrors enforce a maximum length of 100 characters for the repository name. This is achieved through changes in the frontend and backend validation schemas.
For Reviewers
test/app.test.ts
?Readiness Checklist
Author/Contributor
npm run lint
and fix any linting issues that have been introducednpm run test
and run tests@jeffrey-luszcz
Reviewer
bug
,documentation
,enhancement
,infrastructure
,maintenance
, orbreaking