Overview

Provide a locked Default segment that we can always rely on to exist.

Proposed resolution

  • Provide a "default" segment that will act as fallback on segment negotiation on xb_personalization installation.
  • Ensure I cannot edit/delete that 'default' Segment
  • Ensure we use the max weight, as it needs to be evaluated last on negotiation, and appear the last on the UI.

User interface changes

Default segment always exists, with no conditions.

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

penyaskito created an issue. See original summary.

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

thoward216’s picture

Assigned: penyaskito » thoward216
thoward216’s picture

Status: Active » Needs work

wim leers’s picture

Assigned: thoward216 » penyaskito

🏓

thoward216’s picture

Assigned: penyaskito » thoward216

Assigning back to myself to make requested changes.

wim leers’s picture

Assigned: thoward216 » penyaskito
Status: Needs work » Needs review
penyaskito’s picture

Issue summary: View changes
wim leers’s picture

Assigned: penyaskito » Unassigned
Status: Needs review » Reviewed & tested by the community

Beautiful — thanks! 😄

Note this reduces the remaining scope for #3525604 — see #3525604-12: Access control test coverage for Personalization Segments.

wim leers’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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