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
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
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 & links, location, and joined date if they provided this information when editing their profile (I definitely did not just copy these things from )
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
Updated styling and backend schema and types
Updated readme with some documentation for the API and additional descriptions
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.