Display all custom code blocks (Scam Check)
Nightwarden24 opened this issue ยท 0 comments
Description
Not all custom code blocks are still contained in the Custom Code Viewer.
- Overlay
That line should be something likelua addCode(codes, L["%s %i. Overlay Function"]:format(id, i), trigger[property])
Otherwise you will have n buttons containing only the n-th overlay function. Clicking on any of them will select all of them at once. - Condition
a. Can we separate Custom Chat and Custom Code into separate buttons and not mix them (link)? Chat is chat, code is code.
b. Custom Check is missing. However, the case is complicated by nesting of entries (OR, AND)
c. Please, also add a condition number to button texts. Triggers have it (number), but conditions don't.
P.s. It would be nice to slightly increase width of codeTree in the Custom Code Viewer (tip - SetTreeWidth). AceGUI container's default tree width (DEFAULT_TREE_WIDTH = 175) is too small. Especially if a scroll bar appears
WeakAuras Version
3.7.16-26-g8f138a1
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
no errors
Reproduction Steps
Create an aura having custom code in conditions (custom chat, custom code, custom check) and in triggers (overlay). For testing purposes, you can simply set comments in these blocks.
Last Good Version
No response
Screenshots
No response
Export String
No response