Skip to content

feat(apps): host isolated app UIs and dynamic extension slots #455

Closed

Description

@RentnerKev

Phase: 4 | Priority: P0

Load independently built app frontends through a bounded host bridge and the existing authenticated application shell.

Scope

  • Implement the generic /apps/ route, immutable assets, sandbox/CSP policy and frame/generation-bound MessageChannel.

  • Broker app-owned API operations through session/origin/permission checks; expose bounded theme/language/navigation/dialog services.

  • Register navigation, host tabs, widgets, search and app-owned permission/event metadata through declared contributions.

  • Handle app-version cutover and stale in-browser state without mixing frontend/backend generations.

  • Ship app UI code, styles, fonts/locales and required assets with the immutable package; host them locally after installation. Optional Marketplace rating/statistic enrichment is separate from the app bridge and runtime assets.

Dependencies

These are implementation prerequisites; app-to-app delivery gates do not create runtime dependencies.

Acceptance criteria

  • A separately released UI is usable without rebuilding/restarting platform and cannot access session cookies, internal sockets or another app bridge.
  • Direct navigation, frame replacement, spoofed messages and forbidden browser/network capabilities preserve the tested isolation policy.
  • App and resource permissions are enforced on server requests; hiding a menu alone never grants access.
  • Keyboard/focus, dialogs, deep links, localization and themes work in registered pages/slots.
  • Stale mutating requests are rejected after cutover and the affected app UI can reload without corrupting pending work.
  • Missing/failed/disabled apps leave core routes, search and shell usable without hard-coded six-app UI imports.
  • Installed app pages, navigation and required static resources work with Marketplace/catalog/package hosts unreachable, subject only to each app's explicitly declared domain-service requirements.

Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: uienhancementsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions