Skip to content

Commit c7ded9f

Browse files
donjor-agent[bot]rsi-pr-agent
authored andcommitted
feat(web): the window filter scopes lists without hiding running work
## What Changed The window's project filter now scopes lists and never hides running work. | Area | Change | | --- | --- | | Outside thread | Header **Add project** adds its entry | | Palette | Threads and projects scoped | | Search all | Palette toggle reaches every project | | New thread | Several projects: opens the scoped picker | | Palette hint | `chat.new` hint only where it lands the same | | Title | Web and hub desktop titles append the label | **New thread rules:** - **All:** upstream behavior - **One project:** that project, viewed member first - **Several:** picker; never a silent pick - **Direct:** viewed project (shift+click, `chat.newLocal`) **Gate:** the sidebar's chooser host. The legacy sidebar and routes without the sidebar keep upstream behavior. **Landing:** the index draft (#1347) keeps its most-recent pick inside the filter. It is a landing, not a new-thread request, so it never asks. ## Why A filtered window must narrow what it lists without closing threads or stopping work in other projects. The filter is read only by lists, the chooser, the palette, and the header action. Turns, previews, and terminals are keyed by thread, so filter changes never reach them. ### Surfaces | Surface | Decision | | --- | --- | | Sidebar new thread | Filtered | | Palette | Scoped, **Search all** toggle | | `chat.new`, `chat.newLocal` | Filtered | | Desktop title | Hub adds label; `t3code-window-` claim title held | | Palette "New thread in" | Hint dropped when `chat.new` differs | | Mobile | N/A: single-select, no palette or window title | | Contracts | No wire change | | Providers | N/A | **Known limit:** Settings has no sidebar, so the title drops the label and the palette is unscoped there. ## UI Changes Live Electron proof at `e6b38d7cc4`, before the rebase onto #1377: ![04-outside-thread-open-add-project.png](https://github.com/user-attachments/assets/3b586553-08d7-4555-929c-455b2d407e27) ![05-after-add-project.png](https://github.com/user-attachments/assets/fe9e2228-63ce-472d-ba18-c8c38feba934) ## Checklist - [x] This PR is small and focused - [x] I explained what changed and why - [ ] I included before/after screenshots for any UI changes - [ ] I included a video for animation/interaction changes ## Close conditions - [x] **Outside:** opening one never closes it - [x] **Add project:** adds its entry - [x] **Search all:** reaches every project - [x] **New thread:** never picks a member silently - [x] **Title:** shows the filter label Outside and Title: live proof at `e6b38d7cc4`; the rebase keeps both hooks. Closes #1353 Model: Claude Opus 5.5 in Claude Code (T3 Code host). ## Fork trailers Squashes: - 5df6715 feat(web): the window filter scopes lists without hiding running work (#1811) - 3915d9b fixup! feat(web): the window filter scopes lists without hiding running work Fork-Domain: workspaces Fork-Tier: core Fork-Upstreamable: no
1 parent 2cd52eb commit c7ded9f

23 files changed

Lines changed: 817 additions & 64 deletions

‎apps/desktop/src/window/DesktopWindow.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ import { makeQuitShortcutHandler } from "./QuitHold.ts";
5151
import { copyContextMenuImage } from "./ContextMenuImage.ts";
5252
import * as WindowDispatch from "./DesktopWindowDispatch.fork.ts"; // fork-hook: multi-window/dispatch-import
5353
import * as WindowPlacement from "./WindowPlacement.fork.ts"; // fork-hook: multi-window/placement-import
54+
import { hubFilterTitleFork } from "@t3tools/shared/windowTitle.fork"; // fork-hook: workspaces/window-title-import
5455
import { bindWindowDemandStateFork } from "./WindowDemandState.fork.ts"; // fork-hook: zmux-estate/window-demand-state-import
5556
import { trimAppContextMenuFork } from "./AppContextMenu.fork.ts"; // fork-hook: upstream-fixes/themed-context-menu-import
5657
import {
@@ -476,6 +477,9 @@ export const make = Effect.gen(function* () {
476477
WindowPlacement.retitleWindowFork(window, environment.displayName, (pageTitle) =>
477478
identity.kind === "hub" ? null : pageTitle.trim() || null,
478479
); // fork-hook: multi-window/project-title
480+
WindowPlacement.retitleWindowFork(window, environment.displayName, (pageTitle) =>
481+
hubFilterTitleFork(identity.kind, environment.displayName, pageTitle),
482+
); // fork-hook: workspaces/window-title
479483
const titleHoldFork =
480484
mapPlacementFork === null && claimTitleFork === null
481485
? null

‎apps/web/src/appInit.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { startProviderAuthDelivery } from "./providerAuthDelivery";
4646
import { getRouter, type AppRouter } from "./router";
4747
import { appAtomRegistry } from "./rpc/atomRegistry";
4848
import { primaryServerConfigAtom } from "./state/server";
49+
import { startFilteredDocumentTitleFork } from "./windowTitle.fork"; // fork-hook: workspaces/window-title-import
4950
import { environmentShell } from "./state/shell";
5051
import { installChatRouteCommands } from "./shortcuts/chatRouteCommands";
5152
import { installCommandPaletteCommands } from "./shortcuts/commandPaletteCommands";
@@ -166,6 +167,7 @@ export function startAppServices(): AppRouter {
166167

167168
startClientAppearance();
168169
startDocumentTitle();
170+
startFilteredDocumentTitleFork(); // fork-hook: workspaces/window-title
169171
startEnvironmentThemeRepaint();
170172
startBrowserChromeThemeSync(router);
171173
startDefaultThemeAdoption();

‎apps/web/src/components/CommandPalette.fork.tsx‎

Lines changed: 152 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@
33
// upstream `CommandPalette.tsx` carries only marked hook lines pointing here;
44
// the capability probe, the navigation command, and the action item are built
55
// in this module.
6-
import { CircleDotIcon, ListFilterIcon } from "lucide-react";
6+
import { projectFilterProjectKeys } from "@t3tools/client-runtime/state/project-filter";
7+
import { CircleDotIcon, ListFilterIcon, SearchIcon } from "lucide-react";
8+
import { useMemo, useState } from "react";
79

8-
import { openProjectChooser } from "../projectChooser.fork";
9-
import { ITEM_ICON_CLASS, type CommandPaletteActionItem } from "./CommandPalette.logic";
10+
import { openProjectChooser, useProjectChooserHostValue } from "../projectChooser.fork";
11+
import { chatNewMatchesCurrentProject, scopeToProjectKeys } from "../projectFilterScope.fork";
12+
import type { ChatThreadActionContext } from "../lib/chatThreadActions";
13+
import {
14+
enumerateCommandPaletteItems,
15+
ITEM_ICON_CLASS,
16+
type CommandPaletteActionItem,
17+
type CommandPaletteGroup,
18+
type CommandPaletteSubmenuItem,
19+
type CommandPaletteView,
20+
} from "./CommandPalette.logic";
21+
import type { ScopedProjectRef } from "@t3tools/contracts";
1022

1123
/**
1224
* The palette's Issues navigation entry, or `null` when no reachable
@@ -60,3 +72,140 @@ export function buildProjectChooserActionItemFork(
6072
},
6173
};
6274
}
75+
76+
// Under the window's project filter, thread search, project search, and the new-thread picker
77+
// show the filter's projects until the user picks "Search all projects", which lasts until the
78+
// palette closes. Without a chooser (no projects yet, or a route without the sidebar) nothing
79+
// is scoped.
80+
81+
// The new-thread picker view `CommandPalette.tsx` pushes.
82+
const NEW_THREAD_IN_VIEW = "projects";
83+
84+
export interface CommandPaletteProjectScope {
85+
/** The project keys the palette shows; `null` shows every project. */
86+
readonly projectKeys: ReadonlySet<string> | null;
87+
/** The toggle between the filter and every project; `null` when unscoped. */
88+
readonly toggle: CommandPaletteActionItem | null;
89+
}
90+
91+
export function useCommandPaletteProjectScopeFork(): CommandPaletteProjectScope {
92+
const chooser = useProjectChooserHostValue();
93+
const filter = chooser?.filter ?? null;
94+
const label = chooser?.label ?? null;
95+
const [searchAll, setSearchAll] = useState(false);
96+
const filterKeys = useMemo(
97+
() => (filter === null ? null : projectFilterProjectKeys(filter)),
98+
[filter],
99+
);
100+
return useMemo(() => {
101+
if (filterKeys === null || label === null) return { projectKeys: null, toggle: null };
102+
const toggle: CommandPaletteActionItem = searchAll
103+
? {
104+
kind: "action",
105+
value: "action:search-filtered-projects",
106+
searchTerms: [],
107+
title: "Search only this window's projects",
108+
description: label,
109+
icon: <ListFilterIcon className={ITEM_ICON_CLASS} />,
110+
keepOpen: true,
111+
run: async () => setSearchAll(false),
112+
}
113+
: {
114+
kind: "action",
115+
value: "action:search-all-projects",
116+
searchTerms: [],
117+
title: "Search all projects",
118+
description: label,
119+
icon: <SearchIcon className={ITEM_ICON_CLASS} />,
120+
keepOpen: true,
121+
run: async () => setSearchAll(true),
122+
};
123+
return { projectKeys: searchAll ? null : filterKeys, toggle };
124+
}, [filterKeys, label, searchAll]);
125+
}
126+
127+
/**
128+
* Whether "New thread in <current project>" may show the `chat.new` hint: the
129+
* shortcut must land where the item does.
130+
*/
131+
export function useNewThreadHintFork(
132+
activeDraftThread: ChatThreadActionContext["activeDraftThread"],
133+
activeThread: ChatThreadActionContext["activeThread"] | null,
134+
defaultProjectRef: ChatThreadActionContext["defaultProjectRef"],
135+
): boolean {
136+
const filter = useProjectChooserHostValue()?.filter ?? null;
137+
return (
138+
filter === null ||
139+
chatNewMatchesCurrentProject(filter, {
140+
activeDraftThread,
141+
activeThread: activeThread ?? undefined,
142+
defaultProjectRef,
143+
})
144+
);
145+
}
146+
147+
/** Drops the `chat.new` hint from "New thread in <current project>" when it would mislead. */
148+
export function dropNewThreadHintFork(
149+
items: Array<CommandPaletteActionItem | CommandPaletteSubmenuItem>,
150+
showHint: boolean,
151+
): void {
152+
if (showHint) return;
153+
const index = items.findIndex((item) => item.value === "action:new-thread");
154+
const item = items[index];
155+
if (item === undefined || item.kind !== "action") return;
156+
const { shortcutCommand: _hint, ...withoutHint } = item;
157+
items[index] = withoutHint;
158+
}
159+
160+
/** The palette's threads under the scope. */
161+
export function scopedPaletteThreadsFork<
162+
Thread extends { readonly environmentId: string; readonly projectId: string },
163+
>(threads: ReadonlyArray<Thread>, projectKeys: ReadonlySet<string> | null) {
164+
return scopeToProjectKeys(threads, projectKeys, (thread) => [
165+
`${thread.environmentId}:${thread.projectId}`,
166+
]);
167+
}
168+
169+
/**
170+
* The palette's project picker entries under the scope. A scope that leaves no
171+
* entry (its projects not loaded yet) shows every project, so the picker is
172+
* never empty.
173+
*/
174+
export function scopePaletteProjectEntriesFork<
175+
Entry extends { readonly group: { readonly memberProjectRefs: ReadonlyArray<ScopedProjectRef> } },
176+
>(entries: ReadonlyArray<Entry>, projectKeys: ReadonlySet<string> | null): ReadonlyArray<Entry> {
177+
const scoped = scopeToProjectKeys(entries, projectKeys, (entry) =>
178+
entry.group.memberProjectRefs.map((ref) => `${ref.environmentId}:${ref.projectId}`),
179+
);
180+
return scoped.length > 0 ? scoped : entries;
181+
}
182+
183+
/**
184+
* The new-thread picker view follows the scope after it was pushed: its items
185+
* become the current picker items, keeping the pushed first item (the current
186+
* project) first. Other views pass through.
187+
*/
188+
export function refreshNewThreadInViewFork(
189+
groups: ReadonlyArray<CommandPaletteGroup>,
190+
projectThreadItems: ReadonlyArray<CommandPaletteActionItem>,
191+
): ReadonlyArray<CommandPaletteGroup> {
192+
const view = groups[0];
193+
if (groups.length !== 1 || view?.value !== NEW_THREAD_IN_VIEW) return groups;
194+
const lead = view.items[0]?.value;
195+
const ordered = [
196+
...projectThreadItems.filter((item) => item.value === lead),
197+
...projectThreadItems.filter((item) => item.value !== lead),
198+
];
199+
return [{ ...view, items: enumerateCommandPaletteItems(ordered) }];
200+
}
201+
202+
/** Appends the scope toggle below the root list and the new-thread picker. */
203+
export function withProjectScopeToggleFork(
204+
groups: CommandPaletteGroup[],
205+
scope: CommandPaletteProjectScope,
206+
currentView: CommandPaletteView | null,
207+
): CommandPaletteGroup[] {
208+
if (scope.toggle === null) return groups;
209+
if (currentView !== null && currentView.groups[0]?.value !== NEW_THREAD_IN_VIEW) return groups;
210+
return [...groups, { value: "project-scope", label: "Scope", items: [scope.toggle] }];
211+
}

‎apps/web/src/components/CommandPalette.logic.fork.test.ts‎

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
import { EnvironmentId, ProjectId } from "@t3tools/contracts";
12
import { describe, expect, it } from "vite-plus/test";
23

3-
import { browseInputEndPaddingClass } from "./CommandPalette.logic";
4+
import { browseInputEndPaddingClass, type CommandPaletteActionItem } from "./CommandPalette.logic";
5+
import {
6+
refreshNewThreadInViewFork,
7+
scopePaletteProjectEntriesFork,
8+
withProjectScopeToggleFork,
9+
} from "./CommandPalette.fork";
410

511
describe("browseInputEndPaddingClass", () => {
612
it("reserves the widest space for the create action", () => {
@@ -30,3 +36,57 @@ describe("browseInputEndPaddingClass", () => {
3036
).toContain("pe-24");
3137
});
3238
});
39+
40+
describe("palette project scope", () => {
41+
const ref = (environmentId: string, projectId: string) => ({
42+
environmentId: EnvironmentId.make(environmentId),
43+
projectId: ProjectId.make(projectId),
44+
});
45+
const entryOf = (name: string) => ({
46+
name,
47+
group: { memberProjectRefs: [ref("local", name)] },
48+
});
49+
const item = (value: string): CommandPaletteActionItem => ({
50+
kind: "action",
51+
value,
52+
searchTerms: [value],
53+
title: value,
54+
icon: null,
55+
run: async () => {},
56+
});
57+
58+
it("Search: the picker shows the filter's projects, or every project when none loaded", () => {
59+
const entries = [entryOf("api"), entryOf("web")];
60+
expect(
61+
scopePaletteProjectEntriesFork(entries, new Set(["local:web"])).map((entry) => entry.name),
62+
).toEqual(["web"]);
63+
expect(scopePaletteProjectEntriesFork(entries, new Set(["local:gone"]))).toBe(entries);
64+
expect(scopePaletteProjectEntriesFork(entries, null)).toBe(entries);
65+
});
66+
67+
it("Search all: the pushed new-thread picker follows the scope, keeping its lead first", () => {
68+
const pushed = [{ value: "projects", label: "Projects", items: [item("b"), item("a")] }];
69+
const refreshed = refreshNewThreadInViewFork(pushed, [item("a"), item("b"), item("c")]);
70+
expect(refreshed[0]!.items.map((entry) => entry.value)).toEqual(["b", "a", "c"]);
71+
72+
const other = [{ value: "themes", label: "Themes", items: [item("x")] }];
73+
expect(refreshNewThreadInViewFork(other, [item("a")])).toBe(other);
74+
});
75+
76+
it("Search all: the toggle trails the root list and the picker, and nothing else", () => {
77+
const toggle = item("action:search-all-projects");
78+
const scope = { projectKeys: new Set(["local:api"]), toggle };
79+
const results = [{ value: "actions", label: "Actions", items: [item("x")] }];
80+
expect(withProjectScopeToggleFork(results, scope, null).at(-1)?.items).toEqual([toggle]);
81+
const picker = {
82+
addonIcon: null,
83+
groups: [{ value: "projects", label: "Projects", items: [] }],
84+
};
85+
expect(withProjectScopeToggleFork(results, scope, picker).at(-1)?.items).toEqual([toggle]);
86+
const themes = { addonIcon: null, groups: [{ value: "themes", label: "Themes", items: [] }] };
87+
expect(withProjectScopeToggleFork(results, scope, themes)).toBe(results);
88+
expect(withProjectScopeToggleFork(results, { projectKeys: null, toggle: null }, null)).toBe(
89+
results,
90+
);
91+
});
92+
});

‎apps/web/src/components/CommandPalette.tsx‎

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ import {
5151
} from "@t3tools/contracts";
5252
import { buildGitHubIssuesActionItemFork } from "./CommandPalette.fork"; // fork-hook: github-issues/command-palette-import
5353
import { buildProjectChooserActionItemFork } from "./CommandPalette.fork"; // fork-hook: workspaces/chooser-palette
54+
import {
55+
dropNewThreadHintFork,
56+
refreshNewThreadInViewFork,
57+
scopePaletteProjectEntriesFork,
58+
useCommandPaletteProjectScopeFork,
59+
useNewThreadHintFork,
60+
withProjectScopeToggleFork,
61+
} from "./CommandPalette.fork"; // fork-hook: workspaces/palette-scope-import
5462
import { useProjectChooserLabel } from "../projectChooser.fork"; // fork-hook: workspaces/chooser-palette
5563
import { useLocation, useNavigate } from "@tanstack/react-router";
5664
import {
@@ -481,6 +489,8 @@ function OpenCommandPaletteDialog(props: {
481489
}
482490
};
483491
const threads = useThreadShells();
492+
const paletteProjectScope = useCommandPaletteProjectScopeFork(); // fork-hook: workspaces/palette-scope
493+
const newThreadHint = useNewThreadHintFork(activeDraftThread, activeThread, defaultProjectRef); // fork-hook: workspaces/palette-new-thread-hint
484494
const keybindings = useAtomValue(primaryServerKeybindingsAtom);
485495
const providersByEnvironment = useEnvironmentProviders();
486496
const { changeThemeItem, changeAppearanceItem, themeEditorItem } = useCommandPaletteThemeItems();
@@ -519,7 +529,7 @@ function OpenCommandPaletteDialog(props: {
519529
groups: projectGroups,
520530
preferredProjectRef: contextualProjectRef,
521531
});
522-
const pickerProjects = projectPickerEntries.map(({ group, targetProject }) => ({
532+
const pickerProjects = scopePaletteProjectEntriesFork(projectPickerEntries, paletteProjectScope.projectKeys).map(({ group, targetProject }) => ({ // fork-hook: workspaces/palette-scope-projects
523533
...targetProject,
524534
displayName: group.displayName,
525535
}));
@@ -811,7 +821,11 @@ function OpenCommandPaletteDialog(props: {
811821
threadMessageItems,
812822
now: searchNow,
813823
isSearchPending: isThreadSearchPending,
814-
} = useCommandPaletteThreadItems({ activeThread: activeThread ?? null, threadSearchQuery });
824+
} = useCommandPaletteThreadItems({
825+
activeThread: activeThread ?? null,
826+
threadSearchQuery,
827+
projectKeysFork: paletteProjectScope.projectKeys,
828+
}); // fork-hook: workspaces/palette-scope-threads
815829
// Recent means used recently: written in or opened, whichever is later. The
816830
// open thread would always lead that list, so it is left out.
817831
const activeThreadValue = activeThread
@@ -1272,6 +1286,7 @@ function OpenCommandPaletteDialog(props: {
12721286
}
12731287
}
12741288

1289+
dropNewThreadHintFork(actionItems, newThreadHint); // fork-hook: workspaces/palette-new-thread-hint
12751290
if (activeThreadReferenceCopyTarget !== null) {
12761291
actionItems.push({
12771292
kind: "action",
@@ -1627,7 +1642,7 @@ function OpenCommandPaletteDialog(props: {
16271642
? changeThemeItem.groups
16281643
: currentView?.groups[0]?.value === "appearance"
16291644
? changeAppearanceItem.groups
1630-
: (currentView?.groups ?? rootGroups);
1645+
: refreshNewThreadInViewFork(currentView?.groups ?? rootGroups, projectThreadItems); // fork-hook: workspaces/palette-scope-picker
16311646

16321647
const isLinkedThreadSearch =
16331648
linkedThreadSearch?.linkedThreads !== undefined && deferredQuery === linkedThreadSearch.query;
@@ -2226,6 +2241,7 @@ function OpenCommandPaletteDialog(props: {
22262241
];
22272242

22282243
let displayedGroups: CommandPaletteView["groups"] = filteredGroups;
2244+
displayedGroups = withProjectScopeToggleFork(filteredGroups, paletteProjectScope, currentView); // fork-hook: workspaces/palette-scope-toggle
22292245
if (newProjectFlow !== null) {
22302246
displayedGroups = [
22312247
...(newProjectMachineGroup ? [newProjectMachineGroup] : []),

‎apps/web/src/components/CommandPaletteThreadItems.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { scopedThreadKey, scopeThreadRef } from "@t3tools/client-runtime/environment";
2+
import { scopedPaletteThreadsFork } from "./CommandPalette.fork"; // fork-hook: workspaces/palette-scope-threads-import
23
import { findForMessageMatch, openThreadFindOnQuery } from "./chat/threadFindStore";
34
import {
45
claimThreadOpen,
@@ -96,6 +97,7 @@ function useConnectedThreadSearch(query: string) {
9697
export function useCommandPaletteThreadItems(input: {
9798
readonly activeThread: { readonly environmentId: EnvironmentId; readonly id: ThreadId } | null;
9899
readonly threadSearchQuery: string;
100+
readonly projectKeysFork?: ReadonlySet<string> | null; // fork-hook: workspaces/palette-scope-threads-input
99101
}) {
100102
const { activeThread, threadSearchQuery } = input;
101103
const navigate = useNavigate();
@@ -110,7 +112,7 @@ export function useCommandPaletteThreadItems(input: {
110112

111113
const { environments } = useEnvironments();
112114
const threadItems = buildThreadActionItems({
113-
threads,
115+
threads: scopedPaletteThreadsFork(threads, input.projectKeysFork ?? null), // fork-hook: workspaces/palette-scope-threads
114116
...(environments.length > 1
115117
? {
116118
environmentLabelOf: (thread: (typeof threads)[number]) =>

‎apps/web/src/components/Sidebar.fork.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ import type { SidebarProjectSnapshot } from "../sidebarProjectGrouping";
1515
import { Button } from "./ui/button";
1616

1717
/** The desktop bridge, when the current window supports opening project windows. */
18-
export const useDesktopProjectWindowBridgeFork = (): DesktopProjectWindowBridge | null =>
18+
export const desktopProjectWindowBridgeFork = (): DesktopProjectWindowBridge | null =>
1919
typeof window !== "undefined" && supportsDesktopProjectWindows(window.desktopBridge)
2020
? window.desktopBridge
2121
: null;
2222

2323
/** The sidebar row's "open project window" click handler. */
24-
export const useOpenProjectWindowFork =
24+
export const openProjectWindowFork =
2525
(
2626
desktopBridge: DesktopProjectWindowBridge | null,
27-
closeProjectScopeMenu: () => void,
27+
dispatchProjectScopeMenu: (action: { type: "open-changed"; open: false }) => void,
2828
): ((event: ReactMouseEvent<HTMLButtonElement>, projectGroup: SidebarProjectSnapshot) => void) =>
2929
(event: ReactMouseEvent<HTMLButtonElement>, projectGroup: SidebarProjectSnapshot) => {
3030
event.preventDefault();
3131
event.stopPropagation();
32-
closeProjectScopeMenu();
32+
dispatchProjectScopeMenu({ type: "open-changed", open: false });
3333
if (!desktopBridge) return;
3434
requestDesktopWindow(
3535
desktopBridge,

0 commit comments

Comments
 (0)