Skip to content

Route-based code splitting for widget mode #122

Description

@zealsprince

A widget shouldn't download the settings panels, server browser, or session management it can never navigate to. Establish the lazy boundary at the shell: those surfaces load behind dynamic import(), and in widget mode they're never fetched.

Spec

  • Clients - the boundary and the precache interaction

Acceptance criteria

  • The initial widget load excludes the chunks for settings, server browser, and full voice management, verified from the network log
  • The full app still loads every surface on demand with no navigation regressions
  • Workbox precaches only the widget-path chunks for embedded loads

Blocked by the widget mode ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientClient apps: UI, platform adapters, cache, PWA

    Type

    Fields

    Size

    None yet

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions