codelife icon indicating copy to clipboard operation
codelife copied to clipboard

Loading Optimization on Nav

Open jhmullen opened this issue 7 years ago • 1 comments

Change behavior in the Nav to load once and be invisible instead of reloading every time.

This may require some special actions such that when levels are beaten, we post some info to the nav bar to unlock them

jhmullen avatar Mar 21 '18 15:03 jhmullen

Currently there is a bit of an inefficiency with the way the "Map" / user progress is shown in the Nav. Everytime a user clicks the dropdown, it requires a database call to fetch the progress. This could be refactored by loading the user progress the first time it is requested and only re-requesting it when a change to the user progress has occurred (such as beating a level or island).

Screen Shot 2019-09-12 at 12 41 09 PM

alexandersimoes avatar Sep 12 '19 16:09 alexandersimoes