Skip to content

Navigation: Share layout code for both Page List Item and Navigation Link #46050

Closed as not planned

Description

@scruffian

What problem does this address?

Both the Page Link Item and Navigation Link blocks have the same layout. We need to remember to make changes in both places to keep them in sync which is a a challenge.

What is your proposed solution?

Share the code somehow.

Activity

  1. jasmussen commented on Oct 7, 2026

    @jasmussen
    Contributor

    Closing this for inactivity rather than because the goal is wrong. Keeping Page List Item and Navigation Link layout in sync by sharing code is still a sensible maintainability aim. Some of the shared logic has since been extracted (colour and child-block-props helpers in navigation/edit/utils.js, from #46620), but nobody has taken on the rest, and this issue has had no discussion in over three years. If you spot a specific piece of duplicated layout code that is causing drift or bugs, please open a new issue or reopen this one pointing at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions