You are browsing as a guest. Sign up (or log in) to start making projects!

2h 28m 21s logged

User profile panel!

  • This will probably be the second to last devlog I’ll ever make on Stardance, since I still have to lock in tonight and spend a few more hours to finish the project :heavy-fart:
  • Added a profile panel/sidebar that displays a user’s profile and other information, which appears on the right whenever you click on someone’s profile/name in a channel or DM, as well as clicking on the chat title in a DM, and disappears when you click on the profile again or on the close button :thumbs-up:
  • The user data displayed on the profile panel is fetched via a new API endpoint, and it’s optimized so it only fetches once per user. The data displayed comes from what you put in the profile edit page
  • The panel shows the user’s profile picture, display name, email, title, pronouns, website & :github: links, location, and joined date if they provided this information when editing their profile (I definitely did not just copy these things from :slack: )
  • There are also options to copy user ID or report user (which opens up the report form with its type set to user), as well as a button to message/DM the user or edit your own profile
  • There’s also a pretty smooth entrance and exit animation for the panel, and I also updated chat styling and layout to fit the panel and make everything work properly and look nice :yay:
  • Updated styling and backend schema and types
  • Updated readme with some documentation for the API and additional descriptions
0
98

Comments 0

No comments yet. Be the first!