Commit Graph

29 Commits

Author SHA1 Message Date
Dane Everitt
57bb652d81 Whoops, don't always show this modal 2020-08-18 20:16:13 -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
941da821e1 Merge pull request #2205 from Sir3lit/pagetitles2
Page Titles v2 - Using React Helmet
2020-08-01 21:27:23 -07:00
Dane Everitt
9387be3b0d Fix permissions on subuser rows 2020-08-01 21:25:28 -07:00
Charles Morgan
d3316f61d7 Titles on index / account pages
Also changed to use  `const { ..., name: serverName } = useServer();` where feasible
2020-08-01 23:49:00 -04:00
Charles Morgan
6d79ad23a5 Attempt 2?
80% sure this isn't how to use react-helmet.... but it works....
2020-07-26 23:32:24 -04:00
Dane Everitt
7f5ee04978 Remove a hilarious number of unused dependencies 2020-07-04 19:01:49 -07:00
Dane Everitt
732594a164 Remove unused imports 2020-07-04 18:46:09 -07:00
Dane Everitt
c419d15907 eslint cleanup 2020-07-04 18:30:50 -07:00
Dane Everitt
f3586056f4 Update users screens 2020-07-04 16:26:07 -07:00
Dane Everitt
94e3acb9c4 Get compilation back to working 2020-07-03 14:19:05 -07:00
Dane Everitt
0795f8763d Fix admins being unable to select permissions for subusers; closes #2055 2020-05-31 11:14:31 -07:00
Dane Everitt
a1c3730861 Update frontend to only allow selection of valid permissions for subusers 2020-04-19 11:58:26 -07:00
Dane Everitt
e6a61fbe9b Update views to support a more logical container 2020-04-17 11:17:01 -07:00
Dane Everitt
e969344f3b Fix display of navbar links to admins, closes #1920 2020-04-17 10:21:15 -07:00
Dane Everitt
d3a06e1ca8 Add progress bar to top of page for nicer loading indicator styles 2020-04-10 12:41:08 -07:00
Dane Everitt
0ebf842757 Clean up most of the schedules code to use server context 2020-04-10 10:46:00 -07:00
Dane Everitt
807cd815ea Fix modal layout positioning 2020-04-03 16:39:55 -07:00
Dane Everitt
3df134b558 Make sizing across margins/padding/width/height the same 2020-03-29 22:04:38 -07:00
Dane Everitt
8bc81c8c4b Update permissions checking code 2020-03-29 14:19:17 -07:00
Dane Everitt
39f79a8f3c Finish cleaning up subuser view 2020-03-27 16:42:27 -07:00
Dane Everitt
ee81de6534 Add support for editing a subuser 2020-03-27 15:40:24 -07:00
Dane Everitt
1270e51248 Add support for deleting a subuser from a server 2020-03-27 15:32:33 -07:00
Dane Everitt
a6f46d36ba Implement basic code for creating/updating a subuser 2020-03-27 14:23:13 -07:00
Dane Everitt
51c5cf4dbb Get basic modal view for editing/creating a new subuser working 2020-03-25 21:58:37 -07:00
Dane Everitt
01d81bd548 Getting somewhere on subuser stuff, adds i18n packages 2019-11-16 12:46:19 -08:00
Dane Everitt
d69f816d9d Add handler to fetch all of the system permissions and load them into the state 2019-11-03 17:37:06 -08:00
Dane Everitt
1153101a57 Add animation and first round at doing sidebar for editing permissions 2019-11-03 12:32:07 -08:00
Dane Everitt
543884876f Add basic subuser listing for servers 2019-11-03 12:20:11 -08:00