Skip to content

[Feature] Configure Journey and group visibility in the Journey Toolbar selector #522

Description

@chdenat

Context

The Journey Toolbar selector should provide a focused list of journeys while the Journey Drawer must retain access to the complete journey collection.

Journeys can be organized into groups. Groups also need a visibility control so that an entire group can be included in or excluded from the Journey Toolbar selector.

Requested behavior

Add a persisted per-journey switch controlling whether a journey appears in the Journey Toolbar selector.

When disabled:

  • The journey remains available in Studio.
  • The journey remains available in the Journey Drawer selector.
  • The journey is hidden from the Journey Toolbar selector when it is not the current journey.
  • The current journey remains visible in the Journey Toolbar selector.

Add a visibility switch to the Journey Groups UI.

When a group is set to visible:

  • All journeys contained in the group are forced to show.
  • The group can appear in the Journey Toolbar selector if it contains at least one visible journey.

When a group is set to hidden:

  • All journeys contained in the group are forced to hidden.
  • The group is excluded from the Journey Toolbar selector.

If none of the journeys contained in a group is visible, the group must not appear in the Journey Toolbar selector.

The Journey Drawer selector must always display all loaded journeys, regardless of journey or group visibility settings.

Acceptance criteria

  • Each journey exposes a persisted Journey Toolbar visibility switch.
  • Existing journeys without this setting default to visible.
  • The Journey Groups UI exposes a persisted show/hide switch for each group.
  • Showing a group forces all journeys contained in that group to visible.
  • Hiding a group forces all journeys contained in that group to hidden.
  • A group with no visible contained journey is excluded from the Journey Toolbar selector.
  • A group with at least one visible contained journey can appear in the Journey Toolbar selector.
  • The current journey always remains visible in the Journey Toolbar selector.
  • The Journey Drawer selector always displays all loaded journeys.
  • Journey selection remains disabled while the required journey data is loading.
  • Tests cover journey filtering, group filtering, group show/hide propagation, current journey visibility, and drawer visibility.

Notes or questions

Group visibility applies to all journeys contained directly or through nested child groups.

Technical notes

  • Keep the complete journey collection used by the Journey Drawer separate from the filtered projection used by the Journey Toolbar.
  • Persist journey and group visibility settings.
  • Use backward-compatible defaults for existing data.
  • Group visibility changes must update all contained journeys in one consistent operation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions