-
Notifications
You must be signed in to change notification settings - Fork 1
Add login and signup pages #13
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
Conversation
jackblanc
left a 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.
Sorry that I took so long to get back to you on this. There are a few things which could be improved but not required.
| Instance.interceptors.request.use(requestInterceptor); | ||
|
|
||
| const INVALID_ACCESS_TOKEN: string = 'Given access token is expired or invalid'; | ||
| const INVALID_ACCESS_TOKEN = 'Given access token is expired or invalid'; |
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.
⛏️ Any reason not to have this type?
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.
Prettier told me to get rid of 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.
Wait really? What was the error message?
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.
Something along the lines of the string type hint being unnecessary because the constant could only be a string / was obviously a string. I don't remember the exact text, unfortunately.
|
thanks for making those changes, looks like there's a minor eslint issue: |
0f15559 to
006430c
Compare
Why
Monday.com Ticket
This PR includes the initial form pages for login and signup. They still need error checking, as well as updates on response from the backend (e.g. if the password is correct/incorrect, whether the values in the form are valid, etc.).
This PR
I added a login page and a signup page. This involved creating new .tsx files, creating a new interface to store the signup data, and updating the navbar/router code.
Screenshots
Provide screenshots of any new components, styling changes, or pages.
Verification Steps
I ran a local development instance with
npm start. I clicked through the pages and provided various inputs.