fix(webui): gate focus indicators on keyboard navigation modality (#6734)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-20 15:55:03 +08:00
1 parent cb95277098
commit c6fd1b3ecb
24 files changed
+355 -86

No files matched your search

+3
View File
@@ -4,9 +4,12 @@ import { ContextInspector } from "@/components/thread/ContextInspector";
import { ComposerUsagePopover } from "@/components/thread/ComposerUsagePopover";
import { TooltipProvider } from "@/components/ui/tooltip";
import { initializeI18n } from "@/i18n";
import { installFocusModality } from "@/lib/focus-modality";
import type { ContextSnapshot } from "@/lib/types";
import "../src/globals.css";
installFocusModality();
const snapshots: ContextSnapshot[] = [
{ id: "first", contextWindowTokens: 10000, usage: { prompt_tokens: 1000 }, graph: {
nodes: [{ path: "/a.md", name: "a.md", state: "loaded", tokens: 100 }], edges: [],