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
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
When the admin removes themself from the team they transition to the free plan. As they are no longer on a team, they should be redirected from any team-specific page like "/cody/team/manage".
Meta point: any page intended for Pro plan users should ensure the user is on a Pro plan. The plan data should be updated if any mutation can modify the user-team relation.
Technical challenge: user plan data comes from the Sourcegraph instance backend (GraphQL) and the source of truth for teams is on the SSC backend. We need to find a way to refetch user Cody plan after any mutation (in other words sync Apollo hooks with React Query ones).
The text was updated successfully, but these errors were encountered:
chenkc805
changed the title
Navigate to "/cody/manage" when admin removes themself from the team
Redirect user to "/cody/manage" when admin removes themself from the team
Jun 20, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the admin removes themself from the team they transition to the free plan. As they are no longer on a team, they should be redirected from any team-specific page like "/cody/team/manage".
Meta point: any page intended for Pro plan users should ensure the user is on a Pro plan. The plan data should be updated if any mutation can modify the user-team relation.
Technical challenge: user plan data comes from the Sourcegraph instance backend (GraphQL) and the source of truth for teams is on the SSC backend. We need to find a way to refetch user Cody plan after any mutation (in other words sync Apollo hooks with React Query ones).
The text was updated successfully, but these errors were encountered: