Skip to content

Tasks tab is height-capped — should fill viewport height like the Chat tab #1500

Closed

Description

@vybe

Summary

On the Agent Detail page, the Tasks tab renders inside a fixed-height layout: the task list is capped at max-h-96 (~24rem) and scrolls inside that small box, while the rest of the viewport below the panel stays empty on larger screens. The Chat tab, by contrast, flex-fills the available viewport height. The Tasks tab should stretch vertically to fill the screen the same way.

Context

User report: the Tasks tab feels cramped — only a handful of task rows are visible at once even on a tall display, and the inner scrollbar inside a mostly-empty page is awkward. The Chat tab already demonstrates the intended behavior on the same tab strip, so this is a consistency fix within the Agent Detail layout.

Acceptance Criteria

  • The Tasks tab content area fills the available vertical space of the Agent Detail layout, matching the Chat tab
  • The task list scrolls within the filled area (no fixed max-h-96 cap); no page-level double scrollbar is introduced
  • The New Task composer remains fully visible and usable at all viewport heights
  • Existing behavior is unaffected: ?execution= deep-link highlighting, task expansion details, dark mode
  • Short viewports degrade gracefully (content scrolls, nothing is clipped)

Technical Notes

  • src/frontend/src/views/AgentDetail.vue: the Chat tab wrapper uses class="flex-1 overflow-hidden flex flex-col", which is what lets it fill the column; the Tasks tab wrapper is a plain <div v-if="activeTab === 'tasks'" class="p-6"> with no flex sizing.
  • src/frontend/src/components/TasksPanel.vue: the task list container uses max-h-96 overflow-y-auto; compare ChatPanel.vue / SessionPanel.vue, whose root is flex flex-col h-full with a flex-1 scroll region.
  • Likely fix: give the Tasks tab wrapper the same flex-fill treatment as the Chat wrapper, and restructure TasksPanel.vue as a h-full flex flex-col layout where the list is the flex-1 overflow-y-auto region (composer/header fixed, list absorbing remaining height).

Activity

  1. added
    priority-p2
    type-bug
    theme-ui-ux
    complexity-low
    status-ready
    on Jul 7, 2026
  2. removed
    status-ready
    on Jul 7, 2026
  3. vybe commented on Jul 7, 2026

    @vybe
    ContributorAuthor

    /claim

  4. added
    status-in-progress
    on Jul 7, 2026
  5. github-actions commented on Jul 7, 2026

    @github-actions

    Claimed by @vybe. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/1500-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #1500
  6. added a commit that references this issue on Jul 8, 2026
  7. added
    status-in-dev
    and removed
    status-in-progress
    on Jul 8, 2026
  8. removed
    status-in-dev
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-lowpriority-p2theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions