When deleting a pattern in Patternkit, the warning message that appears to confirm the deletion of the pattern could lead to confusion because it reads: "Are you sure you want to remove this node?"
The word node may confuse some as they may think the entire node being edited will be deleted. Perhaps using "pattern" would be a better option.

Steps to reproduce (For use with WebRH only)

  • Enable Layout Builder(LB) and Patternkit modules
  • Enable LB in a content type
  • Create a node for the content type you just enabled LB for
  • Add any of WebRH patterns to the page
  • Add the block then click the Configure link to edit the block/patter you just added
  • At the bottom of the block, click the Remove item button
  • Notice the alert message that comes up. It should read "Are you sure you want to remove this item?". Previously this message read "Are you sure you want to remove this node?"

Issue fork patternkit-3280424

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mariohernandez created an issue. See original summary.

mariohernandez’s picture

Issue summary: View changes

krisahil made their first commit to this issue’s fork.

krisahil’s picture

Component: Module Core » Schema Editor
Category: Bug report » Feature request
Status: Active » Reviewed & tested by the community

Tested manually and found no problems.
Thanks, @mariohernandez!

mariohernandez’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.