Skip to content

feat: update template for composite app #968

Open
cmorman89 wants to merge 3 commits intopreviewfrom
feat-comp-plugin-template
Open

feat: update template for composite app #968
cmorman89 wants to merge 3 commits intopreviewfrom
feat-comp-plugin-template

Conversation

@cmorman89
Copy link
Contributor

@cmorman89 cmorman89 commented Feb 26, 2026

Overview

  • Update plugin.tsx to handle slot === "content" to allow UI to render within composite app content area
  • Update tool server config.ts to include:
    • uiConfig.available_in array to specify what contexts are supported (app_portal and/or composite_app)
      • If undefined or empty then Studio defaults to only showing in app portal for backward compatibility
    • uiConfig.navigation array to specify what paths/subroutes should be exposed to composite app sidebar (imports ui-nav-items.ts
  • Add ui-nav-items.ts to tool server hold optional AppUINavItem array
    • Used home page and next page as navigation examples for template
    • If empty or undefined, no submenu items appear and Studio defaults to base route ("/")

In Composite App

  • Exposes ui-nav-items.ts array
  • Allows navigating by clicking items
  • Also tracks when navigating internally with app (correct menu item highlights)
image image

Manifest Using Endpoint

  • Static manifests also supported, hinting already in editor
image

Studio Composite App Settings

image

Studio can see items in ui-nav-items.ts:

image

@cmorman89 cmorman89 requested a review from a team as a code owner February 26, 2026 20:34
@cmorman89 cmorman89 self-assigned this Feb 26, 2026
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.

1 participant