Skip to content

Intent-to-Remove: amp-sidebar 0.2 #26176

@wassgha

Description

@wassgha

Summary

amp-sidebar 0.2 (see #25049) was intended to be a breaking version bump of amp-sidebar with the following features:

  1. Nested-menu support (which was then launched and integrated into 0.1)
  2. Better animations (not implemented, but non-breaking so can be integrated into 0.1)
  3. Uses accessibility best practices (non-breaking, partially implemented, will be brought into 0.1)
  4. Solve Make <amp-sidebar> mask element compatible with Story #24827 by integrating the mask inside the amp-sidebar element (breaking, required 0.2)

However, from an offline discussion, it seems like #24827 is not worthy of a version bump since it's sole purpose is to provide a better solution for amp-story, however, amp-story will still need to continue to support amp-sidebar 0.1 anyways and the workaround that amp-story implemented will have to remain in the code. This makes the version bump unnecessary as all other features can be implemented onto 0.1.

Rollout plan

  1. Document amp-nested-menu usage with amp-sidebar within 0.1 (Document amp-nested-menu usage in amp-sidebar's README.  #26175 )
  2. Merge implemented amp-sidebar a11y improvements from 0.2 into 0.1
  3. Remove 0.2 code and the amp-sidebar-v2 experiment
  4. Implement non-breaking features (more a11y improvements and better animations) inside 0.1 whenever possible

/cc @ampproject/wg-approvers

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions