Skip to content

Tasks: UI download chat logs (nice-to-have) #1270

@mafredri

Description

@mafredri

Repo: coder/coder

Scope: Add "Download chat logs" option to task list kebab menu. This is a nice-to-have feature that can be deferred if GA schedule is tight.

Design notes:

  • Appears in task row kebab (3-dot) menu alongside "Share workspace" and "Delete task"
  • Downloads conversation history using existing logs endpoint response format
  • Filename: {task-name}-logs.json

Changes:

  • Add "Download chat logs" menu item to task row actions
  • Call existing GET /tasks/{user}/{task}/logs endpoint
  • Save response as JSON file (same format the endpoint returns)

Files:

  • site/src/pages/TasksPage/TasksTable.tsx

Acceptance criteria:

  • "Download chat logs" appears in task row menu
  • Downloads logs for both active and paused tasks
  • Uses existing logs endpoint response format (no transformation)
  • Filename includes task name

Dependencies:

References:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions