Enhance the Top Segments Dashboard widget to link to Segment's Contacts #3230
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.
Description:
Currently a default dashboard is
Top Lists
which uses theContact Widgets: Top Segments
type. This dashboard shows the names of the top segments with a count ofContacts
within theSegment
.Currently clicking on the name of the segment is a link to edit the segment while the number of contacts is just plain text. If you go to the Segments page it shows a number of contacts with it being a link to the contacts page filtered by segments.
I would argue that seeing the contacts within a segment is much more useful then being able to edit the Segment.
This is solved bychanging the number of Contacts from plain text to be a link to the Contacts page filtered by segment.
Steps to test this PR:
Segment
Segment
Contacts
in theSegment
Contact
being filtered by theSegment