Skip to content

Registration page changes - #17

Open
karyao wants to merge 7 commits into
mainfrom
2-registration-page-changes
Open

Registration page changes#17
karyao wants to merge 7 commits into
mainfrom
2-registration-page-changes

Conversation

@karyao

@karyao karyao commented Aug 18, 2026

Copy link
Copy Markdown

Refactor: Registration page

Closes #2

Description:
Removed Leader from Registration types, also moved sign in for admin to endpoint /admin rather than the regular player sign in.

Removed the name for Admin for just password and also removing the name from the backend.

Future issues:

@karyao
karyao force-pushed the 2-registration-page-changes branch from 568dbd0 to b027519 Compare August 18, 2026 23:27
@karyao
karyao requested a review from jbriones1 August 18, 2026 23:34
@karyao karyao self-assigned this Aug 18, 2026

@jbriones1 jbriones1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One question and one fix please :D

Comment on lines +48 to +49
pattern(registration.name, /\S/, { message: 'Enter your name.' });
maxLength(registration.name, 80, { message: 'Your name must be 80 characters or fewer.' });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wait, do we actually have this constraint? I can't find a name length limit.

@@ -20,7 +20,6 @@ import { BrandHeaderComponent } from '../../shared/brand-header/brand-header.com
interface RegistrationModel {
registrationKind: RegistrationKind;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove registrationKind from the form. We don't use it anymore since it'll always be player and the API doesn't expect it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registration page changes

2 participants