Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): first-run welcome wizard with agent setup and project import #5362

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

Showing 122 changed files with 97 additions and 18 deletions (loading 119).

x
0 of 122 viewed, 122 left
17 additions and 6 deletionsapps/desktop/src/settings/DesktopClientSettings.diagnostics.test.tsModified
View file
@@ -54,7 +54,7 @@
const environment = yield* DesktopEnvironment.DesktopEnvironment;
const settings = yield* DesktopClientSettings.DesktopClientSettings;
return {
- result: yield* settings.get,
+ result: yield* Effect.result(settings.get),
settingsPath: environment.clientSettingsPath,
records,
};
@@ -73,12 +73,13 @@
Effect.gen(function* () {
const result = yield* readWithLogs(FileSystem.layerNoop({}));
​
- assert.isTrue(Option.isNone(result.result));
+ if (result.result._tag !== "Success") return assert.fail("expected a successful read");
+ assert.isTrue(Option.isNone(result.result.success));
assert.deepEqual(result.records, []);
}),
);
​
- it.effect("logs non-missing filesystem failures with the settings path", () => {
+ it.effect("reports non-missing filesystem failures and logs the settings path", () => {
const permissionError = PlatformError.systemError({
_tag: "PermissionDenied",
module: "FileSystem",
@@ -93,7 +94,12 @@
}),
);