Skip to content

docs: Document Preference Center Segment ordering by Public name#851

Open
promptless-for-oss wants to merge 2 commits into
mautic:7.2from
Promptless:promptless/pr-15850-preference-center-segment-ordering-7.2
Open

docs: Document Preference Center Segment ordering by Public name#851
promptless-for-oss wants to merge 2 commits into
mautic:7.2from
Promptless:promptless/pr-15850-preference-center-segment-ordering-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Adds a note to the Contact Segments section of the Preference Center docs explaining that Segments appear alphabetically by Public name, with a stable secondary sort by internal ID, per mautic/mautic PR #15850. Clarifies that setting a clear Public name controls how Segments appear to Contacts.

Trigger Events


Tip: Tag @Promptless in GitHub PR comments to guide documentation changes during code review 🐙

Segments in the Preference Center are now ordered alphabetically by
Public name (with a stable secondary sort by ID), per mautic/mautic
PR #15850. Document the ordering so admins know Public name controls
how Segments appear to Contacts.
Comment thread docs/contacts/preference_center.rst Outdated

Use the Segments tab to add or remove a Contact from a Segment. Segments are a source for both starting Campaigns and sending Emails. Any Contact in a particular Segment is automatically part of a Campaign that has that Segment as the source. You can also use a standalone Email to manually send an Email to a Segment. If a User has opted out of a Segment they no longer receive Campaign actions or messages sent to that Segment.

Segments appear in the Preference Center in alphabetical order by Public name. If two Segments share the same Public name, Mautic orders them by their internal ID. Since Contacts see this order, set a clear Public name on each Segment to control how it appears.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Documents the ordering introduced by this PR: LeadListRepository::getPreferenceCenterList() changed its query from orderBy('l.name') to orderBy('l.publicName') plus addOrderBy('l.id', 'ASC'), so Preference Center Segments now sort alphabetically by Public name with a stable secondary sort by internal ID.

Source: mautic/mautic#15850

Comment thread docs/contacts/preference_center.rst Outdated

Use the Segments tab to add or remove a Contact from a Segment. Segments are a source for both starting Campaigns and sending Emails. Any Contact in a particular Segment is automatically part of a Campaign that has that Segment as the source. You can also use a standalone Email to manually send an Email to a Segment. If a User has opted out of a Segment they no longer receive Campaign actions or messages sent to that Segment.

Segments appear in the Preference Center in alphabetical order by Public name. If two Segments share the same Public name, Mautic orders them by their internal ID. Since Contacts see this order, set a clear Public name on each Segment to control how it appears.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@promptless-for-oss please address the suggestions.

Suggested change
Segments appear in the Preference Center in alphabetical order by Public name. If two Segments share the same Public name, Mautic orders them by their internal ID. Since Contacts see this order, set a clear Public name on each Segment to control how it appears.
Segments appear in the Preference Center in alphabetical order by **Public name**. If two Segments share the same **Public name**, Mautic orders them by their internal ID. Since Contacts see this order, set a clear **Public name** on each Segment to control how it appears.

Applies maintainer @adiati98's review suggestion to emphasize the
'Public name' field references in the Preference Center Segment
ordering note.
@promptless-for-oss

Copy link
Copy Markdown
Contributor Author

Thanks @adiati98 — done. We've applied your suggested edit: the three Public name references in the Segment-ordering note are now bolded, with the wording otherwise unchanged. Committed and pushed to promptless/pr-15850-preference-center-segment-ordering-7.2; ready for another look.

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.

2 participants