Kyoso-Team / kyoso

A web application that takes osu! tournaments beyonds spreadsheets.
http://kyoso.sh
GNU Affero General Public License v3.0
1 stars 1 forks source link

Allow admins to manage users from a dedicated page #7

Closed TTTaevas closed 1 year ago

TTTaevas commented 1 year ago

This PR adds a page where admins can search for users, change their admin status (from admin to non-admin or vice-versa) or completely delete them from the database Worth noting that most of that stuff is handled through the newly-added data-display/User.svelte

PS: Moved Modal (edit: cf02da4 was faster lol) and added Toast to the root layout, as recommended by Skeleton's documentation P.P.S: changeDiscordVisibility is now actually a mutation, as it should be

TTTaevas commented 1 year ago

I have been unable to get any error, so if you still get one, can you record it so I can see what's happening?

By the way, with my latest commit, I've made the search better by triggering the search upon pressing the enter key, and making the search actually work as it wasn't working about half the time (as load would not always trigger, because the goto invalidateAll option was false)