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 &
55
55
enableAggregationBuilderRunPipeline : boolean ;
56
56
enableAggregationBuilderExtraOptions : boolean ;
57
57
enableGenAISampleDocumentPassing : boolean ;
58
- enableHackoladeBanner : boolean ;
59
58
enablePerformanceAdvisorBanner : boolean ;
60
59
maximumNumberOfActiveConnections ?: number ;
61
60
} ;
@@ -720,18 +719,6 @@ export const storedUserPreferencesProps: Required<{
720
719
type : 'boolean' ,
721
720
} ,
722
721
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
-
735
722
enablePerformanceAdvisorBanner : {
736
723
ui : true ,
737
724
cli : true ,
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
29
29
Badge ,
30
30
Icon ,
31
31
} from '@mongodb-js/compass-components' ;
32
- import { HackoladePromoBanner } from './promo-banner' ;
33
32
import type { configureActions } from '../actions' ;
34
33
import { usePreference } from 'compass-preferences-model/provider' ;
35
34
import { useConnectionInfo } from '@mongodb-js/compass-connections/provider' ;
@@ -65,6 +64,7 @@ const contentStyles = css({
65
64
display : 'flex' ,
66
65
flexDirection : 'column' ,
67
66
gap : spacing [ 3 ] ,
67
+ height : '100%' ,
68
68
} ) ;
69
69
70
70
const insightsBadgeStyles = css ( {
@@ -386,7 +386,6 @@ const Schema: React.FunctionComponent<{
386
386
387
387
const outdated = useIsLastAppliedQueryOutdated ( 'schema' ) ;
388
388
389
- const enableHackoladeBanner = usePreference ( 'enableHackoladeBanner' ) ;
390
389
const enablePerformanceAdvisorBanner = usePreference (
391
390
'enablePerformanceAdvisorBanner'
392
391
) ;
@@ -408,7 +407,6 @@ const Schema: React.FunctionComponent<{
408
407
>
409
408
< div className = { contentStyles } >
410
409
{ enablePerformanceAdvisorBanner && < PerformanceAdvisorBanner /> }
411
- { enableHackoladeBanner && < HackoladePromoBanner /> }
412
410
{ analysisState === ANALYSIS_STATE_INITIAL && (
413
411
< InitialScreen onApplyClicked = { onApplyClicked } />
414
412
) }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -269,7 +269,6 @@ const CompassWeb = ({
269
269
enableImportExport : false ,
270
270
enableGenAIFeatures : false ,
271
271
enableNewMultipleConnectionSystem : false ,
272
- enableHackoladeBanner : false ,
273
272
enablePerformanceAdvisorBanner : true ,
274
273
cloudFeatureRolloutAccess : {
275
274
GEN_AI_COMPASS : false ,
You can’t perform that action at this time.
0 commit comments