Document Tag removal confirmation and expandable Tags tile on Contact detail page#779
Open
promptless-for-oss wants to merge 1 commit into
Open
Conversation
|
|
||
| A Contact's Tags appear on the Contact's detail page in a dedicated Tags tile. If a Contact has 8 or fewer Tags, the tile shows all of them. If a Contact has more than 8, the tile shows the first 8 and becomes expandable - use the control on the tile to view the remaining Tags. | ||
|
|
||
| To remove a Tag from the Contact's detail page, click the **x** icon on the Tag. Mautic displays a confirmation dialog asking 'Are you sure you want to remove this tag from the contact?'. Click **Confirm** to remove the Tag, or **Cancel** to keep it. This confirmation step prevents you from accidentally removing a Tag with a single click. |
Contributor
Author
There was a problem hiding this comment.
The exact confirmation message 'Are you sure you want to remove this tag from the contact?' comes from the new mautic.lead.tag.confirm_remove string added in app/bundles/LeadBundle/Translations/en_US/javascript.ini, and the Mautic.removeTagFromLead/confirmRemoveTagFromLead changes in lead.js introduce the Confirm/Cancel dialog before removing a Tag.
Source: mautic/mautic#15845
|
|
||
| .. vale on | ||
|
|
||
| A Contact's Tags appear on the Contact's detail page in a dedicated Tags tile. If a Contact has 8 or fewer Tags, the tile shows all of them. If a Contact has more than 8, the tile shows the first 8 and becomes expandable - use the control on the tile to view the remaining Tags. |
Contributor
Author
There was a problem hiding this comment.
The 8-Tag threshold and expandable tile behavior come from lead.html.twig, where maxVisibleTagsCount = 8 selects a tile--base for 8 or fewer Tags and a tile--expandable-interactive (first 8 above the fold, remainder below) when tagCount > maxVisibleTagsCount.
Source: mautic/mautic#15845
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Adds a "Viewing and removing Tags on a Contact" section to tags.rst describing the new confirmation dialog when removing a Tag from the Contact detail page, and the expandable Tags tile that shows the first 8 Tags when a Contact has more than 8. Based on merged mautic/mautic PR #15845. Targets the 7.2 user docs branch (PR base 7.x).
Trigger Events
Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡