Skip to content

Make the chat "+" menu extensible from org/site configuration #696

Description

@mhaack

PR da-nx#695 adds Manage Enterprise Context as another hard-coded Coworker menu item. This is acceptable as an interim step, but integrations should not require a da-nx release for every new action.

Extend the chat "+" menu using the same configuration model as Canvas’s Prepare menu:

  • da-live loads org and site configuration through fetchDaConfigs().
  • Merge built-in, org, and site entries with precedence built-in -> org -> site.
  • Pass normalized extension entries to whichever chat implementation loadChat() returns (nx-chat or nx-chat-ao).
  • da-nx exposes a stable property for additional menu items and dispatches a composed custom event when an extension item is selected.
  • da-live owns the resulting action, initially supporting safe external links and host-defined handlers.
  • Re-evaluate entries when the active org/site changes.

Suggested entry shape:

{
  "id": "enterprise-context",
  "title": "Manage Enterprise Context",
  "icon": "context",
  "href": "https://experience.adobe.com/#/experiencemanager/enterprise-context"
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ewExperience Workspace

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions