-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Label Key validation on Deploy page #492
Conversation
Current coverage is
|
Very nice. Thanks for good tests :) A few comments. PTAL Reviewed 2 of 4 files at r1. src/app/frontend/deploy/deploylabel_controller.js, line 92 [r1] (raw file): src/app/frontend/deploy/deploylabel_controller.js, line 97 [r1] (raw file): src/app/frontend/deploy/deploylabel_controller.js, line 100 [r1] (raw file): CC @floreks src/app/frontend/deploy/deploylabel_controller.js, line 201 [r1] (raw file): Comments from the review on Reviewable.io |
src/app/frontend/deploy/deploylabel_controller.js, line 100 [r1] (raw file): Comments from the review on Reviewable.io |
src/app/frontend/deploy/deploylabel_controller.js, line 97 [r1] (raw file): Comments from the review on Reviewable.io |
src/app/frontend/deploy/deploylabel_controller.js, line 92 [r1] (raw file): Comments from the review on Reviewable.io |
src/app/frontend/deploy/deploylabel_controller.js, line 100 [r1] (raw file): Comments from the review on Reviewable.io |
src/app/frontend/deploy/deploylabel_controller.js, line 100 [r1] (raw file): Comments from the review on Reviewable.io |
e3ee711
to
94bda93
Compare
Review status: 2 of 4 files reviewed at latest revision, 4 unresolved discussions. src/app/frontend/deploy/deploylabel_controller.js, line 100 [r1] (raw file): Let me know when ready for rereview. Comments from the review on Reviewable.io |
218d3a7
to
b546ce3
Compare
@bryk PTAL Comments from the review on Reviewable.io |
Last comment and let's merge. Reviewed 1 of 1 files at r4. src/app/frontend/deploy/deploylabel.html, line 24 [r4] (raw file): Comments from the review on Reviewable.io |
… will be in a separate PR).
b546ce3
to
05a3d73
Compare
src/app/frontend/deploy/deploylabel.html, line 24 [r4] (raw file): Comments from the review on Reviewable.io |
Changed :) I avoided the word 'value' to avoid confusion with the 'value' field next to this 'key' field. Comments from the review on Reviewable.io |
Reviewed 1 of 1 files at r5. src/app/frontend/deploy/deploylabel.html, line 24 [r4] (raw file): Comments from the review on Reviewable.io |
Label Key validation on Deploy page
Fixed alerts view in storage details
Validation on Deploy Page: Labels -> Label Key
separate validation for pattern of prefix (before forward slash if there is one) and name (after forward slash if there is one present, or entire string if not), and for string length of each.
Only one slash is permitted (consistent with backend validation)
validation for 'value' will be in a separate PR.