-
Notifications
You must be signed in to change notification settings - Fork 98
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
feat(procedures): implemented gdpr form #13558
Conversation
d8bbf5a
to
0d3f6cb
Compare
0d3f6cb
to
4598d61
Compare
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.
You shouldn't be modifying this file on this project
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.
I added it to do the test in QA.
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.
This should have no impact on the procedures application (as it is not displayed inside the container, and has no dependency to it)
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.
Do you plan to use this in multiple places ?
If not, I'm not sure it is relevant to create a dedicated component
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.
Not now. I added it in case it might be useful on another page in the future. Indeed, it adds extra components... I will delete it.
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.
Same as #13558 (comment)
} | ||
}, [email]); | ||
|
||
console.log(isSubmitting); |
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.
This console log can be cleaned I think
vi.mock('react-i18next', () => ({ | ||
useTranslation: () => ({ | ||
t: (key: string) => key, | ||
}), | ||
})); |
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.
This is unnecessary, it is already done in setupTests.ts
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.
Is there any reason for splitting this from the SelectInput component ?
It seems to unnecessarily split the form logic in multiple parts, unless I'm missing qsomething,
The comment #13558 (comment) also apply here
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.
Same as #13558 (comment)
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.
Same as #13558 (comment)
60e1515
to
e933284
Compare
'other_request', | ||
]; | ||
|
||
export const EmailRegex = /^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9]{2}(?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/; |
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.
Are you sure for that regex ? I never see numbers in the tld part
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.
yep, i used Xander regex
e933284
to
b258ba2
Compare
ref:MANAGER-15317 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
b258ba2
to
14e3e07
Compare
ref:MANAGER-15317 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
14e3e07
to
a8537ec
Compare
Quality Gate failedFailed conditions |
ref:MANAGER-15317 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
ref:MANAGER-15317 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
ref:MANAGER-15317 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
ref:MANAGER-15317
feat/MANAGER-15315
Description
Related