-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moreUserTags: attempt to rewrite #3170
base: dev
Are you sure you want to change the base?
Conversation
by rewrite I meant make patches less dependant on one another. for example, implement this without adding new members to Discord's enums |
right now, the plugin targets so many different modules and if even one single patch breaks, everything else stops working and either causes crashes or makes everyone have APP tag or stuff like that more robust means that the plugin either works or fully breaks (silently), not constantly this in between |
Well, I'll look what i can do about it
That's how i see it:
|
nini |
While reading through the deleted file I've got a question: Should i support data attributes for theming? If I'm not wrong you can just grab content in css for same results Tags inside of profile were reliant on 2-3 patches, I'll try to reduce, but if I wouldn't find a way to do this: should i just drop support for it? Seeing tags from member list/message isn't that hard |
lange rede kurzer sinn It looks like i can't remove default tag without another patch, so what's the point of decorations if it still requires patching? Also MessageDecorationProps.decorations seems to be undefined |
Will there be an option to set tag colors as the guild member color (similar to #2161)? I personally think user tags are informative but very ugly when members' tags use the bot colors because it makes it harder to differentiate between priviliged members and bots at first glance. |
Your plugins add a bunch of new patches which caused this plugin to get deleted I might try to recreate it using decorations, then they will be a lot more useful |
I would love to hear answers to the following questions by someone (Vee or Nuckyz):
|
That might be a nice solution, but wouldn't it look weird with [APP] [WEBHOOK]?
I'll probably change to decorations again tomorrow, try to implement a pr from OIRNIOR and will use splitting like you do |
I believe Nuckyz just PR'd an API for this #3197 |
Well, untill it gets merged there's no point of relying on it |
True, I just didn't implement webhook tags. That could become a separate plugin again or just have its own handling... because surely just changing a message is unlikely to break that much |
I've changed the decorators API a bit, so now if you want to use them you no longer need to manually add margin or align vertically in messages. If you want those changes just merge dev into your branch For the NicknameIconsAPI, I will work a bit more in improving PlatformIndicators and then I plan to merge that into dev as well, shouldnt take much |
Yop, decorations without trying to override original ones are good The only thing left is profiles, which currently requires 3 patches And it seems that #3197 has only userId, so... there is a choice |
Just use SelectedChannelStore - it shouldn't be possible to open a profile for another channel I don't believe |
Fire, I didn't knew that this existed or totally forgot about it. Now i should just wait till new API drops and this plugin going to be
Eehh, it's still a draft and we have time to see how it behaves, but SelectedStoreChannel should still have the same channel? |
Also please merge dev into this branch! Both APIs you used had changes as I mentioned, and I'm pretty sure your tags are going to be off-center because of the classes you are adding, and the fact the APIs do the centering for you now |
I will also try to make it configurable so you can place your tags before Discord ones in messages |
They are different sizes, you should look how discord sets the size of the ones in messages and replicate that |
That's exactly how I'm doing it now |
Reason:
While discord hasn't pushed to stable i'm trying to rewrite patches, so they work both on canary and stable
Currently I've got tags working in messages: