File tree Expand file tree Collapse file tree
apps/web/src/components/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1333,7 +1333,11 @@ export function KeybindingsSettingsPanel() {
13331333 // The representative environment supplies the displayed bindings; edits
13341334 // fan out to every connected environment in the selection, so one
13351335 // shortcut change reaches each machine the user runs T3 Code on.
1336- const { environment: primaryEnvironment, connectedEnvironments } = useSettingsScope();
1336+ const {
1337+ environment: primaryEnvironment,
1338+ environments,
1339+ connectedEnvironments,
1340+ } = useSettingsScope();
13371341 const keybindings = primaryEnvironment?.serverConfig?.keybindings ?? DEFAULT_RESOLVED_KEYBINDINGS;
13381342 const keybindingsConfigPath = primaryEnvironment?.serverConfig?.keybindingsConfigPath ?? null;
13391343 const availableEditors = primaryEnvironment?.serverConfig?.availableEditors ?? [];
@@ -1506,7 +1510,9 @@ export function KeybindingsSettingsPanel() {
15061510 return (
15071511 <SettingsPageContainer>
15081512 <p role="status" className="text-sm text-muted-foreground">
1509- Connect an environment to change keybindings.
1513+ {environments.some((environment) => environment.connection.phase === "connected")
1514+ ? "Loading keybindings…"
1515+ : "Connect an environment to change keybindings."}
15101516 </p>
15111517 </SettingsPageContainer>
15121518 );
You can’t perform that action at this time.
0 commit comments