Skip to content

chore(site): remove xstate #10659

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 33 commits into from
Nov 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3c99474
Remove template deprecation warning
BrunoQuaresma Nov 9, 2023
878f995
Move deployment values fetching
BrunoQuaresma Nov 9, 2023
cdf8859
Remove unused code from template warning
BrunoQuaresma Nov 9, 2023
964c3d2
Extract initial data
BrunoQuaresma Nov 9, 2023
2cd9de1
Move quota fetching to be used close to where it is used
BrunoQuaresma Nov 9, 2023
4fd62bb
Fix test on Terminal because of workspace query changes
BrunoQuaresma Nov 9, 2023
168024d
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma Nov 13, 2023
b6ee59a
Move can suto start to be on WorkspaceReadyPage
BrunoQuaresma Nov 13, 2023
2388cae
Extract ssh config
BrunoQuaresma Nov 13, 2023
3d96b94
Extract watching workspace out of xstate
BrunoQuaresma Nov 13, 2023
b0fba32
Remove unused code
BrunoQuaresma Nov 13, 2023
9edfd71
Organize code on ready page
BrunoQuaresma Nov 13, 2023
3e1de93
Extract change version from xstate
BrunoQuaresma Nov 13, 2023
ab8977c
Extract update workspace
BrunoQuaresma Nov 13, 2023
cb2c966
Extract delete
BrunoQuaresma Nov 13, 2023
6c8ec9f
Extract activate
BrunoQuaresma Nov 13, 2023
039f4bb
Remove unecessary require permission
BrunoQuaresma Nov 13, 2023
987f14f
Remove unused RequirePermission usage
BrunoQuaresma Nov 13, 2023
13e954f
Extract refresh timeline
BrunoQuaresma Nov 13, 2023
764f047
Remove REFRESH_WORKSPACE
BrunoQuaresma Nov 13, 2023
633c431
Extract stop
BrunoQuaresma Nov 13, 2023
20e073f
Extract start
BrunoQuaresma Nov 13, 2023
bfcc99d
Extract cancellation and remove xservices
BrunoQuaresma Nov 13, 2023
cf6896a
Clean up
BrunoQuaresma Nov 13, 2023
b6c9469
Add retry with debug
BrunoQuaresma Nov 13, 2023
a4a33f9
Remove XState
BrunoQuaresma Nov 13, 2023
e72abf5
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma Nov 14, 2023
75d39a2
Clean up event source
BrunoQuaresma Nov 14, 2023
c3de809
Rename workspace mutations
BrunoQuaresma Nov 14, 2023
477b928
Invalidate workspace builds data on cancel
BrunoQuaresma Nov 14, 2023
d189c20
use useEffectEvent to avoid unecessary updates
BrunoQuaresma Nov 14, 2023
49b95a2
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma Nov 14, 2023
6cc257a
Fix cancel action
BrunoQuaresma Nov 14, 2023
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 unused RequirePermission usage
  • Loading branch information
BrunoQuaresma committed Nov 13, 2023
commit 987f14ff141b7793b18e31992d5d390ebe1c83b8
2 changes: 0 additions & 2 deletions site/src/pages/WorkspacePage/WorkspacePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import { FC, useEffect, useRef } from "react";
import { useParams } from "react-router-dom";
import { workspaceMachine } from "xServices/workspace/workspaceXService";
import { WorkspaceReadyPage } from "./WorkspaceReadyPage";
import { RequirePermission } from "components/RequirePermission/RequirePermission";
import { ErrorAlert } from "components/Alert/ErrorAlert";
import { useOrganizationId } from "hooks";
import { isAxiosError } from "axios";
import { Margins } from "components/Margins/Margins";
import { useInfiniteQuery, useQuery, useQueryClient } from "react-query";
import { infiniteWorkspaceBuilds } from "api/queries/workspaceBuilds";
Expand Down