I wonder if a way to do this have a key in the session that is an object with a list of messages, each one has a key with “displayed” bool and a payload (that itself can be a dict with message and type, like error, etc)
Would want to figure out how to make notifications accessible (if they’re not on the main page)
Something like in flask https://flask.palletsprojects.com/en/1.1.x/patterns/flashing/
I wonder if a way to do this have a key in the session that is an object with a list of messages, each one has a key with “displayed” bool and a payload (that itself can be a dict with message and type, like error, etc)
Would want to figure out how to make notifications accessible (if they’re not on the main page)