Open Ascent817 opened 2 years ago
@Ascent817 The contents of the card don't change back because we completely mess up React's handling of the DOM. Honestly, we should revamp this with the modal/form you suggested earlier.
I agree. I'm leaning towards a modal, especially since you already implemented one. What do you think?
It's a good idea. We really should refactor things so they're more reusable (dynamic components, better CSS, etc.). I often copy and paste code from other elements to have the same style.
Btw, we need to be able to store login info longer term, I find it annoying that it completely resets and we have to login again after a page reload.
Store with cookies?
I think so. Then we need cookie warning lol :)
We would be the only people getting cookies lol
I feel like we should rerender the DOM after clicking Cancel, though that would be a performance hit hmm. It's better as a modal.
This likely needs to be fixed for teachers/admin