Add team to apply page URL and open the respective section when a team on the wheel is clicked and then "join" is pressed
Refactor file for Teams Wheel Page
Add data file for Teams Wheel
Change Apply Page to have the sections be "radio-style" buttons where only one can opened at a time
How did I test it?
Modify code locally so that empty sections will render on the Apply Page (currently backend is not returning any sections)
Open each section on the Teams Wheel and make sure that when join is pressed the team is applied to the URL and make sure that the respective empty section is opened.
When another section is clicked on the Apply Page, make sure that the new team that is opened is applied to the URL (/apply/{team}), if the same section is clicked make sure that the team disappears from the URL (/apply)
Required checks:
[X] Did you conduct a self-review?
[x] Have you written unit or integration tests?
What could go wrong in the future? What parts of your code should the reviewer pay the most attention to?
Not putting props.selectedTeam as a dependency causes a Lint Error in the useEffect:
Not sure how would be best to solve this (located in Categories/index.js), if a team is appended to the URL we want to open that section on initial render but that makes the props.selectedTeam a dependency and putting it as a dependency has the page re-render every time a section is pressed (because it changes the team URL) but we don't want that
Additional Comments for the Reviewers
Video
Can't add because video is too long (big file size)
What was the ticket?
WT-[1] - [React Router change for the State change wheel]
Ticket Link: https://trello.com/c/CeBDqvmB
What did I do?
How did I test it?
Modify code locally so that empty sections will render on the Apply Page (currently backend is not returning any sections)
Open each section on the Teams Wheel and make sure that when join is pressed the team is applied to the URL and make sure that the respective empty section is opened.
When another section is clicked on the Apply Page, make sure that the new team that is opened is applied to the URL (/apply/{team}), if the same section is clicked make sure that the team disappears from the URL (/apply)
Required checks:
What could go wrong in the future? What parts of your code should the reviewer pay the most attention to?
Additional Comments for the Reviewers
Video
Can't add because video is too long (big file size)