How to change workspaces

I pulled newest changes which contain this PR and it seems it's impossible to change workspace now, how can I jump between workspaces as it's somewhat irritating when I have to reset database just to change between workspaces EDIT: Okay, I found how to do it, you simply have to remove the sub-domain from the beginning of URL, still preferred previous solution as it was simple
GitHub
feat(*): allow to select auth providers + add multiworkspace with s...
Summary Add support for multi-workspace feature and adjust configurations and states accordingly. Introduced new state isMultiWorkspaceEnabledState. Updated ClientConfigProviderEffect component to...
12 Replies
thomast
thomast2mo ago
cc @AMoreaux
AMoreaux
AMoreaux2mo ago
Depends of your server configuration. The workspace selector is display if you set the env IS_MULTIWORKSPACE_ENABLED to true on your twenty instance and you have more that 1 workspace.
ɃØĦɆᵾS
ɃØĦɆᵾSOP2mo ago
That was due to some bug which showed default user's workspace without possibility to change the actual workspace but now it's working fine Speaking of workspaces, is there any way to change default workspace?
AMoreaux
AMoreaux2mo ago
The default workspace is the last one you were authenticate.
ɃØĦɆᵾS
ɃØĦɆᵾSOP2mo ago
I see, thanks for the info
AMoreaux
AMoreaux2mo ago
I'm curious about your use case. You have multiple workspaces and you have a main workspace ?
ɃØĦɆᵾS
ɃØĦɆᵾSOP2mo ago
I have default workspace with Tim being in Apple and Acme workspaces and I'd like to change the default workspace from Apple to Acme
AMoreaux
AMoreaux2mo ago
Thx. So you can activate the multi workspace with the env var IS_MULTIWORKSPACE_ENABLED=true or remove the apple workspace or force the connection to the acme workspace by writing the url like you did I think and signin to it to set it as default.
ɃØĦɆᵾS
ɃØĦɆᵾSOP2mo ago
I'll test it later and check if that's all what I need to do
ɃØĦɆᵾS
ɃØĦɆᵾSOP2mo ago
I tried but it doesn't change automatically 🤔
thomast
thomast2mo ago
@AMoreaux @bob is there still investigations to do here? Should we create a ticket?
AMoreaux
AMoreaux2mo ago
To be sure. The behaviour is to be redirect to the defaultWorkspace instead of the first found when you signin on the main subdomain (app.*) ? This PR should fix the issue: https://github.com/twentyhq/twenty/pull/9099

Did you find this page helpful?