Skip to content

Commit ccf7ea4

Browse files
authored
MMT-4028: Removing Visualizations Toggle (#1382)
* MMT-4028: Removing Visualizations Toggle * MMT-4028: removing showVisualization in config file
1 parent d2a602c commit ccf7ea4

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

bin/deploy-bamboo.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ config="`jq '.application.cmrHost = $newValue' --arg newValue $bamboo_CMR_HOST <
1919
config="`jq '.application.edscHost = $newValue' --arg newValue $bamboo_EDSC_HOST <<< $config`"
2020
config="`jq '.application.gkrHost = $newValue' --arg newValue $bamboo_GKR_HOST <<< $config`"
2121
config="`jq '.application.kmsHost = $newValue' --arg newValue $bamboo_KMS_HOST <<< $config`"
22-
# Remove in MMT-4028
23-
config="`jq '.application.showVisualizations = ($newValue | tostring)' --arg newValue $bamboo_SHOW_VISUALIZATIONS <<< $config`"
2422
config="`jq '.application.cookieDomain = $newValue' --arg newValue $bamboo_COOKIE_DOMAIN <<< $config`"
2523
config="`jq '.application.displayProdWarning = $newValue' --arg newValue $bamboo_DISPLAY_PROD_WARNING <<< $config`"
2624
config="`jq '.application.tokenValidTime = $newValue' --arg newValue $bamboo_JWT_VALID_TIME <<< $config`"

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"@apollo/client": "^3.8.5",
22-
"@edsc/metadata-preview": "^1.4.0-beta.2",
22+
"@edsc/metadata-preview": "^1.4.0",
2323
"@node-saml/node-saml": "^4.0.5",
2424
"@rjsf/core": "^5.15.0",
2525
"@rjsf/utils": "^5.15.0",

static.config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"mmtHost": "http://localhost:5173",
99
"edscHost": "https://search.sit.earthdata.nasa.gov",
1010
"kmsHost": "https://cmr.sit.earthdata.nasa.gov/kms",
11-
"showVisualizations": "true",
1211
"version": "development",
1312
"defaultResponseHeaders": {
1413
"Access-Control-Allow-Origin": "*",

static/src/js/components/Layout/Layout.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ const Layout = ({ className, displayNav }) => {
4848
ummVis
4949
} = getUmmVersionsConfig()
5050

51-
// Remove showVisualizations in MMT-4028
52-
const { env, displayProdWarning, showVisualizations } = getApplicationConfig()
51+
const { env, displayProdWarning } = getApplicationConfig()
5352

5453
const { user } = useAuthContext()
5554

@@ -191,8 +190,7 @@ const Layout = ({ className, displayNav }) => {
191190
}
192191
]
193192
},
194-
// Remove in MMT-4028
195-
...((showVisualizations === 'true') ? [{
193+
{
196194
title: 'Visualizations',
197195
version: `v${ummVis}`,
198196
children: [
@@ -205,7 +203,7 @@ const Layout = ({ className, displayNav }) => {
205203
title: 'Drafts'
206204
}
207205
]
208-
}] : []),
206+
},
209207
{
210208
title: 'Order Options',
211209
children: [

0 commit comments

Comments
 (0)