File tree Expand file tree Collapse file tree 4 files changed +1
-107
lines changed
compass-preferences-model/src
compass-schema/src/components Expand file tree Collapse file tree 4 files changed +1
-107
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ export type UserConfigurablePreferences = PermanentFeatureFlags &
5555 enableAggregationBuilderRunPipeline : boolean ;
5656 enableAggregationBuilderExtraOptions : boolean ;
5757 enableGenAISampleDocumentPassing : boolean ;
58- enableHackoladeBanner : boolean ;
5958 enablePerformanceAdvisorBanner : boolean ;
6059 maximumNumberOfActiveConnections ?: number ;
6160 } ;
@@ -720,18 +719,6 @@ export const storedUserPreferencesProps: Required<{
720719 type : 'boolean' ,
721720 } ,
722721
723- enableHackoladeBanner : {
724- ui : true ,
725- cli : true ,
726- global : true ,
727- description : {
728- short :
729- 'Show Hackolade banner to users for data modeling and schema design' ,
730- } ,
731- validator : z . boolean ( ) . default ( true ) ,
732- type : 'boolean' ,
733- } ,
734-
735722 enablePerformanceAdvisorBanner : {
736723 ui : true ,
737724 cli : true ,
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
2929 Badge ,
3030 Icon ,
3131} from '@mongodb-js/compass-components' ;
32- import { HackoladePromoBanner } from './promo-banner' ;
3332import type { configureActions } from '../actions' ;
3433import { usePreference } from 'compass-preferences-model/provider' ;
3534import { useConnectionInfo } from '@mongodb-js/compass-connections/provider' ;
@@ -65,6 +64,7 @@ const contentStyles = css({
6564 display : 'flex' ,
6665 flexDirection : 'column' ,
6766 gap : spacing [ 3 ] ,
67+ height : '100%' ,
6868} ) ;
6969
7070const insightsBadgeStyles = css ( {
@@ -386,7 +386,6 @@ const Schema: React.FunctionComponent<{
386386
387387 const outdated = useIsLastAppliedQueryOutdated ( 'schema' ) ;
388388
389- const enableHackoladeBanner = usePreference ( 'enableHackoladeBanner' ) ;
390389 const enablePerformanceAdvisorBanner = usePreference (
391390 'enablePerformanceAdvisorBanner'
392391 ) ;
@@ -408,7 +407,6 @@ const Schema: React.FunctionComponent<{
408407 >
409408 < div className = { contentStyles } >
410409 { enablePerformanceAdvisorBanner && < PerformanceAdvisorBanner /> }
411- { enableHackoladeBanner && < HackoladePromoBanner /> }
412410 { analysisState === ANALYSIS_STATE_INITIAL && (
413411 < InitialScreen onApplyClicked = { onApplyClicked } />
414412 ) }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -269,7 +269,6 @@ const CompassWeb = ({
269269 enableImportExport : false ,
270270 enableGenAIFeatures : false ,
271271 enableNewMultipleConnectionSystem : false ,
272- enableHackoladeBanner : false ,
273272 enablePerformanceAdvisorBanner : true ,
274273 cloudFeatureRolloutAccess : {
275274 GEN_AI_COMPASS : false ,
You can’t perform that action at this time.
0 commit comments