When adding menu links, check for links to the homepage, and don't add them

Created on 3 January 2025, 20 days ago

Problem/Motivation

Some menus will include links back to the homepage, especially menus besides the main menu. These create scenarios that are a duplicate of the homepage link.

Steps to reproduce

- Create a new menu, and add a link to the home page.
- Include the new menu in a profile
- Include the homepage checkbox
- Generate the backstop file
- An additional scenario is created for the menu homepage link

Proposed resolution

Check the menu links, and remove any that point back to the site root

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wylbur Minneapolis, Minnesota, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024