Skip to content

chore(site): remove workspace schedule banner service #10588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove workspace schedule banner xservice
  • Loading branch information
BrunoQuaresma committed Nov 8, 2023
commit 8d1ee309ef604687767cde2bd18524e8559eb6fc
11 changes: 0 additions & 11 deletions site/src/xServices/workspace/workspaceXService.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { getErrorMessage } from "api/errors";
import { workspaceScheduleBannerMachine } from "xServices/workspaceSchedule/workspaceScheduleBannerXService";
import { assign, createMachine } from "xstate";
import * as API from "api/api";
import * as TypesGen from "api/typesGenerated";
Expand Down Expand Up @@ -416,15 +415,6 @@ export const workspaceMachine = createMachine(
},
},
},
schedule: {
invoke: {
id: "scheduleBannerMachine",
src: "scheduleBannerMachine",
data: {
workspace: (context: WorkspaceContext) => context.workspace,
},
},
},
},
},
error: {
Expand Down Expand Up @@ -672,7 +662,6 @@ export const workspaceMachine = createMachine(
context.eventSource?.close();
};
},
scheduleBannerMachine: workspaceScheduleBannerMachine,
getSSHPrefix: async () => {
return API.getDeploymentSSHConfig();
},
Expand Down

This file was deleted.