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:
parent
7d65615335
commit
9f8f94b06b
@ -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'
|
||||
|
@ -65,7 +65,6 @@ export type UiFlags = {
|
||||
doraMetrics?: boolean;
|
||||
variantTypeNumber?: boolean;
|
||||
privateProjects?: boolean;
|
||||
accessOverview?: boolean;
|
||||
dependentFeatures?: boolean;
|
||||
banners?: boolean;
|
||||
disableEnvsOnRevive?: boolean;
|
||||
|
@ -71,7 +71,6 @@ exports[`should create default config 1`] = `
|
||||
},
|
||||
"flagResolver": FlagResolver {
|
||||
"experiments": {
|
||||
"accessOverview": false,
|
||||
"anonymiseEventLog": false,
|
||||
"banners": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
|
@ -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,
|
||||
|
@ -42,7 +42,6 @@ process.nextTick(async () => {
|
||||
doraMetrics: true,
|
||||
variantTypeNumber: true,
|
||||
privateProjects: true,
|
||||
accessOverview: true,
|
||||
dependentFeatures: true,
|
||||
useLastSeenRefactor: true,
|
||||
disableEnvsOnRevive: true,
|
||||
|
Loading…
Reference in New Issue
Block a user