Skip to content

web: Add Tasks to the monitoring sidebar #1680

Closed

Description

@cliffhall

Add Tasks as a pinnable panel in the monitoring sidebar (#1616), alongside Logs / Protocol / Network / Console, so a live task list can be watched next to any screen.

Scope

The panels are enumerated and wired in clients/web/src/components/views/InspectorView/InspectorView.tsx. Adding Tasks means:

  1. Extend the MonitorTab union, the MONITOR_TABS array, and the isMonitorTab guard (add a TASKS_TAB constant like the others).
  2. Add a ["Tasks"] entry to the monitorScreens map, built from a shared tasksScreenProps object (so the embedded and full-size instances can't drift), rendering <TasksScreen ... embedded /> with the shared monitorSearch injected into its ui.search.
  3. Thread a new embedded prop through TasksScreen → TaskListPanel → EmbeddableScrollArea, mirroring LoggingScreen/LogStreamPanel: when embedded, fill height, drop the filter sidebar/controls card, and use EmbeddableScrollArea embedded instead of the raw viewport-calc ScrollArea.Autosize.

availableTabs/ALL_TABS already surface "Tasks" when the server advertises the tasks capability, so monitorAvailable picks it up once it's in MONITOR_TABS. The tasks, progressByTaskId, tasksUi, and task handlers are already in scope in InspectorView.

Acceptance

  • With a task-capable server connected, "Tasks" can be pinned into the monitoring sidebar and shows the live task list (active + completed), updating as tasks change.
  • The embedded Tasks panel fills the sidebar height, scrolls its list via EmbeddableScrollArea, and shares the sidebar search box.
  • The full-size Tasks screen is unchanged.
  • Stories + tests cover the embedded variant; a11y gate + coverage stay green.

Activity

  1. self-assigned this
    on Jul 13, 2026
  2. added
    v2
    on Jul 13, 2026
  3. linked a pull request that will close this issueweb: Add Tasks to the monitoring sidebar #1681on Jul 13, 2026
  4. added this to the v2.0.0 milestone on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions