Replace Tour BackboneJS usage with VanillaJS equivalent

Created on 17 March 2021, over 3 years ago
Updated 2 September 2024, 3 months ago

Problem/Motivation

It was decided that core use of BackboneJS will be replaced with VanillaJS equivalents: #3145958: [META] Re-evaluate use of Backbone.js in core

This issue's scope to to replace Tour's use of Backbone with Vanilla JS. No functionality should change, just the JS used to achieve it.

A protoype of Tour using VanillaJS instead of Backbone can be found in this comment: #3145958: [META] Re-evaluate use of Backbone.js in core . The patch probably won't apply once #3051766: Deprecate and replace jQuery Joyride (for tours) lands, but using it as a reference will likely expedite completion of this task.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

9.4

Drupal.tour.models and Drupal.tour.views have been deprecated in preparation of removing Tour's BackboneJS dependency in Drupal 10. Tour functionality will not be changed, but some JavaScript customizations of Drupal.tour may need to be changed to work in Drupal 10. See the Change record for details.

10.0

The Tour module no longer uses BackboneJS. All the functionality achieved with Backbone JS is now implemented with Vanilla JavaScript. Modules or themes that have JavaScript accessing Drupal.tour.models or Drupal.tour.views will need to be updated. See the Change record for details.

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Javascript 

Last updated about 6 hours ago

Created by

🇺🇸United States bnjmnm Ann Arbor, MI

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024