Open 0xeac7 opened 4 months ago
Thanks for the PR! I haven't had a chance to look at the code yet but heres some notes after clicking around:
When you generate a profile popup by clicking on a name instead a profile picture, it doesn't go away when you click away. Sometimes profiles show up totally blank. Console gets spammed with:
[BetterDiscord] [Patcher] Could not fire instead callback of getUser for Pluralchum TypeError: Cannot read properties of undefined (reading 'avatarDecorationData')
A few changes to make it look and work more like profile popup in regular discord.
Take the link underline color from the username color instead of white. The display name part of the popup (big one at top) should look how it does in the server. The username part (the smaller, lower part) was the base account name.
Showing base account roles? Either getting rid of the "note" section or using the note from the base account?
done! feel free to review this when you have time
small bug i noticed on the latest commit - clicking on a PK username can leave its message stuck in the hovered state, even if you close the profile and try hovering over the message again. re-opening the profile seems to fix it
also noticed on an older commit that Discord tends to hang when the window switches from unfocused to focused, with a significant amount of time being spent in a function called by the Components.Popout.prototype
patch. this issue seems to get worse the longer Discord is running - not sure if this has been fixed, but so far the latest commit seems more responsive at least
Fixed everything except the colour bit - it doesn't seem to break the logic, just defaults it for profiles. Should be good to go anyway :)
commented from other account. mb
also - since this is a big update, would it be better to bump the version higher?
also - since this is a big update, would it be better to bump the version higher?
we roughly follow semver
please suggest any additions to the code or things to be changed. thank you!