1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

chore: remove access overview toggle (#5166)

This commit is contained in:
Simon Hornby 2023-10-30 13:57:20 +01:00 committed by GitHub
parent 7d65615335
commit 9f8f94b06b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 30 deletions

View File

@ -53,8 +53,6 @@ const UsersList = () => {
const [delUser, setDelUser] = useState<IUser>();
const { planUsers, isBillingUsers } = useUsersPlan(users);
const accessOverviewEnabled = useUiFlag('accessOverview');
const [searchValue, setSearchValue] = useState('');
const isExtraSmallScreen = useMediaQuery(theme.breakpoints.down('sm'));
@ -271,26 +269,15 @@ const UsersList = () => {
onChange={setSearchValue}
/>
<PageHeader.Divider />
<ConditionallyRender
condition={
isEnterprise() &&
Boolean(accessOverviewEnabled)
}
show={() => (
<>
<Tooltip
title='Exports user access information'
arrow
describeChild
>
<IconButton onClick={downloadCSV}>
<Download />
</IconButton>
</Tooltip>
</>
)}
/>
<Tooltip
title='Exports user access information'
arrow
describeChild
>
<IconButton onClick={downloadCSV}>
<Download />
</IconButton>
</Tooltip>
<Button
variant='contained'
color='primary'

View File

@ -65,7 +65,6 @@ export type UiFlags = {
doraMetrics?: boolean;
variantTypeNumber?: boolean;
privateProjects?: boolean;
accessOverview?: boolean;
dependentFeatures?: boolean;
banners?: boolean;
disableEnvsOnRevive?: boolean;

View File

@ -71,7 +71,6 @@ exports[`should create default config 1`] = `
},
"flagResolver": FlagResolver {
"experiments": {
"accessOverview": false,
"anonymiseEventLog": false,
"banners": false,
"caseInsensitiveInOperators": false,

View File

@ -26,7 +26,6 @@ export type IFlagKey =
| 'featureNamingPattern'
| 'doraMetrics'
| 'variantTypeNumber'
| 'accessOverview'
| 'privateProjects'
| 'dependentFeatures'
| 'disableMetrics'
@ -137,10 +136,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_PRIVATE_PROJECTS,
false,
),
accessOverview: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_ACCESS_OVERVIEW,
false,
),
disableMetrics: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_DISABLE_METRICS,
false,

View File

@ -42,7 +42,6 @@ process.nextTick(async () => {
doraMetrics: true,
variantTypeNumber: true,
privateProjects: true,
accessOverview: true,
dependentFeatures: true,
useLastSeenRefactor: true,
disableEnvsOnRevive: true,