Postponed on #3051766: Deprecate and replace jQuery Joyride (for tours)
Problem/Motivation
Tour's API was changed in #3051766: Deprecate and replace jQuery Joyride (for tours), and a BC layer was added. That layer can be removed in Drupal 10. Specifics will be added after #3051766, and the codebase will have @todo items referencing this issue that should be addressed.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | interdiff_3195193_16-21.txt | 521 bytes | andregp |
| #21 | 3195193-21.patch | 49.95 KB | andregp |
| #17 | interdiff_3195193_11-16.txt | 6.62 KB | andregp |
| #17 | 3195193-16_withouth-quotes.patch | 49.98 KB | andregp |
| #12 | diff-5-8.txt | 8.5 KB | quietone |
Comments
Comment #2
bnjmnmComment #3
andypostClosed duplicate #3261249: Remove deprecated tour.module functions
Comment #4
andypostInitial attempt to clean-up
Comment #5
andypostfix cs
Comment #7
paulocsComment #8
paulocsLets see what tests bots will say.
Comment #10
paulocsLet me see if I can fix the errors.
Comment #11
paulocsNew patch.
Comment #12
quietone commentedJust adding diff between #5 and #8
Comment #13
quietone commentedIs quoting all these strings necessary? AFAIK, YAML should handle that just fine.
Comment #14
paulocsI did not do an investigation to check the motivation but there are some tests that fail when the quotes are not added. And the error complains only of those keys that don't have quotes.
For example the
JsonApiUpdatePathTestor theMigrateDrupalUpdateTestthat failed in patch #5.Comment #15
longwaveNot sure we can just remove this comment without doing the deprecation that it suggests?
Comment #16
catch@paulocs could you do a version of the patch without the quoting, just so we can see those test failures in isolation from the rest?
The removal of the @todo in #15 does seem unrelated to the rest of the changes since we're not actually changing anything in that class, although it's better to have an issue without a @todo than vice versa.
Comment #17
andregp commentedHere is a patch without the quotes, expected to fail, as suggested by @cathc .
Comment #18
catchIMO we should go ahead and remove this hunk from the patch - the issue it points to is still open, but given this passes tests without the config changes, looks RTBC to me otherwise.
Comment #19
andregp commented@catch I am a bit confused.
The last patch #17 already removes the comment below from TourTipPluginInterface
And when you said:
I think it points to itself. https://drupal.org/node/3195193 is this issue here.
Comment #20
catchHmm OK, I think it is me who's confused.
However this issue isn't deprecating or removing the method on TourTipPluginInterface so I think we should open a follow-up to do that.
Comment #21
andregp commentedSo I created a follow-up for this issue and updated the link at TourTipPluginInterface.php to point to that issue.
Here is the follow-up #3276336: Move methods from TourTipPluginInterface and deprecate this interface. and the new patch.
Comment #22
andregp commentedComment #23
catchThanks looks good now.
Comment #25
catchRandom test failure. Restoring status.
Comment #27
andregp commentedAnother random test failure. Restoring status.
Comment #28
lauriiiIs this the correct issue? That issue was closed as a duplicate for this.
Comment #30
lauriiiUpdated on commit to reference #3276336: Move methods from TourTipPluginInterface and deprecate this interface..
Committed f9bb5b8 and pushed to 10.0.x. Thanks!