/
todos

todos

incomplete list

PRE 331 STUFF

user route refactoring
remove the user data underwrite functions, and convert routes to use the udb helpers directly
tokenify the routes that still use prepare payload functions on the frontend
move all user routes into the user router file
frontend query usage refactor
make sure all the axios requests live in the api folder, and that everything is using react query (except for a few cases such as refreshing)
rewrite all the query keys to be properly utilising the cache, with appropriate options as well
abstract user queries and mutations into custom hooks to ensure correct usage (this includes figuring out the funky duel mutation functions here)
use arrays for the multikey invalidation
move half of the settings slice to backend
frontend features (required)
hamburger menu
logout button on degree wizard
hidden years
data exports
revert or find new liquidchart library for progression checker
error boundary needs to have refresh instead of reset
work out the redux cleaning on login/logout
setup session rate limitting
max refreshes per minute for users
max guest sessions created within a certain time period
MIGRATION FOR OLD LOCAL STORAGE
MAKE LOGIN ROUTES CHECK FOR EXISTING REFRESH TOKEN SO WE DONT GET MULTITAB ISSUES

POST 331 STUFF

bring back linting and typechecking
setup vscode folder settings to recommend proper instructions
rework the prettier and eslint rules slightly
trailing commas
unused variables should be warnings on dev side, and we can just make the ci allow no warnings
utilise the startup event
move db connection setup into there, and carry it around on a route context
move oidc setup into there, and carry it around on a route context
combine courses + planner section of user data
bring in jsonref for automatic validation model creation in mongo with pydantic
docker/setup changes
change the docker compose to use healthcheck for the depends on
remove redis stack, and create our own secondary indexing functions in lua

Related content