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

Design user profile page #31

Closed L-Mario564 closed 2 weeks ago

L-Mario564 commented 3 months ago

Why?

Users must be able to see the info about other users.

How?

The page will be located at /user/[user_id] where user_id is the ID of the user. Since it's common that some users may know someone via their osu! ID, we can also add a users/osu/[osu_user_id] route that simply redirects to the former.

If the user is currently banned, the page must return a 404 response.

The page must include the following data:

If you want a reference as to how all this can be displayed, you can check the manage users admin page and look up a user to see how the user's data is displayed there.

To get all this data, we need to get it from the database during SSR and then have it be displayed to the user.

L-Mario564 commented 3 months ago

Implemented the SSR for this page, only the design for the page is left. Implemented in the user-profile-page branch.