Replace Tour BackboneJS usage with VanillaJS equivalent

Created on 17 March 2021, over 3 years ago
Updated 30 January 2023, over 1 year 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

10.1 ✨

Component
JavascriptΒ  β†’

Last updated about 7 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.

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.69.0 2024