Skip to content
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

undo & redo support #4863

Open
wants to merge 90 commits into
base: main
Choose a base branch
from
Open

undo & redo support #4863

wants to merge 90 commits into from

Conversation

emptyrivers
Copy link
Contributor

if you want to test it out, checkout this branch, or download the build artifact, either should have the feature automatically enabled. This feature is (for now) disabled by default on alpha/beta/release builds, though you can enable it via the command /wa ff undo - this will persist thru a reload

currently implemented:

  • url on information tab
  • most of the action tab
  • most of the group tab
  • most non-position properties on display tab

there's still a lot to do, especially for custom options & condition options
image
(there's other changes to be made undo-able not caught by that grep)

@emptyrivers emptyrivers added 🎨 Enhancement This pull request implements a new feature. 👩‍🔬 Work in Progress This pull request is still being actively developed and shouldn't be merged. labels Feb 8, 2024
@emptyrivers
Copy link
Contributor Author

note that this is downstream of #4844, so I might close that pull request & just fold it into this one

@Stanzilla
Copy link
Contributor

note that this is downstream of #4844, so I might close that pull request & just fold it into this one

I think keeping it separate makes more sense, we just need to review the FF PR properly and test it, I haven't done that so far

@InfusOnWoW
Copy link
Contributor

Yeah, please keep them separate.

@emptyrivers
Copy link
Contributor Author

emptyrivers commented Apr 4, 2024

an update on progess:

majority of controls in WA options now perform undo-able actions. exceptions are:

  • some region/subregion options
  • (regular) group options
  • "exotic" things like MoverPicker, or TextEditor (though I imagine most folks who read this won't consider the code editor to be "exotic")
  • Duplicate/Add/Delete/Rename whole auras is not yet supported (delete will also immediately break the history until you reload the UI)

@emptyrivers
Copy link
Contributor Author

(note, this pull has #4982 merged in, for my own sanity. The actual changeset is smaller (though, honestly not that much smaller)

@krazyito65
Copy link
Contributor

Small graphical request: if either the 'undo' or 'redo' is empty (or the last item in the history), have the text 'fade' (optionally unclickable?) to indicate you can't go any further

@emptyrivers emptyrivers force-pushed the undo branch 2 times, most recently from e42f616 to c1d2ff8 Compare April 4, 2024 21:17
@InfusOnWoW InfusOnWoW added the 🆕 Feature Preview This is a draft intended to show a preview of an upcoming feature. label May 3, 2024
Copy link
Contributor

github-actions bot commented May 3, 2024

An experimental build of WeakAuras with the changes in this pull request is available here.
Build Time: Mon Feb 24 04:23:20 UTC 2025
Commit:

functionality related to undo/redo will be hidden behind this feature until it's 'ready' for the LCD user

Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
mostly to accomodate how the commonoptions setall works

Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Signed-off-by: Allen Faure <[email protected]>
Stanzilla and others added 30 commits February 22, 2025 16:38
Since the clipping is now also broken on Classic, apply the same change
to classic.

Fixes: WeakAuras#5634
Bumps [cbrgm/mastodon-github-action](https://github.com/cbrgm/mastodon-github-action) from 2.1.10 to 2.1.12.
- [Release notes](https://github.com/cbrgm/mastodon-github-action/releases)
- [Commits](cbrgm/mastodon-github-action@v2.1.10...v2.1.12)

---
updated-dependencies:
- dependency-name: cbrgm/mastodon-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
This PR adds the `Item in Range` conditional used by `Cooldown Progress
(Item)` triggers to other item triggers.

Co-authored-by: Infus <[email protected]>
Somehow the TitleContainer ended up in front of the Minimize Container
on classic era (but not on any other variant), and only in the latest
patch.

I have no idea what actually changed, but puting the minimize button
before the title container is probably a good idea on all versions.

Fixes: WeakAuras#5647
If an update changes both the position and the justify setting, then
somehow the justify setting did not get applied.

This is almost certainly a bug in how wow optimizes the text layout,
apparently the text layout is not properly marked as dirty.

Settting the text to an empty string, which is later overriden with the
correct text seems to be enough to force wow to relayout the text

Fixes: WeakAuras#5654
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Enhancement This pull request implements a new feature. 🆕 Feature Preview This is a draft intended to show a preview of an upcoming feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants