Refactor: Remove obsolete TDD coverage analysis, test concept enhancement, context gathering, and task generation commands

- Deleted the following command files:
  - tdd-coverage-analysis.md
  - test-concept-enhanced.md
  - test-context-gather.md
  - test-task-generate.md

Enhancement: Update FloatingPanel component styles

- Adjusted FloatingPanel backdrop styles for improved layout
- Modified height calculation to utilize full viewport height below the toolbar
This commit is contained in:
catlog22
2026-02-14 23:09:10 +08:00
parent b7bd433263
commit 3a9a66aa3b
15 changed files with 49 additions and 6345 deletions

View File

@@ -73,7 +73,7 @@ export interface ViewerState {
nextTabIdCounter: number;
// Actions
setLayout: (newLayout: AllotmentLayout) => void;
setLayout: (newLayout: AllotmentLayout | ((prev: AllotmentLayout) => AllotmentLayout)) => void;
addPane: (parentPaneId?: PaneId, direction?: 'horizontal' | 'vertical') => PaneId;
removePane: (paneId: PaneId) => void;
addTab: (paneId: PaneId, executionId: CliExecutionId, title: string) => TabId;
@@ -373,8 +373,14 @@ export const useViewerStore = create<ViewerState>()(
// ========== Layout Actions ==========
setLayout: (newLayout: AllotmentLayout) => {
set({ layout: newLayout }, false, 'viewer/setLayout');
setLayout: (newLayout: AllotmentLayout | ((prev: AllotmentLayout) => AllotmentLayout)) => {
if (typeof newLayout === 'function') {
const currentLayout = get().layout;
const result = newLayout(currentLayout);
set({ layout: result }, false, 'viewer/setLayout');
} else {
set({ layout: newLayout }, false, 'viewer/setLayout');
}
},
addPane: (parentPaneId?: PaneId, direction: 'horizontal' | 'vertical' = 'horizontal') => {