Add an option to the addItemToToolbar config action to skip adding if the item already exists

Created on 8 October 2024, about 1 month ago

Problem/Motivation

If you apply a recipe that has the addItemToToolbar config action adding a button that already exists, that button is added twice. There are instances where you do want to add multiples of the same item, like the divider (- '|'), but in most cases, you will only want a single instance.

Steps to reproduce

Apply a recipe twice that has addItemToToolbar.

Proposed resolution

Consider adding a `skip_if_exists: true` option which would skip adding the item and move on to the next config action.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

configuration entity system

Created by

πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024