mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	[Gitar] Cleaning up stale flag: commandBarUI with value true (#7894)
[](https://gitar.co) --- This automated PR was generated by [Gitar](https://gitar.co). View [docs](https://gitar.co/docs). --------- Co-authored-by: Gitar <noreply@gitar.co> Co-authored-by: sjaanus <sellinjaanus@gmail.com>
This commit is contained in:
		
							parent
							
								
									c2e6f74bfa
								
							
						
					
					
						commit
						413df42555
					
				| @ -80,27 +80,8 @@ const StyledUnleashLogo = styled(UnleashLogo)({ width: '150px' }); | ||||
| 
 | ||||
| const StyledCelebatoryLogo = styled(CelebatoryUnleashLogo)({ width: '150px' }); | ||||
| 
 | ||||
| const StyledLinks = styled('div')(({ theme }) => ({ | ||||
|     display: 'flex', | ||||
|     justifyContent: 'center', | ||||
|     marginLeft: theme.spacing(3), | ||||
|     '& a': { | ||||
|         textDecoration: 'none', | ||||
|         color: 'inherit', | ||||
|         marginRight: theme.spacing(3), | ||||
|         display: 'flex', | ||||
|         alignItems: 'center', | ||||
|     }, | ||||
| })); | ||||
| 
 | ||||
| const StyledLink = styled(Link)(({ theme }) => focusable(theme)); | ||||
| 
 | ||||
| const StyledText = styled('div')(({ theme }) => ({ | ||||
|     display: 'flex', | ||||
|     alignItems: 'center', | ||||
|     gap: theme.spacing(1), | ||||
| })); | ||||
| 
 | ||||
| const StyledIconButton = styled(IconButton)<{ | ||||
|     component?: 'a' | 'button'; | ||||
|     href?: string; | ||||
| @ -120,7 +101,6 @@ const Header: VFC = () => { | ||||
|     const theme = useTheme(); | ||||
| 
 | ||||
|     const disableNotifications = useUiFlag('disableNotifications'); | ||||
|     const commandBarUI = useUiFlag('commandBarUI'); | ||||
|     const { uiConfig, isOss } = useUiConfig(); | ||||
|     const smallScreen = useMediaQuery(theme.breakpoints.down('lg')); | ||||
|     const [openDrawer, setOpenDrawer] = useState(false); | ||||
| @ -199,7 +179,7 @@ const Header: VFC = () => { | ||||
| 
 | ||||
|                 <StyledNav> | ||||
|                     <StyledUserContainer> | ||||
|                         {commandBarUI && <CommandBar />} | ||||
|                         <CommandBar /> | ||||
|                         <InviteLinkButton /> | ||||
|                         <Tooltip | ||||
|                             title={ | ||||
|  | ||||
| @ -87,7 +87,6 @@ export type UiFlags = { | ||||
|     manyStrategiesPagination?: boolean; | ||||
|     enableLegacyVariants?: boolean; | ||||
|     navigationSidebar?: boolean; | ||||
|     commandBarUI?: boolean; | ||||
|     flagCreator?: boolean; | ||||
|     resourceLimits?: boolean; | ||||
|     insightsV2?: boolean; | ||||
|  | ||||
| @ -81,7 +81,6 @@ exports[`should create default config 1`] = ` | ||||
|       "celebrateUnleash": false, | ||||
|       "changeRequestPlayground": false, | ||||
|       "collectTrafficDataUsage": false, | ||||
|       "commandBarUI": false, | ||||
|       "demo": false, | ||||
|       "disableBulkToggle": false, | ||||
|       "disableMetrics": false, | ||||
|  | ||||
| @ -55,7 +55,6 @@ export type IFlagKey = | ||||
|     | 'manyStrategiesPagination' | ||||
|     | 'enableLegacyVariants' | ||||
|     | 'navigationSidebar' | ||||
|     | 'commandBarUI' | ||||
|     | 'anonymizeProjectOwners' | ||||
|     | 'resourceLimits' | ||||
|     | 'extendedMetrics' | ||||
| @ -275,10 +274,6 @@ const flags: IFlags = { | ||||
|         process.env.UNLEASH_EXPERIMENTAL_SIDEBAR_NAVIGATION, | ||||
|         true, | ||||
|     ), | ||||
|     commandBarUI: parseEnvVarBoolean( | ||||
|         process.env.UNLEASH_EXPERIMENTAL_COMMAND_BAR_UI, | ||||
|         false, | ||||
|     ), | ||||
|     anonymizeProjectOwners: parseEnvVarBoolean( | ||||
|         process.env.UNLEASH_EXPERIMENTAL_ANONYMIZE_PROJECT_OWNERS, | ||||
|         false, | ||||
|  | ||||
| @ -50,7 +50,6 @@ process.nextTick(async () => { | ||||
|                         projectOverviewRefactorFeedback: true, | ||||
|                         manyStrategiesPagination: true, | ||||
|                         enableLegacyVariants: false, | ||||
|                         commandBarUI: true, | ||||
|                         resourceLimits: true, | ||||
|                         extendedMetrics: true, | ||||
|                         insightsV2: true, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user