-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: remove multiorg phase2 feat flag #6643
base: master
Are you sure you want to change the base?
Conversation
<hr className="account-settings--divider" /> | ||
<LeaveOrgButton /> | ||
</> | ||
)} | ||
{shouldShowDeleteFreeAccountButton && <DeleteFreeAccountButton />} |
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.
The "Leave Org" button was only here for backwards compatibility for situations where the feature flag was turned off. It now lives on the org settings page.
@@ -35,7 +37,7 @@ const AccountTabs: FC<Props> = ({activeTab}) => { | |||
}, | |||
{ | |||
id: 'organizations', | |||
enabled: isFlagEnabled('createDeleteOrgs'), | |||
enabled: CLOUD, | |||
link: `/orgs/${orgID}/accounts/orglist`, |
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.
The organization tab cannot be accessed from OSS, where there is no multi-org or access to quartz APIs.
name: 'Settings', | ||
iconFont: IconFont.CogSolid_New, | ||
href: `/orgs/${activeOrg.id}/accounts/settings`, | ||
}, |
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.
There's no need for the 'enabled' distinction here, as all of these tabs are accessible without condition. The global header only exists in cloud, so there's no need for a CLOUD guard either.
@@ -175,7 +171,7 @@ const OrgProfileTab: FC = () => { | |||
stretchToFitWidth={true} | |||
> | |||
<> | |||
{allowSelfRemoval && showLeaveOrgButton && <LeaveOrgButton />} |
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.
This is already subordinate to a CLOUD
check, so we don't need another one.
de8851d
to
61acac8
Compare
Part of #5243
Removes the feature flag associated with multiorg phase two (creating and deleting orgs). After this PR, the flag still needs to be removed from IDPE, and then configcat.
Checklist
Authors and Reviewer(s), please verify the following: