Skip to content

Removed obsolete HAML

Paul Gascou-Vaillancourt requested to merge 344104-remove-obsolete-haml into master

What does this MR do and why?

This does some cleanup following migrations that converted HAML toggles to GlToggle.

  • In 9cfc2503, we are removing some HAML code that was never actually rendered as it was guarded by a condition that always evaluated to false. This also removes a HAML view that rendered toggles markup, this has been superseded by a Pajamas-compliant HAML partial.
  • In 5aacadef, we are removing a Javascript that wasn't used anywhere anymore and can be replaced by a new toggles init script.
  • 424f1bf0 simply deduplicates some test cases by moving them to a shared example.

Screenshots or screen recordings

No visual changes.

MR acceptance checklist

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

Related to #344104 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports