Repository navigation
Render normalised data - #35
Merged
Merged
Conversation
Varagos
approved these changes
May 15, 2026
There was a problem hiding this comment.
Pull request overview
This PR migrates dashboard transcript rendering toward canonical normalized transcript entries returned by the backend, replacing several legacy JSONL parsing paths in transcript, turns, checkpoint, and tool-use views.
Changes:
- Adds transcript entry GraphQL types, query fields, DTO mapping, and adapter utilities.
- Updates dashboard transcript/turn/tool-use rendering to consume canonical transcript messages.
- Updates unit/e2e fixtures and tests for the normalized transcript shape.
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/features/dashboard/api-types.ts |
Adds canonical transcript DTO types and fields. |
src/features/dashboard/graphql/types.ts |
Adds transcript GraphQL node types and optional fields. |
src/features/dashboard/graphql/operations.ts |
Queries transcript entries for checkpoint and interaction details. |
src/features/dashboard/graphql/mappers.ts |
Maps transcript GraphQL nodes to DTOs. |
src/features/dashboard/graphql/mappers.test.ts |
Updates checkpoint detail mapper expectations. |
src/features/dashboard/graphql/fetch-dashboard-data.test.ts |
Updates checkpoint fetch expectations. |
src/features/dashboard/utils/transcript-entries.ts |
Adds canonical-to-renderer transcript adapter helpers. |
src/features/dashboard/utils/transcript-entries.test.ts |
Adds sorting tests for transcript entry conversion. |
src/features/dashboard/utils/turn-transcript.ts |
Reworks turn/session transcript section building around canonical entries. |
src/features/dashboard/utils/turn-transcript.test.ts |
Replaces legacy fragment tests with canonical entry tests. |
src/features/dashboard/utils/session-tool-use-display.ts |
Requires precomputed transcript messages for tool-use display. |
src/features/dashboard/utils/session-tool-use-display.test.ts |
Updates tool-use display tests to pass transcript messages directly. |
src/features/dashboard/components/checkpoint-sheet-utils.ts |
Removes legacy JSONL parser and updates transcript message docs. |
src/features/dashboard/components/checkpoint-sheet-utils.test.ts |
Removes parser tests. |
src/features/dashboard/components/checkpoint-sheet.tsx |
Renders checkpoint/session/turn transcripts from canonical entries. |
src/features/dashboard/components/checkpoint-sheet.test.tsx |
Updates checkpoint transcript rendering test data. |
src/features/dashboard/components/turns-timeline.tsx |
Drops raw event prop and uses canonical transcript sections. |
src/features/dashboard/components/session-tool-use-list.tsx |
Requires transcript entries prop for tool-use rendering. |
src/features/dashboard/components/session-detail-sidebar.tsx |
Uses canonical transcript analysis and hides Cursor token data. |
src/features/dashboard/components/session-detail-sidebar.test.tsx |
Updates interaction detail fixture shape. |
src/features/dashboard/use-dashboard-data.test.ts |
Updates interaction detail fixture shape. |
e2e/dashboard.spec.ts |
Adds canonical transcript fields to session detail e2e fixtures. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Render normalised data