Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
1b69fb5
feat: initialize knowledge base feature migration structure
Wirasm Sep 6, 2025
b1be4f0
fix: resolve frontend test failures and complete TanStack Query migra…
Wirasm Sep 8, 2025
ca22b71
Merge branch 'main' into feat/tanstack-migration-phase-3-knowledge-base
Wirasm Sep 10, 2025
fc6ba8c
fix: add keyboard accessibility to ProjectCard component
Wirasm Sep 10, 2025
c672aee
fix: improve error handling and health check reliability
Wirasm Sep 10, 2025
282fc2e
fix: prevent race conditions and improve progress API reliability
Wirasm Sep 10, 2025
d3d844a
feat: add error handling to DocumentBrowser component
Wirasm Sep 10, 2025
476c0b3
fix: prevent URL parsing crashes in KnowledgeCard component
Wirasm Sep 10, 2025
0dd16cb
fix: add double-click protection to knowledge refresh handler
Wirasm Sep 10, 2025
a45354e
fix: properly reset loading states in KnowledgeCardActions
Wirasm Sep 10, 2025
55e28c9
feat: add accessibility labels to view mode toggle buttons
Wirasm Sep 10, 2025
cf183dc
fix: handle malformed URLs in KnowledgeTable gracefully
Wirasm Sep 10, 2025
229749d
fix: show 0% relevance scores in ContentViewer
Wirasm Sep 10, 2025
180e91f
fix: prevent undefined preview and show 0% scores in InspectorSidebar
Wirasm Sep 10, 2025
3f2db9d
fix: correct count handling and React hook usage in KnowledgeInspector
Wirasm Sep 10, 2025
028e98b
fix: correct React hook violations and improve pagination logic
Wirasm Sep 10, 2025
a22c8de
fix: improve crawling progress UX and status colors
Wirasm Sep 10, 2025
722ab60
refactor: remove unnecessary type assertion in KnowledgeCardProgress
Wirasm Sep 10, 2025
4cb67dc
fix: add missing progressId dependency to reset refs correctly
Wirasm Sep 10, 2025
4a0cfe0
fix: handle invalid dates in needsRefresh to prevent stuck items
Wirasm Sep 10, 2025
7725d17
test: improve task query test coverage and stability
Wirasm Sep 10, 2025
80a8b75
fix: resolve test issues and improve URL building consistency
Wirasm Sep 10, 2025
b186d85
fix(backend): resolve progress tracking issues for crawl operations
Wirasm Sep 11, 2025
63f640d
fix(frontend): update progress tracking to use source_id for reliable…
Wirasm Sep 11, 2025
6400109
fix: resolve duplicate key warning in ToastProvider
Wirasm Sep 11, 2025
8a662b9
fix: resolve off-by-one error in recursive crawling progress tracking
Wirasm Sep 11, 2025
73eb2db
fix: add timeout cleanup and consistent fetch timeouts
Wirasm Sep 11, 2025
5708dd6
fix: comprehensive crawl cancellation and progress cleanup
Wirasm Sep 11, 2025
3fb1e9e
fix(backend): add missing crawl cancellation cleanup backend changes
Wirasm Sep 11, 2025
7df4d9a
fix: add division by zero guard and log bounds in progress tracker
Wirasm Sep 11, 2025
d26c7af
fix: correct progress calculation and batch size bugs
Wirasm Sep 11, 2025
6363be9
fix: standardize progress stage names across backend and frontend
Wirasm Sep 11, 2025
d182a53
fix: improve data integrity error handling in crawling service
Wirasm Sep 11, 2025
5a60938
fix: improve stop-crawl messaging and remove duplicate toasts
Wirasm Sep 11, 2025
b136dcc
fix: improve type safety and accessibility in knowledge inspector
Wirasm Sep 11, 2025
5256758
fix: correct CodeExample.id type to match backend reality
Wirasm Sep 11, 2025
22c52c6
fix: add pagination input validation to knowledge items summary endpoint
Wirasm Sep 11, 2025
a1d6d8e
fix: correct recursive crawling progress scaling to integrate with Pr…
Wirasm Sep 11, 2025
fb184dd
fix: correct recursive crawling progress calculation to use global ratio
Wirasm Sep 11, 2025
7984214
fix: resolve test fixture race condition with proper async mocking
Wirasm Sep 11, 2025
76aefa3
fix: resolve TypeScript errors and test fixture race condition
Wirasm Sep 11, 2025
b4fad32
feat(knowledge/header): align header with new design\n\n- Title text …
Wirasm Sep 11, 2025
624d119
feat(ui/primitives): add StatPill primitive for counters\n\n- Glass, …
Wirasm Sep 11, 2025
4513eec
feat(knowledge/card): add type-colored top glow and pill stats\n\n- T…
Wirasm Sep 11, 2025
28c7952
feat(knowledge/card): keep actions menu trigger visible\n\n- Show thr…
Wirasm Sep 11, 2025
47311e5
feat(knowledge/header): move search to title row and replace dropdown…
Wirasm Sep 11, 2025
4fef624
refactor(knowledge/header): use icon-only segmented filters\n\n- Icon…
Wirasm Sep 11, 2025
af81909
fix: improve crawl task tracking and error handling
Wirasm Sep 11, 2025
d009bd9
chore(knowledge/progress): remove misleading 'Started … ago' from act…
Wirasm Sep 11, 2025
f4f81b2
fix: improve document upload error handling and user feedback
Wirasm Sep 11, 2025
ecc0096
fix(progress): remove duplicate mapping and standardize terminal states
Wirasm Sep 11, 2025
f1d7f0e
fix(storage): correct mapping of embeddings to metadata for duplicate…
Wirasm Sep 11, 2025
a9745d5
fix: remove confusing successful count from crawling progress messages
Wirasm Sep 11, 2025
86db675
feat(knowledge): add optimistic updates for crawl operations
Wirasm Sep 11, 2025
0bbc582
style: apply biome formatting to features directory
Wirasm Sep 11, 2025
b82eb7c
feat(knowledge): add tooltips and proper delete confirmation modal
Wirasm Sep 11, 2025
edececc
fix(knowledge): invalidate summary cache after mutations
Wirasm Sep 11, 2025
dabf2ec
fix(ui): improve useToast hook type safety and platform compatibility
Wirasm Sep 11, 2025
2b976f0
fix(ui): add compile-time type safety to Button component variants an…
Wirasm Sep 11, 2025
1d5da7c
style: apply biome formatting to features directory
Wirasm Sep 11, 2025
ae4fab9
refactor: modernize progress models to Pydantic v2
Wirasm Sep 11, 2025
8a73843
fix: improve progress API error handling and HTTP compliance
Wirasm Sep 11, 2025
e1e3470
fix: eliminate all -1 progress values to ensure 0-100 range compliance
Wirasm Sep 11, 2025
1622cae
fix: use deduplicated URL count for accurate recursive crawl progress
Wirasm Sep 11, 2025
75801f2
fix: improve document storage progress callbacks and error handling
Wirasm Sep 11, 2025
120d437
fix: standardize cancellation handling across all crawling strategies
Wirasm Sep 11, 2025
32dc17c
refactor: reduce verbose logging and extract duplicate progress patterns
Wirasm Sep 11, 2025
de98405
fix: remove trailing whitespace in single_page.py
Wirasm Sep 11, 2025
5629e6e
fix: add error handling and optimize imports in knowledge API
Wirasm Sep 11, 2025
fdd825d
fix: use ProgressTracker update method instead of direct state mutation
Wirasm Sep 11, 2025
84d35a0
perf: optimize StatPill component by hoisting static maps
Wirasm Sep 11, 2025
6976b77
fix: render file:// URLs as non-clickable text in KnowledgeCard
Wirasm Sep 11, 2025
4e10834
fix: invalidate GET cache on successful DELETE operations
Wirasm Sep 11, 2025
70a6902
test: fix backend tests by removing flaky credential service tests
Wirasm Sep 11, 2025
b84b5f7
fix: unify icon styling across navigation pages
Wirasm Sep 12, 2025
bd8be3a
fix: remove confusing 'processed X/Y URLs' progress messages in recur…
Wirasm Sep 12, 2025
41b3bf4
fix: display original user-entered URLs instead of source:// IDs in k…
Wirasm Sep 12, 2025
ce92353
fix: add proper light/dark mode support to KnowledgeCard component
Wirasm Sep 12, 2025
9003afd
fix: add keyboard accessibility to KnowledgeCard component
Wirasm Sep 12, 2025
41652db
fix: add immediate optimistic updates for knowledge cards on crawl start
Wirasm Sep 12, 2025
c7b833a
fix: document uploads now display correctly as documents and show imm…
Wirasm Sep 12, 2025
83426e3
docs: clarify that apiWithEtag is for JSON-only API calls
Wirasm Sep 12, 2025
d584fe4
fix: resolve DeleteConfirmModal double onCancel bug and improve spacing
Wirasm Sep 12, 2025
2d29b33
style: fix trailing whitespace in apiWithEtag comment
Wirasm Sep 12, 2025
1889374
fix: use end_progress parameter instead of hardcoded 100 in single_pa…
Wirasm Sep 12, 2025
6b83ff9
fix: improve document processing error handling semantics and excepti…
Wirasm Sep 12, 2025
ee1d2bd
fix: critical index mapping bug in code storage service
Wirasm Sep 12, 2025
ce20204
fix: use RuntimeError with exception chaining for database failures
Wirasm Sep 12, 2025
c349891
fix: eliminate error masking in code extraction with proper exception…
Wirasm Sep 12, 2025
acf2ba3
fix: add error status to progress models to prevent validation failures
Wirasm Sep 12, 2025
cceb080
fix: prevent crashes from invalid batch sizes and enforce source_id i…
Wirasm Sep 12, 2025
288216f
fix: add configuration value clamping for crawl settings
Wirasm Sep 12, 2025
7ad3ca5
fix: improve StatPill accessibility by removing live region and using…
Wirasm Sep 12, 2025
8568cbb
fix: respect user cancellation in code summary generation
Wirasm Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
404 changes: 230 additions & 174 deletions AGENTS.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions archon-ui-main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"biome:ci": "biome ci",
"preview": "npx vite preview",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:coverage": "npm run test:coverage:run && npm run test:coverage:summary",
"test:coverage:run": "vitest run --coverage --reporter=dot --reporter=json",
"test:coverage:stream": "vitest run --coverage --reporter=default --reporter=json --bail=false || true",
Expand Down
15 changes: 6 additions & 9 deletions archon-ui-main/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { MCPPage } from './pages/MCPPage';
import { OnboardingPage } from './pages/OnboardingPage';
import { MainLayout } from './components/layout/MainLayout';
import { ThemeProvider } from './contexts/ThemeContext';
import { ToastProvider } from './contexts/ToastContext';
import { ToastProvider as FeaturesToastProvider } from './features/ui/components/ToastProvider';
import { ToastProvider } from './features/ui/components/ToastProvider';
import { SettingsProvider, useSettings } from './contexts/SettingsContext';
import { TooltipProvider } from './features/ui/primitives/tooltip';
import { ProjectPage } from './pages/ProjectPage';
Expand Down Expand Up @@ -134,13 +133,11 @@ export function App() {
<QueryClientProvider client={queryClient}>
<ThemeProvider>
<ToastProvider>
<FeaturesToastProvider>
<TooltipProvider>
<SettingsProvider>
<AppContent />
</SettingsProvider>
</TooltipProvider>
</FeaturesToastProvider>
<TooltipProvider>
<SettingsProvider>
<AppContent />
</SettingsProvider>
</TooltipProvider>
</ToastProvider>
</ThemeProvider>
{import.meta.env.VITE_SHOW_DEVTOOLS === 'true' && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Button } from "../ui/Button";
import { Input } from "../ui/Input";
import { Card } from "../ui/Card";
import { Select } from "../ui/Select";
import { useToast } from "../../contexts/ToastContext";
import { useToast } from "../../features/ui/hooks/useToast";
import {
bugReportService,
BugContext,
Expand Down
Loading