Skip to content
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

[Front]Check that the email does not already exist when creating a user (on save) #28

Open
brauliodiez opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels

Comments

@brauliodiez
Copy link
Member

brauliodiez commented Jan 10, 2025

Step 1: Implement in the mock server on the backend.

Step 2: When the error comes from the server (409 on error) upon clicking save, display the error message.

export const enum CustomInternalCodes {
    emailAlreadyRegistered: 'user-001',
}

export type Severity = 'error' | 'critical';
{
 error: CustomInteralCodes,
 severity: Severity;
 message? string;
}

Check with @manudous which toast notification to use.

@brauliodiez brauliodiez moved this to Backlog in QuickMock Jan 10, 2025
@brauliodiez brauliodiez added this to GEX Jan 31, 2025
@brauliodiez brauliodiez removed this from QuickMock Jan 31, 2025
@brauliodiez brauliodiez moved this to In Progress in GEX Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

2 participants