Skip to content

Code Intelligence UI: Insights tab with detectors, search, explain (v0.2.2)#14

Merged
s1rry merged 1 commit into
mainfrom
feature/code-intelligence-ui
Jul 5, 2026
Merged

Code Intelligence UI: Insights tab with detectors, search, explain (v0.2.2)#14
s1rry merged 1 commit into
mainfrom
feature/code-intelligence-ui

Conversation

@s1rry

@s1rry s1rry commented Jul 5, 2026

Copy link
Copy Markdown
Owner

What

Sub-step 9b — completes Code Intelligence. The Insights tab surfaces the deterministic detectors from 9a.

  • Detector panels: cyclic dependencies (nodes joined by →), dead code (name + file:line), duplication (copies + line ranges), each with a count and an honest "None found".
  • Code search box: answers "where is authentication? where is the database initialized?" with ranked symbol/path hits (path:line).
  • Explain: a per-hit action sets the AI Chat project, switches to the AI Chat tab, and sends "Explain <symbol> in <file>" — this is how "Explain this class" is served.
  • New features/insights slice with its own Zustand store; all backend calls go through the typed lib/ipc/intel.

Verification

  • pnpm build (tsc strict + vite): clean, no any.
  • Rendered live in the Vite preview: seeded a report + search results showing all three detector panels (cyclic deps, dead code, duplication) and the search list. No console errors. Screenshot captured.

Live analysis/search run against the backend (analyze_code_intelligence, search_code) in pnpm tauri dev.

This closes Code Intelligence (9a backend, 9b UI).

🤖 Generated with Claude Code

…0.2.2)

Sub-step 9b — completes Code Intelligence. Insights view: run the
cyclic-dependency, dead-code and duplication detectors and browse the
findings in panels; a code-search box answers "where is X" with ranked
symbol/path hits; an Explain action hands a hit to AI Chat and switches to
it. New features/insights slice with its own store; all backend access via
lib/ipc/intel.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@s1rry s1rry merged commit dd91d68 into main Jul 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant