Backport PR #3834: Admin Dashboard - Collapsible Details View

I made this PR to see if this feature would be useful for other people. Right now, you can't see all of a user or server's details in the admin page so I added a collapsible view which will let you see the entire server and user objects. I'm open to ideas about how the information is displayed. Will add more tests if this feature is accepted.

![improved-collapse](https://user-images.githubusercontent.com/737367/158468531-1efc28e6-a229-4383-b5f9-b301898d929f.gif)

Signed-off-by: Min RK <benjaminrk@gmail.com>
This commit is contained in:
Min RK
2022-03-28 09:03:26 +02:00
parent fa8cd90793
commit 201e7ca3d8
8 changed files with 256 additions and 114 deletions

View File

@@ -14,7 +14,7 @@ export const reducers = (state = initialState, action) => {
return Object.assign({}, state, {
user_page: action.value.page,
user_data: action.value.data,
name_filter: action.value.name_filter,
name_filter: action.value.name_filter || "",
});
// Updates the client group model data and stores the page