programmer2514 / BetterDiscord-CollapsibleUI

A feature-rich BetterDiscord plugin that reworks the Discord UI to be significantly more modular
MIT License
67 stars 9 forks source link

mostly fixed June Discord update messing up all the classes #132

Closed Xanazf closed 3 months ago

Xanazf commented 3 months ago

though i'm not sure if the rest of the code requires any fixes

sorry for formatting stuff, it's my ESLint + Prettier, i really only changed the class definitions under // Classes and relevant things

had to change the toolBar prop, split it into toolBarTop and toolBarMsg so that it could find the "more" icon (though i'm not sure why it doesn't work, so currently it just searches the entire document)

anyways, i hope this'll help adjusting the code to the new changes

programmer2514 commented 3 months ago

Unfortunately, this is a bit difficult to review due to the linting/formatting tools messing with the diff. I have implemented ESLint going forward (without Prettier because I am not a fan of how many unnecessary line-breaks it introduces), so future pull requests should be easier to work with. I appreciate the contribution and will likely cross-reference this in the fix I am currently working on.