feat(UI): Enhancement to the admin dashboard page issue - search bar
The admin page currently displays ALL users in the prisma database. We believe the prisma database will be very large when the Classroom app is deployed, so a search feature to look for a user by name, email, or role would be a helpful addition.
Original admin table:
Steps to recreate the issue:
- Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
- Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user to "ADMIN"
- Make sure you click "Save changes" in prisma studio
- Sign out of the Classroom app and then sign back in
- Navigate to the /admin page (type this into the browser)
Hi @CarlyAThomas , Could you assign it to me?
You now have it assigned to you @adgator101 !
Hi @CarlyAThomas , Could you please let me know which branch contains the latest files for the admin page? Thanks in advance!
Hi @adgator101! Thanks for your help on this issue. The latest files for the admin page are actually on a different repository, and are meant to be merged into the main branch with PR #535. We still need to do more work on this PR, so we're planning on holding off on this issue for the time being. I'll leave another comment here once we complete the PR!
Hi @NewtonLC , thank you for letting me know. I will be waiting for your reply when your PR gets merged.
Hi @adgator101, we just completed the merge! The main branch of Classroom should now have the latest files for the admin page. Thank you so much for your patience!
Hi @NewtonLC , thank you for letting me know. I will start working on it right away.