Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

feat: display shared items #28

Merged
merged 3 commits into from
Feb 3, 2021
Merged

feat: display shared items #28

merged 3 commits into from
Feb 3, 2021

Conversation

pyphilia
Copy link
Contributor

Copy link
Member

@juancarlosfarah juancarlosfarah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just some minor questions and comments. 🚀

@@ -5,3 +5,5 @@ export const ERROR_CODE = 400;
export const SUCCESS_CODE = 200;

export const parseStringToRegExp = (string) => string.replaceAll('?', '\\?');

export const EMAIL_FORMAT = '[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this tested? Source? I always worry about these regexes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can suppose that André has his own schemas and regexes already. Ideally I would like to use those, but for now I need simple checks for tests. And yes note that it is only used in tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahgentil, do you have schemas to share?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this PR and create an issue to include schemas in the project.

@pyphilia pyphilia merged commit bb5a077 into master Feb 3, 2021
@pyphilia pyphilia deleted the 16/shareItems branch February 3, 2021 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Share Items
2 participants