Skip to content

Remove unused Version-related functions

Sarah German requested to merge sarahg/remove-unused-version-methods into main

What does this MR do and why?

Removes functions related to the versions drop-down menu that we no longer use. References to these functions were removed in this MR: !2808 (merged)

This also removes an unused template file. We no longer need this now that the Versions drop-down is a Vue component.

Screenshots, screen recordings, or links to review app

n/a

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Verify the site compiles without errors.
  2. Verify the functions removed in this MR are no longer referenced in the codebase by running this search from the project root:

grep -Rnw 'active_dropdown\|archives?\|active_class\|data_versions\|next_version\|dotcom\|version_dropdown_title\|dotcom\|display_previous_versions' --exclude-dir={node_modules,public,tmp}

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports