Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
docs(webui): link extracted owners and retained regression tests
chengyongruf5a8a41b15f7
diff --git a/webui/COMPONENTS.md b/webui/COMPONENTS.mdindex 86a02451f..ee2ef5d41 100644--- a/webui/COMPONENTS.md+++ b/webui/COMPONENTS.md@@ -39,6 +39,7 @@ Channel fixture fields, defaults, and requirements come from the Python channel| `src/components/settings/shared/` | Reusable settings-specific compositions | Settings rows/groups, feature editors, provider controls || `src/components/settings/` | Settings feature screens and their controllers | Models, capabilities, channels, automations || `src/components/remote/` | Host selection and connection interfaces | Host switcher, pairing and remote connections |+| `src/components/pairing/` | Chat-channel pairing requests, approval lifecycle, and code input | `ChannelPairing`, `PairingCodePopup` || `src/components/workbench/` | Pane layout and its interaction model | `PaneWorkbench` || `src/components/icons/` | Product-specific icon vocabulary | `product-icons.tsx` || `nanobot/channels/<channel>/webui/` | Channel-owned screens, components, and translations | Feishu assistants, Linear setup, Weixin connection |diff --git a/webui/README.md b/webui/README.mdindex 1cd816aa3..726fbb325 100644--- a/webui/README.md+++ b/webui/README.md@@ -35,8 +35,9 @@ Choose the behavior first, then follow the owning module and its existing tests.| Change | Owning source | Start verification with || --- | --- | --- |-| Composer input, attachments, mentions, or waiting prompts | [`ThreadComposer.tsx`](src/components/thread/ThreadComposer.tsx) and its feature-owned hooks | [`thread-composer.test.tsx`](src/tests/thread-composer.test.tsx), [`thread-composer-attach.test.tsx`](src/tests/thread-composer-attach.test.tsx) |-| Chat-channel pairing prompts and approval | [`components/pairing/`](src/components/pairing/); backend [`nanobot/pairing/`](../nanobot/pairing/) | Pairing scenarios in [`app-layout.test.tsx`](src/tests/app-layout.test.tsx), [`pairing-refresh.spec.ts`](browser/pairing-refresh.spec.ts) |+| Composer input, attachments, or mentions | [`ThreadComposer.tsx`](src/components/thread/ThreadComposer.tsx) and its input hooks | [`thread-composer.test.tsx`](src/tests/thread-composer.test.tsx), [`thread-composer-attach.test.tsx`](src/tests/thread-composer-attach.test.tsx) |+| Waiting prompts: merging, persistence, sending, or turn completion | [`useQueuedPrompt.ts`](src/components/thread/useQueuedPrompt.ts); Composer supplies draft content and UI feedback | [`queued-guidance.test.tsx`](src/tests/queued-guidance.test.tsx) and queue scenarios in [`thread-composer.test.tsx`](src/tests/thread-composer.test.tsx); completion integration in [`turn-completion.test.tsx`](src/tests/turn-completion.test.tsx), browser flow in [`queued-guidance.spec.ts`](browser/queued-guidance.spec.ts) |+| Chat-channel pairing prompts and approval | [`ChannelPairing.tsx`](src/components/pairing/ChannelPairing.tsx) owns requests and subscriptions; [`PairingCodePopup.tsx`](src/components/pairing/PairingCodePopup.tsx) owns the input/display; backend [`nanobot/pairing/`](../nanobot/pairing/) | Pairing scenarios in [`app-layout.test.tsx`](src/tests/app-layout.test.tsx), [`pairing-refresh.spec.ts`](browser/pairing-refresh.spec.ts) || Startup, authentication, navigation, or session selection | [`App.tsx`](src/App.tsx), [`useSessions.ts`](src/hooks/useSessions.ts), [`ClientProvider.tsx`](src/providers/ClientProvider.tsx) | [`app-layout.test.tsx`](src/tests/app-layout.test.tsx); keep shell integration checks when moving an owner || Live messages, delivery, or completion | [`nanobot-client.ts`](src/lib/nanobot-client.ts), [`useNanobotStream.ts`](src/hooks/useNanobotStream.ts), [`ThreadShell.tsx`](src/components/thread/ThreadShell.tsx) | [`nanobot-client.test.ts`](src/tests/nanobot-client.test.ts), [`useNanobotStream.test.tsx`](src/tests/useNanobotStream.test.tsx), [`thread-shell.test.tsx`](src/tests/thread-shell.test.tsx) || History pagination, reading position, or boundary motion | [`usePromptHistory.ts`](src/hooks/usePromptHistory.ts), [`ThreadViewport.tsx`](src/components/thread/ThreadViewport.tsx); [motion ownership](COMPONENTS.md#history-boundary-motion) | [`thread-viewport.test.tsx`](src/tests/thread-viewport.test.tsx), [`thread-history-spring.test.ts`](src/tests/thread-history-spring.test.ts), [`thread-loading.spec.ts`](browser/thread-loading.spec.ts) |