Skip to content

fix: show the Custom Attribute label name when deleting#1121

Merged
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/delete_custom_attributes
Mar 8, 2026
Merged

fix: show the Custom Attribute label name when deleting#1121
JohnVillalovos merged 1 commit intodevelopfrom
jlvillal/delete_custom_attributes

Conversation

@JohnVillalovos
Copy link
Collaborator

When deleting a Custom Attribute show the label name in the confirmation box.

Closes: #1100

When deleting a Custom Attribute show the label name in the confirmation
box.

Closes: #1100
Copilot AI review requested due to automatic review settings March 8, 2026 01:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the Admin “Manage Attributes” UX by displaying the Custom Attribute’s display label in the delete confirmation modal, aligning with issue #1100’s request to show what’s being deleted.

Changes:

  • Updated the delete confirmation modal to include the attribute’s display label.
  • Populated the label dynamically in the delete dialog using the existing client-side attribute list data.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tpl/Admin/Attributes/manage_attributes.tpl Adds a placeholder in the delete modal to display the attribute label.
Web/scripts/admin/attributes.js Looks up the selected attribute and injects its decoded label into the delete modal.

You can also share your feedback on Copilot code review. Take the survey.

@JohnVillalovos JohnVillalovos merged commit b1b06e5 into develop Mar 8, 2026
19 checks passed
@JohnVillalovos JohnVillalovos deleted the jlvillal/delete_custom_attributes branch March 8, 2026 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] When deleting Custom Attributes, show the name of the attribute being deleted in the confirmation

2 participants