classroom icon indicating copy to clipboard operation
classroom copied to clipboard

feat(UI): Enhancement to the admin dashboard page issue - search bar

Open CarlyAThomas opened this issue 1 year ago • 7 comments

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:

Image

Steps to recreate the issue:

  1. Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
  2. Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user to "ADMIN"
  3. Make sure you click "Save changes" in prisma studio
  4. Sign out of the Classroom app and then sign back in
  5. Navigate to the /admin page (type this into the browser)

CarlyAThomas avatar Oct 12 '25 20:10 CarlyAThomas

Hi @CarlyAThomas , Could you assign it to me?

adgator101 avatar Oct 13 '25 16:10 adgator101

You now have it assigned to you @adgator101 !

CarlyAThomas avatar Oct 14 '25 01:10 CarlyAThomas

Hi @CarlyAThomas , Could you please let me know which branch contains the latest files for the admin page? Thanks in advance!

adgator101 avatar Oct 14 '25 17:10 adgator101

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!

NewtonLC avatar Oct 22 '25 05:10 NewtonLC

Hi @NewtonLC , thank you for letting me know. I will be waiting for your reply when your PR gets merged.

adgator101 avatar Oct 27 '25 16:10 adgator101

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!

NewtonLC avatar Oct 28 '25 02:10 NewtonLC

Hi @NewtonLC , thank you for letting me know. I will start working on it right away.

adgator101 avatar Oct 28 '25 10:10 adgator101