-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Compat updates for LFGBulletinBoard
#235
Comments
Our changes arent on the release version yet. So no rush on your end. |
Hey, What is your reason to not just use LibDBIcon? Felt a bit odd when browsing your code. My compatibility is kind of a hack, yeah. Not using it on Cata(/Wrath) was an oversight, but somehow nobody reported any error. LFGBulletinBoard is definitly one of the addons I recommend everyone for Era/SoD! |
There really is none, i just came into the codebase about 4 months ago, i also had alot of questions lol. We will move to LibDBIcon at some point. All that "LibGPI" in our codebase stuff is inherited from the OLD version of the addon (2019 classic release). I guess the original author was against bundling these external libs in his addon so he made his own half-baked "libraries" (the minimap stuff seems to mostly be copy paste from LibDBIcon). |
I also started without really any Lib, but some are really useful, especially LibDBIcon seems great cause it makes it easy to style all other addon buttons at once 😅 Manual packaging is my worst nightmare, the bigwigs packager makes it so easy, setup is like 15min if you only need the basic stuff. 1-2 times I had to make a small hotfix, when my packager wasn't set up for that and I had already merged something into main.. manuall file editing and repackaging, checked everything 3-4 times and still something went wrong lol. I merged your PR into the next version, which I will release later today. |
Describe the bug
Additional context
The
DF.Compatibility:LFGBulletinBoard
runsnewOnUpdate(btn)
during addon load, when the user is not dragging the minimap button, and this causes its savedposition
value to be updated ever addon reload.Lines here check for the existence of our addon (on any client) and tries to run the compatibility patch, however in
Compatibility.lua
the patch is only defined for Era clients. Results in following errorVersions:
Era/Cata Clients.
Notes:
In Vysci/LFG-Bulletin-Board#302. Ive opted any user with
LibDBIcon-1.0
installed into using it to manage their button. You guy bundle it, so any overlapping users should be able to take advantage of that and the button will just play nicely.Where it doesn't play nicely is when a user opts out using LibDBIcon so that they can free offset the button the minimap.
As a workaround, ive change the name of our minimap button frame so that your patch wont run, but that leaves an unskinned button whenever our users arent using the LibDBIcon compatibility. (see image)
The text was updated successfully, but these errors were encountered: