Problem/Motivation
Now that Tour has been deprecated the shepherd library can be removed. This was overlooked in #3336033: [Meta] Tasks to deprecate Tour module.
Thanks to alexpott for bringing this up.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3442286
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3442286-deprecate-and-remove
changes, plain diff MR !7633
- 3442286-10.3.x
changes, plain diff MR !7636
Comments
Comment #3
catchNot sure whether we'll hit deprecation test errors on 10.3, or whether tour module already being deprecated means tests will continue to pass, hopefully the latter, otherwise we'll need to update the deprecation skip list.
Created a CR for the deprecation message to link to. This still needs an issue opened against the tour contrib module.
Comment #6
alexpottNice work to have to MRs for both 10.3.x and 11.x... I think the big question is what about the tour contrib module. I guess it needs to include the shephard library like core did - but that's good because it can then update it on its own terms.
Once this is rtbc I'll commit.
Comment #7
quietone commentedI read both MRs and they are correct. I am not familiar with js deprecations so I checked the docs, https://www.drupal.org/about/core/policies/core-change-policies/drupal-d..., and it matches. Well, except that this uses 'will be' instead of 'is' but that is not something to correct now as 'will be' exists in other examples on that page. In other words the policy itself is inconsistent. That is something to look at another day.
Comment #8
quietone commentedForgot to add that I read the change record as well and it is fine, no changes needed.
Comment #9
longwave11.x MR needs to also remove it from package.json (and yarn.lock), and vendor-update.js. There is also a CSS override in core/themes/olivero/css/components/button.pcss.css that can probably go at the same time?
Comment #11
longwaveCommitted the deprecation to 10.3.x anyway, just needs work for the removal.
Comment #12
catchGood point. Ran 'yarn remove shepherd.js' and committed the results, and removed the section from vendor-update.js.
Comment #14
longwaveRemoved the icon CSS from Olivero as well.
Comment #15
catchCSS and copyright changes both look good.
Comment #16
alexpottCommitted c538912c06 and pushed to 11.x. Thanks!
Comment #19
quietone commentedTagging to add the removal of the dependency to the release notes.