Skip to content

Add session export in Markdown + JSON formats#12

Open
AbdullahSAhmad wants to merge 1 commit intomasterfrom
strata/wi-2-9f13
Open

Add session export in Markdown + JSON formats#12
AbdullahSAhmad wants to merge 1 commit intomasterfrom
strata/wi-2-9f13

Conversation

@AbdullahSAhmad
Copy link
Copy Markdown
Collaborator

Summary

  • New export/ module with pure formatters (session-export-formatter.ts), data adapters (session-data-adapter.ts), and clipboard/download helpers (export-actions.ts)
  • Refactored SessionExport modal to use shared formatters with Copy MD / Copy JSON / Download .md / Download .json buttons
  • Added Export dropdown to SessionDetailPanel header for both recorded and live session views

Test plan

  • Press 'e' during a live session — verify markdown preview with timeline, copy/download both MD and JSON
  • Open a recorded session in Session Detail — click Export dropdown — verify copy/download both formats
  • Open a live session in Session Detail — click Export dropdown — verify includes shutdown totals
  • Parse JSON export — verify version field, cost/token structure, timeline events
  • Verify existing keyboard shortcut 'e' and command palette still work

🤖 Generated with Claude Code

New export/ module with pure formatters and data adapters that produce
Markdown and JSON from a unified ExportableSession shape. SessionExport
modal now has Copy MD / Copy JSON / Download .md / Download .json buttons.
SessionDetailPanel gains an Export dropdown for both recorded and live views.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant