feat(app): relocate context tree from top panel to context side panel (amicode#264) - #149
Merged
jeonghun-jj-lee merged 1 commit intoAug 9, 2026
Conversation
jeonghun-jj-lee
marked this pull request as ready for review
August 8, 2026 23:53
… (amicode#264)
- Move the context tree canvas + keyboard nav + hover-glance into
SessionContextTab (top section, above the stats grid)
- Delete the ContextTreePanel component and its top-panel rendering
from message-timeline.tsx — 192px returns to the chat timeline
- Remove the localStorage collapse toggle (amicode-context-tree-open);
the panel itself is the dismiss gesture
- Engine pause/resume follows component mount/unmount (the parent
<Show when={activeTab() === 'context'}> gates the whole tab)
- sessionHasContextItems gates the graph section (no empty canvas)
- Node clicks, amicode:brain-hover events, and keyboard navigation
continue to work identically
- ADR 0004 status updated from Proposed to Accepted
- context-tree-engine.ts and context-tree-data.ts remain unchanged;
existing tests still pass (21/21)
jeonghun-jj-lee
force-pushed
the
amico/issue-264-context-tree-to-side-panel
branch
from
August 9, 2026 02:53
ddc09e9 to
d631fc9
Compare
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
Relocates the context tree canvas from the persistent 192px top panel into the context side panel (opened from the progress-circle ring button in the session header). The graph is now on-demand — visible when the researcher opens the context panel, hidden otherwise — reclaiming 192px of prime chat real estate.
Changes
SessionContextTabas the first section (above the stats grid)context-tree-panel.tsx— the top panel component and its usage inmessage-timeline.tsxlocalStoragecollapse toggle (amicode-context-tree-open); the panel itself is the dismiss gesturecontext-tree-engine.tsandcontext-tree-data.tsremain untouched; all 21 existing tests passTesting
bun teston context-tree-engine and context-tree-data: 21/21 passtsc --noEmitonpackages/app: cleanpackages/opencode(unrelated to these changes)Closes harmoniqs/amicode#264