-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
#261: Improve Cold Start requests by adding timeout and blocking user input #264
#261: Improve Cold Start requests by adding timeout and blocking user input #264
Conversation
Hi @gigigimay , thanks for your time. I will review this PR ASAP :). I runned the pipelines and saw ESlint Check / run-frontend-lint failing, can you take a look? |
Thanks, I have fixed the failed lint. |
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.
Can we have tests that validate the new feature behaviour?
Unit tests added. It would be easier to review while ignoring white-spaces since I wrapped all the tests in RegisterMenu.test.tsx into a |
Hi @AntonioMrtz , All the requested changes were done. (Unit tests and moving loading into the buttons) Please let me know if there's anything else I should change. :) |
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.
Only this little adjustment :). Code looks nice, this has to be one of the best PRs I have received in the project, I enjoyed checking and testing the changes as well as the implementation. Don't worry about the pipeline, the failing one has a dependency on a enviroment variable provided to the github repo, I will get it solve soon
@AntonioMrtz I'm glad you enjoyed reviewing my PR. I'm participating in the Hacktoberfest event, and for this PR to count, could you please label it as 'hacktoberfest-accepted' or add the 'hacktoberfest' topic to this repository? You can find more details about the rules here: https://hacktoberfest.com/participation/. Thank you very much! :) |
Yeah, I was planning on adding the |
Description
Improve Cold Start requests by adding timeout and blocking user input in login and register page
Commit type
feat
: indicates the addition of a new feature or functionality to the project.Issue
#261
Solution
Proposed Changes
I made these changes in these requests: login, auto login, register:
Potential Impact
--
Screenshots
(in the screen record, I changed the timeout to 2 secs to make it faster)
![ezgif-2-394271b5a1](https://private-user-images.githubusercontent.com/51327193/377812413-371d007d-43da-4402-a0c5-595042271347.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODIyMjcsIm5iZiI6MTczOTY4MTkyNywicGF0aCI6Ii81MTMyNzE5My8zNzc4MTI0MTMtMzcxZDAwN2QtNDNkYS00NDAyLWEwYzUtNTk1MDQyMjcxMzQ3LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDA0NTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwMmNkNmFkOTg0ZTI4ZDVjNTBhN2QwYWRjMWMxMGM4YTZiOGJjOGJjN2Y1NTNkNDUzZDhhY2I3OWQzZTk1MjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7e1X8Jbx0vqAeQJVZt1Rlvmw5O7cRASht0A_nrw8pWg)
Additional Tasks
--
Assigned
@AntonioMrtz