-
Notifications
You must be signed in to change notification settings - Fork 936
chore(site): remove create workspace xservice #10217
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not too much to say – I think this looks good overall. Just had one suggestion for cleaning up one of the new useEffect
calls
@@ -0,0 +1,16 @@ | |||
export const createWorkspaceChecks = (organizationId: string) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing that these types are coming from XState. Do we have any files that have some of these types defined for when we eventually remove the library? One of my worries is that once we remove XState, our codebase will still be partly influenced by how it sets things up, but we won't have the type definitions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nops, there is no types coming from XState
here 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I just assumed that they were, because I've seen a few objects structured with these object
and action
properties around the codebase, and I know "action" is a state machine term
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it is not, it is related to our internal RBAC system 😁
Related to #9940