Remove analysis link and related code

- Removed Analysis navigation link from sidebar
- Removed AnalysisView component import and case from page.tsx
- Removed analysis from ViewMode type in app-store
- Removed analysis-related state (projectAnalysis, isAnalyzing) and actions
- Deleted analysis-view.tsx file
- Removed unused Search icon import

Generated with Claude Code https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Cody Seibert
2025-12-09 01:42:42 -05:00
parent edc4721927
commit ef5584a488
5 changed files with 9 additions and 1165 deletions

View File

@@ -16,7 +16,7 @@
"3. archive it",
"4. expect empty state placeholder in right panel"
],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765260557163-86b3tby5d",
@@ -30,14 +30,14 @@
"category": "Kanban",
"description": "when clicking a value in the typeahead, there is a bug where it does not close automatically, fix this",
"steps": [],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765260671085-7dgotl21h",
"category": "Kanban",
"description": "show a error toast when concurrency limit is hit and someone tries to drag a card into in progress to give them feedback why it won't work.",
"steps": [],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765260791341-iaxxt172n",
@@ -58,21 +58,21 @@
"category": "Kanban",
"description": "add a count up timer for showing how long the card has been in progress",
"steps": [],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765261027396-b78maajg7",
"category": "Kanban",
"description": "When the agent is marked as verified, remove their context file",
"steps": [],
"status": "verified"
"status": "backlog"
},
{
"id": "feature-1765261574969-kaqzq39fh",
"category": "Core",
"description": "change the recent change for adding the ability to edit the context .automaker/context directory to instead be in .automaker/support and auto add it to prompts",
"steps": [],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765262225700-q2rkue6l8",
@@ -86,7 +86,7 @@
"category": "Kanban",
"description": "Ability to delete in progress cards which will auto stop their agents on delete",
"steps": [],
"status": "verified"
"status": "in_progress"
},
{
"id": "feature-1765262348401-hivjg6vuq",

View File

@@ -8,7 +8,6 @@ import { SpecView } from "@/components/views/spec-view";
import { CodeView } from "@/components/views/code-view";
import { AgentView } from "@/components/views/agent-view";
import { SettingsView } from "@/components/views/settings-view";
import { AnalysisView } from "@/components/views/analysis-view";
import { AgentToolsView } from "@/components/views/agent-tools-view";
import { InterviewView } from "@/components/views/interview-view";
import { ContextView } from "@/components/views/context-view";
@@ -72,8 +71,6 @@ export default function Home() {
return <AgentView />;
case "settings":
return <SettingsView />;
case "analysis":
return <AnalysisView />;
case "tools":
return <AgentToolsView />;
case "interview":

View File

@@ -16,7 +16,6 @@ import {
ChevronRight,
Folder,
X,
Search,
Wrench,
PanelLeft,
PanelLeftClose,
@@ -71,7 +70,6 @@ export function Sidebar() {
{ id: "spec", label: "Spec Editor", icon: FileText },
{ id: "context", label: "Context", icon: BookOpen },
{ id: "code", label: "Code View", icon: Code },
{ id: "analysis", label: "Analysis", icon: Search },
{ id: "tools", label: "Agent Tools", icon: Wrench },
],
},

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@ import { create } from "zustand";
import { persist } from "zustand/middleware";
import type { Project } from "@/lib/electron";
export type ViewMode = "welcome" | "spec" | "board" | "code" | "agent" | "settings" | "analysis" | "tools" | "interview" | "context";
export type ViewMode = "welcome" | "spec" | "board" | "code" | "agent" | "settings" | "tools" | "interview" | "context";
export type ThemeMode = "light" | "dark" | "system";
export interface ApiKeys {
@@ -51,23 +51,7 @@ export interface Feature {
steps: string[];
status: "backlog" | "in_progress" | "verified";
images?: FeatureImage[];
}
export interface FileTreeNode {
name: string;
path: string;
isDirectory: boolean;
children?: FileTreeNode[];
size?: number;
extension?: string;
}
export interface ProjectAnalysis {
fileTree: FileTreeNode[];
totalFiles: number;
totalDirectories: number;
filesByExtension: Record<string, number>;
analyzedAt: string;
startedAt?: string; // ISO timestamp for when the card moved to in_progress
}
export interface AppState {
@@ -94,10 +78,6 @@ export interface AppState {
// API Keys
apiKeys: ApiKeys;
// Project Analysis
projectAnalysis: ProjectAnalysis | null;
isAnalyzing: boolean;
// Chat Sessions
chatSessions: ChatSession[];
currentChatSession: ChatSession | null;
@@ -152,11 +132,6 @@ export interface AppActions {
// API Keys actions
setApiKeys: (keys: Partial<ApiKeys>) => void;
// Analysis actions
setProjectAnalysis: (analysis: ProjectAnalysis | null) => void;
setIsAnalyzing: (isAnalyzing: boolean) => void;
clearAnalysis: () => void;
// Chat Session actions
createChatSession: (title?: string) => ChatSession;
updateChatSession: (sessionId: string, updates: Partial<ChatSession>) => void;
@@ -194,8 +169,6 @@ const initialState: AppState = {
anthropic: "",
google: "",
},
projectAnalysis: null,
isAnalyzing: false,
chatSessions: [],
currentChatSession: null,
chatHistoryOpen: false,
@@ -285,11 +258,6 @@ export const useAppStore = create<AppState & AppActions>()(
// API Keys actions
setApiKeys: (keys) => set({ apiKeys: { ...get().apiKeys, ...keys } }),
// Analysis actions
setProjectAnalysis: (analysis) => set({ projectAnalysis: analysis }),
setIsAnalyzing: (isAnalyzing) => set({ isAnalyzing }),
clearAnalysis: () => set({ projectAnalysis: null, isAnalyzing: false }),
// Chat Session actions
createChatSession: (title) => {
const currentProject = get().currentProject;