split ChecklistPanel from FocusedAgentPanel (#548)#553
Merged
JeremyDev87 merged 1 commit intomasterfrom Feb 18, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add ChecklistPanel component rendered at the top of the focused-agent column - Add resolveChecklistTasks pure function with fallback logic (decisions → notes → default) - Add checklistPanel GridRegion to DashboardGrid type and computeGridLayout - Remove tasks prop and Checklist section from FocusedAgentPanel - Wire ChecklistPanel in dashboard-app for wide/medium/narrow layout modes - Add tests for resolveChecklistTasks (4 cases) and ChecklistPanel rendering - Add grid-layout assertions for checklistPanel dimensions across all layout modes - Fix dashboard-types.spec.ts DashboardGrid fixture to include checklistPanel field Checklist height: max(6, min(10, ceil(mainHeight * 0.3)))
3adc428 to
cda6035
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
Extracts the Checklist section from
FocusedAgentPanelinto a dedicatedChecklistPanelcomponent, placed at the top of the focused-agent column across all layout modes.Closes #548
Changes
New Files
ChecklistPanel.tsxChecklistPanel.spec.tsxchecklist-panel.pure.tsresolveChecklistTasks— pure fallback logicchecklist-panel.pure.spec.tsresolveChecklistTasksModified Files
dashboard-types.tschecklistPanel: GridRegiontoDashboardGridgrid-layout.pure.tschecklistPanelregion; adjustfocusedAgentheightgrid-layout.pure.spec.tschecklistPaneldimensions for all layout modesFocusedAgentPanel.tsxtasksprop and Checklist sectionFocusedAgentPanel.spec.tsxcomponents/index.tsChecklistPanelandresolveChecklistTasksdashboard-app.tsxChecklistPanelaboveFocusedAgentPanelin all modesLayout After Change
Wide / Medium mode:
Narrow mode:
Key Implementation Details
max(6, min(10, ceil(mainHeight * 0.3)))contextDecisions[0]→contextNotes[0]→"Review current task objectives"formatEnhancedChecklistreused fromfocused-agent.pure.ts— no duplicationTest Coverage
resolveChecklistTasks: 4 cases (tasks present / empty+decisions / empty+notes / empty+no context)ChecklistPanel: rendering with tasks, fallback from decisions, fallback from notes, default fallbackgrid-layout.pure:checklistPaneldimensions asserted for wide, medium, and narrow modesAcceptance Criteria
ChecklistPanelrenders at the top of the focused-agent column in wide/medium/narrow modesChecklistPanelis never blank — always shows at least 1 TODO itemcontextDecisions→contextNotes→ default messageFocusedAgentPanelno longer contains a Checklist sectionDashboardGridincludeschecklistPanel: GridRegionresolveChecklistTasks(4 cases) andChecklistPanelrendering