Commit Graph

15 Commits

Author SHA1 Message Date
Dane Everitt
52588beeb0
Fix state management of overrides not properly resetting loader; closes #3429 2021-09-11 13:24:57 -07:00
Dane Everitt
2fd16f441d
Fix component stack depth crashes due to looping setState 2021-05-29 10:58:24 -07:00
Dane Everitt
6b16b9bc2a
Cleanup logic for asModal to make it a little easier to use dynamically 2021-05-16 12:35:49 -07:00
Dane Everitt
5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions 2021-05-03 21:26:09 -07:00
Dane Everitt
32fb21d0b7
Update use of server error blocks 2021-01-30 18:01:32 -08:00
Jakob Schrettenbrunner
0f9b3a5722 use children in routes instead of component prop 2021-01-01 23:14:11 +01:00
Dane Everitt
7ec614ed2c
Reset modal spinner state when dismissed; closes #2647 2020-11-02 20:03:28 -08:00
Dane Everitt
39dddba1d6
Refactor subuser modal and fix to be less of a code monstrosity; closes #2583 2020-10-25 15:47:50 -07:00
Dane Everitt
c4418640eb
Start cleaning up the mess of useServer; make startup page update in real time 2020-08-25 21:25:31 -07:00
Dane Everitt
89b18cbcac
Fix pages not rendering 2020-08-23 15:55:10 -07:00
Dane Everitt
9ae3c17913
Don't even render components if the user doesn't have permission 2020-08-22 19:01:29 -07:00
Dane Everitt
e873c597bb
Allow passing props through to determine modal options 2020-08-17 22:04:24 -07:00
Dane Everitt
c28cba92e2
Make modals programatically controllable via a HOC
This allows entire components to be unmounted when the modal is hidden without affecting the fade in/out of the modal itself.

This also makes it easier to programatically dismiss a modal without having to copy the visibility all over the place, and makes working with props much simpler in those modal components
2020-08-17 21:35:11 -07:00
Dane Everitt
dd381f65a9
Don't try to be fancy, just pain 2020-08-01 20:06:17 -07:00
Dane Everitt
0c7f118f45
add withFlash() context HOC 2020-08-01 19:44:50 -07:00