Skip to content

Add drag-and-drop trace import #1

Description

@ding-swj

Body:
Support dragging a .json trace file directly into the AgentScope UI.

Scope:

  • Add a drop zone or global drag target
  • Reuse the existing trace validation logic
  • Show the same error banner for invalid traces
  • Keep the current file picker import working

Acceptance criteria:

  • Dragging examples/auth-fix.trace.json loads the trace
  • Invalid JSON shows a clear error
  • npm run lint and npm run build pass

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