Skip to content

Commit c68ed68

Browse files
update copy in settings and turn on nav bar redesign by default
1 parent 6fa5692 commit c68ed68

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

datahub-web-react/src/app/settings/Preferences.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ export const Preferences = () => {
113113
<Card style={{ marginTop: 20 }}>
114114
<UserSettingRow>
115115
<span>
116-
<SettingText>Try DataHub 2.0 (beta)</SettingText>
116+
<SettingText>Try New User Experience</SettingText>
117117
<div>
118118
<DescriptionText>
119-
Enable an early preview of DataHub 2.0 - a complete makeover for your app
120-
with a sleek new design and advanced features. Flip the switch and refresh
121-
your browser to try it out!
119+
Enable an early preview of the new DataHub UX - a complete makeover for your
120+
app with a sleek new design and advanced features. Flip the switch and
121+
refresh your browser to try it out!
122122
</DescriptionText>
123123
</div>
124124
</span>

datahub-web-react/src/app/settingsV2/Preferences.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ export const Preferences = () => {
113113
<Card style={{ marginTop: 20 }}>
114114
<UserSettingRow>
115115
<span>
116-
<SettingText>Try Acryl 2.0 (beta)</SettingText>
116+
<SettingText>Try New User Experience</SettingText>
117117
<div>
118118
<DescriptionText>
119-
Enable an early preview of Acryl 2.0 - a complete makeover for your app with
120-
a sleek new design and advanced features. Flip the switch and refresh your
121-
browser to try it out!
119+
Enable an early preview of the new DataHub UX - a complete makeover for your
120+
app with a sleek new design and advanced features. Flip the switch and
121+
refresh your browser to try it out!
122122
</DescriptionText>
123123
</div>
124124
</span>

datahub-web-react/src/app/useShowNavBarRedesign.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
import { useEffect } from 'react';
22
import { useAppConfig } from './useAppConfig';
3+
import { useIsThemeV2 } from './useIsThemeV2';
34

45
export function useShowNavBarRedesign() {
56
const appConfig = useAppConfig();
7+
const isThemeV2Enabled = useIsThemeV2();
68

79
if (!appConfig.loaded) {
810
return loadFromLocalStorage();
911
}
1012

11-
return appConfig.config.featureFlags.showNavBarRedesign;
13+
return appConfig.config.featureFlags.showNavBarRedesign && isThemeV2Enabled;
1214
}
1315

1416
export function useSetNavBarRedesignEnabled() {

metadata-service/configuration/src/main/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ featureFlags:
492492
editableDatasetNameEnabled: ${EDITABLE_DATASET_NAME_ENABLED:false} # Enables the ability to edit the dataset name in the UI
493493
showManageStructuredProperties: ${SHOW_MANAGE_STRUCTURED_PROPERTIES:true} # If turned on, show the manage structured properties button on the govern dropdown
494494
hideDbtSourceInLineage: ${HIDE_DBT_SOURCE_IN_LINEAGE:false} # If turned on, dbt sources will not be shown in lineage
495-
showNavBarRedesign: ${SHOW_NAV_BAR_REDESIGN:false} # If turned on, show the newly designed nav bar in the V2 experience
495+
showNavBarRedesign: ${SHOW_NAV_BAR_REDESIGN:true} # If turned on, show the newly designed nav bar in the V2 experience
496496
showAutoCompleteResults: ${SHOW_AUTO_COMPLETE_RESULTS:true} # If turned on, show the auto complete results in the search bar
497497
entityVersioning: ${ENTITY_VERSIONING_ENABLED:false} # Enables entity versioning APIs, validators, and side effects
498498

0 commit comments

Comments
 (0)