Closed pgarneau closed 4 months ago
@tg123 Made a separate PR cause I changed some logic around. I do think this is the best UX of the UI we're gonna get. Dropdowns are too "hidden" when you press import.
I will close my other PR, but I still have the branch
the reason ignore applies to export is that people may wish to hide their macro or something else. this option will also contribute to smaller exported text
The end result is the same if you ignore on export or ignore on import. THe size of the exported text is really a concern?
people can decode exported text to get macro if it contains everything and many people use it for sharing macro only
Yes but it’s kinda necessary in this use case:
You import action bars, but ignore account macros because you already have them.
The action bar import relies on the macro table to find the macro with index X.
If you didnt modify your account macros, you can use the index directly to translate to macroId.
However if you did modify macros, you can use the macro table with the MySlot:FindMacro() to find the new index EVEN IF you decided to ignore it
On Sat, Jun 15, 2024 at 2:41 AM Boshi Lian @.***> wrote:
people can decode exported text to get macro if it contains everything and many people use it for sharing macro only
— Reply to this email directly, view it on GitHub https://github.com/tg123/myslot/pull/49#issuecomment-2169163776, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADR4JCX5PPUNJ5JDC4BWDV3ZHPO3JAVCNFSM6AAAAABJKPVLHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGE3DGNZXGY . You are receiving this because you authored the thread.Message ID: @.***>
And yes people use the string to share macros, sometimes use it to share whole UIs.
We already have very long import strings in other addons like elvui/weakauras/etc
I still dont see how it is a problem
I don't like how the configuration is hidden when you click on import or export.
It is cleaner though.
please check branch optref (WIP)
Thanks
Your PR inspired me a lot, for example your FindMacro fixed long time duplicate macro issue. I copied it Also, I rethought about your question if macro should be export: that the reason you want to keep macro info is that ignore macro during import would stop myslot looking up local macro table, the latest version also fixed it.
Please let me know if https://www.curseforge.com/wow/addons/myslot/files/5485299 solved all your headache problems
too busy at day time work, sorry for the delay.
@tg123 ty I'll check out your latest release