TeamLumi / luminescent-team

GNU Affero General Public License v3.0
12 stars 5 forks source link

Link to Map for Alt Pokedex Location (PL #23) #109

Open AarCon opened 3 months ago

AarCon commented 3 months ago

https://docs.google.com/spreadsheets/d/12Xguf7vRrA37K--pAW4qseCmwT-m56rXgCxE8TRkQ2U/edit#gid=0

This will be performed on the Luminescent Team Dev fork after the canvas-highlight-performance-fix branch has been merged.

This is one of the last issues to be implemented as it requires both the Location component to be implemented into the main pokedex and the Interactive Map to be finished and therefore possible to be linked to.

The main idea behind this is to have a link at the bottom of the Location component in the main dex that will lead to the Interactive map. From there, we want the pokemon that we came from to be selected and have the routes it can be found in highlighted.

AarCon commented 3 weeks ago

This can now be performed by branching off of the Dev Fork's main branch.

AarCon commented 3 weeks ago

We could likely do this pretty easily with the useParams hook from react-router-dom. One thing that might not be as easy is forcing the highlight to the mapper. The useParams may not be in the same lifecycle.