Skip to content

[Architecture] Migrate Monitor to WebviewViewProvider #25

@AlexChesser

Description

@AlexChesser

Ticket 1.1: [Architecture] Migrate Monitor to WebviewViewProvider

Title: Transition ail Monitor from Editor Tab to Dockable View Container

Description:
The current ail Monitor uses a WebviewPanel, which occupies the main editor space. To support a "Daily Driver" workflow, we need to move this to a WebviewViewProvider so it can be docked in the Sidebar or Bottom Panel.

Tasks:

  • Create a new class implementing vscode.WebviewViewProvider.
  • Register the provider in extension.ts.
  • Update package.json to define a new viewContainer and view (defaulting to the bottom panel or explorer sidebar).
  • Refactor the existing HTML/JS loading logic to work within the resolveWebviewView lifecycle instead of window.createWebviewPanel.

Opus Planning Prompt:

"Plan the migration of the ail Monitor from a WebviewPanel to a WebviewViewProvider. Outline the changes required in package.json to register the view in the bottom panel. Describe the class structure for the Provider and how to move the message-passing logic from the current panel controller to the new resolveWebviewView method."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions