Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): switch saved environments off instead of removing them #11478

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 4 commits intomain fromrefs/pull/11478/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 40 changed files with 22 additions and 3 deletions (loading 37).

x
0 of 40 viewed, 40 left
1 addition and 0 deletionsapps/desktop/src/app/DesktopConnectionCatalogStore.tsModified
View file
@@ -372,6 +372,7 @@
profiles,
credentials,
remoteDpopTokens: [],
+ disabledEnvironmentIds: [],
});
​
17 additions and 1 deletionapps/mobile/src/connection/storage.tsModified
View file
@@ -5,6 +5,7 @@
putRemoteDpopTokenInCatalog,
registerConnectionInCatalog,
removeConnectionFromCatalog,
+ setConnectionEnabledInCatalog,
removeCatalogValue,
replaceCatalogValue,
} from "@t3tools/client-runtime/platform";
@@ -21,7 +22,12 @@
import * as CatalogStore from "./catalog-store";
​
function targetPersistenceError(
- operation: "list-targets" | "register-connection" | "remove-connection",
+ operation:
+ | "list-targets"
+ | "list-disabled-targets"
+ | "register-connection"