You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application shows has not relevant redirections when creating a workspace, joining a workspace, etc. To sanitize behavior, we want the onboardingStatus to be computed in the backend, not in the frontEnd
Current behavior
when creating a new account via an invitation link, when logging with google, we redirect to /create/workspace then /create/profile. /create/workspace is unecessary
When sign in (account creation) with a google auth, there is a unecessary redirection to /create/workspace
When sign up (account creation) with a google auth, there is a unecessary redirection to /create/profile
Check other use cases, with IS_BILLING_ENABLED = true or false
Expected behavior
No more flashs, unexpected or unnecessary redirections
Technical inputs
Move the logic in packages/twenty-front/src/modules/auth/utils/getOnboardingStatus.ts to the backend in userEntity with a onboardingStatus computed field.
Use the front logic to compute the onboardingStatus field
Get onboardingStatus value in get_current_user request and use it in the front
Fix unecessary redirections
The text was updated successfully, but these errors were encountered:
Scope & Context
The application shows has not relevant redirections when creating a workspace, joining a workspace, etc. To sanitize behavior, we want the onboardingStatus to be computed in the backend, not in the frontEnd
Current behavior
Expected behavior
No more flashs, unexpected or unnecessary redirections
Technical inputs
packages/twenty-front/src/modules/auth/utils/getOnboardingStatus.ts
to the backend in userEntity with aonboardingStatus
computed field.onboardingStatus
fieldonboardingStatus
value in get_current_user request and use it in the frontThe text was updated successfully, but these errors were encountered: