systemphil / symposia

Symposia is a philosophy course platform🏺
https://symposia.sphil.xyz
Apache License 2.0
6 stars 1 forks source link

Turn admin dashboard into client components #46

Closed Firgrep closed 5 months ago

Firgrep commented 9 months ago

Right now we try to use server components to fetch and display the UI to the client on admin. This is a poor choice since this area is highly interactive and server components usually require a hard refresh to show latest data. Therefore, it's better to refactor this area to use client components with tRPC. It will be very data fetching intensive, but that's okay for what is essentially going to be a panel used by a few people.

Otherwise, server components are working and it'll be great to use this for the protected and public pages.

ref #32