Commit graph

88 commits

Author SHA1 Message Date
Athanasios Oikonomou
dc453efa5c feat: Display assigned user groups in Admin Panel
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.

Backend Changes:
    Added a new endpoint:
    GET /api/v1/users/{user_id}/groups

        Returns the list of groups assigned to a specific user.
        Requires admin privileges.

Frontend Changes:
    Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.

    Updated EditUserModal.svelte to:
        Load user groups asynchronously when the modal is opened.
        Display the groups inline in the form before the Save button.
        Show a loading state while fetching, and a “No groups assigned” message if none exist.

Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
Timothy Jaeryang Baek
69f6fbe4e7 refac 2025-08-08 18:40:03 +04:00
Timothy Jaeryang Baek
173fa62af3 refac 2025-08-04 17:28:26 +04:00
Timothy Jaeryang Baek
2d2fbdb341 fix: styling 2025-08-04 16:02:48 +04:00
Timothy Jaeryang Baek
8562e3e438 refac: styling 2025-08-04 15:04:16 +04:00
Tim Jaeryang Baek
6ce1166b98
Merge pull request #16033 from silentoplayz/sticky-search
refac: sticky headers & smarter pagination on users list page
2025-08-04 15:03:02 +04:00
silentoplayz
56eeed6277 feat: Add password visibility toggle to password fields w SensitiveInput.svelte component 2025-08-03 16:07:12 -04:00
Timothy Jaeryang Baek
56af3e7357 refac: granular chat controls permissions 2025-07-31 18:59:37 +04:00
Timothy Jaeryang Baek
708e0ed05e refac/enh: chat controls permissions 2025-07-31 18:58:58 +04:00
Timothy Jaeryang Baek
73a38aca72 refac 2025-07-30 14:09:33 +04:00
silentoplayz
67baecdc8e fix 2025-07-25 16:05:42 -04:00
silentoplayz
92fe7544c8 Sticky top bars for Leaderboard and UserList pages 2025-07-25 15:57:03 -04:00
Timothy Jaeryang Baek
95b11207a1 fix: group user load 2025-07-19 23:16:44 +04:00
Timothy Jaeryang Baek
b1752cfb6a refac: styling 2025-07-14 21:24:31 +04:00
Timothy Jaeryang Baek
288fba874e refac: styling 2025-07-14 20:08:49 +04:00
Timothy Jaeryang Baek
af59bee2ea refac 2025-07-12 17:17:31 +04:00
guenhter
196af9eaf7 chore: streamline the URL used for resources like favicon.png 2025-07-09 09:14:51 +02:00
Timothy Jaeryang Baek
d2485bbf09 refac 2025-07-03 18:13:23 +04:00
Timothy Jaeryang Baek
90257442e3 refac: styling 2025-06-27 16:15:16 +04:00
Timothy Jaeryang Baek
c8e8111dd9 refac 2025-06-27 15:44:26 +04:00
Tim Jaeryang Baek
276bfa02d0
Merge pull request #15314 from silentoplayz/spinner-and-xmark-icon-components
refac: Spinner and XMark components
2025-06-27 15:23:29 +04:00
Silentoplayz
d1e3940abd refac: Spinner and XMark components 2025-06-25 18:44:45 -04:00
Silentoplayz
dd0e6bf58f remove class="w-5 h-5" /> 2025-06-25 14:04:40 -04:00
Silentoplayz
3f865f0b66 chore: MagnifyingGlass -> Search 2025-06-25 13:42:18 -04:00
Timothy Jaeryang Baek
bc7defbdd0 refac: allow editing own email 2025-06-16 15:23:03 +04:00
Timothy Jaeryang Baek
99e18d49dc enh: system prompt user permission 2025-06-16 15:12:32 +04:00
Timothy Jaeryang Baek
ab42a192e6 refac: styling 2025-06-10 17:54:08 +04:00
Timothy Jaeryang Baek
e41e375aab refac: role update ui 2025-05-31 15:00:27 +04:00
Timothy Jaeryang Baek
e65ac97c45 refac 2025-05-25 01:59:48 +04:00
Timothy Jaeryang Baek
b2b1a21299 refac 2025-05-25 01:48:37 +04:00
Timothy Jaeryang Baek
75208935d7 refac: user chat list modal 2025-05-25 01:44:53 +04:00
Jesper Kristensen
84e0605835
Cleaning up usage of console log in front end 2025-05-15 21:53:07 +02:00
Timothy Jaeryang Baek
f32b042a00 refac 2025-05-12 01:08:49 +04:00
Timothy Jaeryang Baek
015ac2f532 refac: user list loading indicator 2025-05-10 17:23:17 +04:00
Classic298
220d35ebcb
Increase users shown per page to 30 2025-05-09 13:00:42 +02:00
Timothy Jaeryang Baek
33c206c15c enh: include profile image during user import 2025-05-05 16:17:20 +04:00
Timothy Jaeryang Baek
abdde10b74 refac 2025-05-05 16:12:41 +04:00
Timothy Jaeryang Baek
26e9cd0b4b enh: user role update confirm dialog 2025-05-05 16:10:36 +04:00
Timothy Jaeryang Baek
457a0f318a refac 2025-05-05 16:05:39 +04:00
Timothy Jaeryang Baek
84a05bec7b enh: notes user group permission 2025-05-04 17:22:51 +04:00
Timothy Jaeryang Baek
783d409b1d refac 2025-04-30 16:58:38 +04:00
Timothy Jaeryang Baek
c1fa989cb8 refac: styling 2025-04-30 16:54:51 +04:00
Timothy Jaeryang Baek
f9d238e850 refac: user list sub-standard code 2025-04-30 16:49:41 +04:00
Tim Jaeryang Baek
db06a925fe
Merge pull request #13267 from AnapatChaiwongse/dev
feat: implement pagination for /admin/users
2025-04-30 05:04:14 -07:00
Timothy Jaeryang Baek
791c19acf7 enh: unicode char support for user import 2025-04-28 17:26:19 +04:00
KaeOhhhh
2112067054 Support pagination in /admin/users API
Update Users.svelte

Update index.ts

Update users.py

Update users.py

Update UserList.svelte
2025-04-28 11:29:42 +07:00
Timothy Jaeryang Baek
2f7b5acdf8 enh: chat share & export permissions 2025-04-23 14:43:33 +09:00
Timothy Jaeryang Baek
d932fc555d enh: tts/stt user permissions 2025-04-14 01:40:22 -07:00
Timothy Jaeryang Baek
c1444cbbba refac 2025-04-12 21:47:46 -07:00
Timothy Jaeryang Baek
40f9747ae4 refac 2025-04-12 21:44:47 -07:00