Advanced copy settings
Dracolince opened this issue · 3 comments
My Problem
I create lots of complex auras to track class abilities in kind of a stylish way, and I usually duplicate a previous one to create the next. There are some settings that I have to copy from one aura to another, but most of the time it's just a part of those settings what I need, so even though the display/trigger/load/etc. copy feature is a godsend, I stumble a lot with having to transfer several individual values by hand to a condition or something.
Sometimes, the problem is duplicating just a trigger or condition in the same or another aura, and there is no way to do that other than creating a new one and setting it up from the ground up.
Possible Solutions
It would be nice if there was a way to copy just part of an aura's settings (i.e. copy Aura1's border settings and paste them on Aura2, leaving everything else untouched) or duplicate/copy a trigger/condition (i.e. duplicate Trigger1 in the same aura so that you only have to change just one value instead of having to create a new trigger and manually setting everything up, or copying just Condition1 into another aura).
Ideally, what would be most useful for me, would be:
- Add a "copy/paste settings" button to the top of each settings pane. This would mimic the "copy settings" menu (not replace it), but I think it could be a quicker way to do it.
- Add a "copy/paste section" button to individual sections of a tab (border, spark, position, etc.), so that you can just copy one of those sections instead of ALL display/etc. settings.
- Add a "copy/paste trigger/condition" and a "duplicate trigger/condition" button to those settings tabs, so that you can manipulate individual triggers and conditions by adding or replacing each one instead of the whole tab (which would still be possible, of course).
- (This one is more of a long shot) Add a clipboard-manager-like window where you can add several copied settings (and purge them) for those times where you need to be copying several unconnected settings. All copy buttons or menu options would use the last copied setting by default (current behavior), but opening this window would let you click on a previous clip and apply it to the current aura.
I hope I got everything clear enough. Thanks for your great job with WeakAuras! :)
Hmm, I'm not talking about default values... it's like...
I've got an aura (Aura1) for mages and warlocks with say, a condition (among other unrelated conditions that I don't need for this) that changes bar colors (foreground, background and spark) if the player is a mage and other one that changes bar colors if the player is a warlock.
Then I make another (Aura2) bar for mages / priests, with whatever conditions I need, and now I need that previous condition from Aura1 to color it when the player is a mage (and another one if the player is a priest... that I could get from another different aura if I've already set up one with that, instead of doing it again from scratch).
Right now I have to manually create the condition, with its three attributes, getting the colors from Aura1 and setting them on the corresponding condition on Aura2. I can't simply copy all conditiong settings because all the other conditions on both auras are different.
Maybe those other conditions are even present on Aura3, so I would save up lots of time if I could just copy a couple conditions from Aura3 and the mage coloring condition from Aura1 and paste them on Aura2.
I'll put it in a more visual way:
Aura1
- Condition 1: If class is mage, bar is blue, background is dark blue, and spark is bright blue. <<- COPY THIS SETTING
- Condition 2: If class is warlock, bar is purple, background is dark purple, and spark is bright purple.
- Condition 3: Only relevant to this aura.
Aura2
- Condition 1: If class is priest, bar is white, background is dark grey, and spark is bright white.
- Condition 2 <<- PASTE SETTING COPIED HERE
- Condition 3: Only relevant to this aura.
More complex condition setups would require me to mix and match conditions from several different auras, and I wish I'd be able to just copy and paste just that condition, or trigger, or display sub-setting, or whatever.
Default settings aren't useful for me in this case (I'm not saying they wouldn't be of use in general, of course). They'd only let me save up time on a couple initial general setups that don't change between classes. I just need to transfer specific settings from one aura to another (and they usually vary a lot, so default settings would save me time on just one specific instance), depending on the nature of the aura and what I need them to show.
Let me know if it's more clear now. It's not critical, but it would save lots of juggling time :)
Hmm, alright I see your point.
I think that this would be best solved with a more strongly component-oriented workflow, than a highly nuanced copy/paste interface (actually, the two ideas blend together a bit at the extreme end). So, your suggestion of:
Add a clipboard-manager-like window where you can add several copied settings (and purge them) for those times where you need to be copying several unconnected settings. All copy buttons or menu options would use the last copied setting by default (current behavior), but opening this window would let you click on a previous clip and apply it to the current aura.
is actually not too far off from some of my more grandiose ideas.
For example, imagine a WeakAuras addon where you could design components of auras independent of the auras themselves. For example, you could create some conditions which say, "if _ then Apply X, Y, Z", which would then be available to add to your aura, similar to how you can add templated triggers today. I think that would solve your use case even better, since you would not be forced to go and find an aura which has the most similar thing that you want to copy. But that would take a large amount of work, which may or may not be justified, and I've no interest in starting that at the moment.
As for your actual requests:
- We've wanted to add a sort of nav bar to WeakAuras for a while, to aid with some common operations. Just, nobody has gotten around to it. We could include the
Add a "copy/paste settings" button to the top of each settings pane
request into that fairly easily, I think. Add a "copy/paste section" button to individual sections of a tab (border, spark, position, etc.), so that you can just copy one of those sections instead of ALL display/etc. settings.
This will probably never happen unfortunately, due to technical reasons. The clipboard feature which exists today is very barebones and really can't be easily extended in the way you are requesting, without just straight up rewriting it, I think. I could be wrong, but I don't think I am 😉Add a "copy/paste trigger/condition" and a "duplicate trigger/condition" button to those settings tabs, so that you can manipulate individual triggers and conditions by adding or replacing each one instead of the whole tab (which would still be possible, of course).
Duplicating is totally fine, we have precedent for that in custom options. I doubt that copy/paste will ever happen, for similar reasons as above.
I'll reopen this ticket for duplicating triggers and conditions, but beyond that I think that most of your requests fall on the wrong side of this graph to become a priority:
Hi, thanks for the feature request. This is actually quite closely related to #983, and imo would be solved by that use case. So I’m going to go ahead and close this ticket. If you believe that your use case is different enough to warrant its own enhancement separate to the theming suggestion, then feel free to explain that and we can talk.