feat(vscode): chat history visualizer (task timeline) — prototype#7815
Draft
marius-kilocode wants to merge 1 commit intomainfrom
Draft
feat(vscode): chat history visualizer (task timeline) — prototype#7815marius-kilocode wants to merge 1 commit intomainfrom
marius-kilocode wants to merge 1 commit intomainfrom
Conversation
Port the legacy extension's task timeline feature: colored vertical bars showing session activity, context window progress bar, token breakdown, and gutter bars on chat turns. - Timeline bars: color = part type, width = timing, height = content length - Context progress: three-segment bar (used/reserved/available) - Token breakdown: cumulative input/output/cache from StepFinishParts - Gutter bars: 4px colored indicators on turns, visible on timeline hover - Expand/collapse toggle in header stats area - Click-to-scroll with drag-vs-tap filtering - 37 unit tests for color classification and bar sizing
Collaborator
Author
|
@markijbema unsure if you worked on this, but this MVP is pretty close to the original if we want to reintroduce it |
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.
Summary
Prototype port of the legacy extension's task timeline feature — the colorful vertical bars, context window progress, and token breakdown panel.
This reverse-engineers the legacy



KiloTaskHeader,TaskTimeline,TaskTimelineMessage,ContextWindowProgress, andKiloChatRowGutterBarcomponents and reimplements them in SolidJS for the new extension.What's included
color-mix(),--vscode-textLink-foreground, etc.)Known issues (WIP)
Files
New (7)
webview-ui/src/utils/timeline/colors.tswebview-ui/src/utils/timeline/sizes.tswebview-ui/src/components/chat/TaskTimeline.tsxwebview-ui/src/components/chat/ContextProgress.tsxwebview-ui/src/components/chat/GutterBar.tsxtests/unit/timeline-colors.test.tstests/unit/timeline-sizes.test.tsModified (5)
TaskHeader.tsxChatView.tsxMessageList.tsxVscodeSessionTurn.tsxchat.css