Skip to content

Commit fa70056

Browse files
#648 Move configure-beta out of beta (#649)
1 parent 4161e44 commit fa70056

File tree

11 files changed

+20
-19
lines changed

11 files changed

+20
-19
lines changed

API/Backend/Config/setup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let setup = {
99
process.env.HIDE_CONFIG != "true"
1010
) {
1111
s.app.get(
12-
s.ROOT_PATH + "/configure",
12+
s.ROOT_PATH + "/configure-legacy",
1313
s.ensureGroup(s.permissions.users),
1414
s.ensureAdmin(true),
1515
(req, res) => {
@@ -35,7 +35,7 @@ let setup = {
3535
);
3636

3737
s.app.get(
38-
s.ROOT_PATH + "/configure-beta",
38+
s.ROOT_PATH + "/configure",
3939
s.ensureGroup(s.permissions.users),
4040
s.ensureAdmin(true),
4141
(req, res) => {

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ See the [configuration documentation](https://nasa-ammos.github.io/MMGIS/configu
182182
183183
1. Run `npm run build` to bundle up the code (first time or if there are any changes)
184184
185-
1. Go into /configure and run `npm install` followed by `npm run build` to build the beta configuration site.
185+
1. Go into /configure and run `npm install` followed by `npm run build` to build the configuration site.
186186
187187
1. Go back to the root `/` directory
188188

config/login/adminlogin.css

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ body,
22
html {
33
font-family: sans-serif;
44
background-color: #1a1a1a;
5+
background-image: url(../../configure/build/contours.png);
56
padding: 0;
67
margin: 0;
78
}

configure/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Configuration-Beta
1+
# Configuration
22

33
## Development
44

configure/public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
work correctly both with client-side routing and a non-root public URL.
3737
Learn how to configure a non-root public URL by running `npm run build`.
3838
-->
39-
<title>MMGIS Configure - BETA</title>
39+
<title>MMGIS Configure</title>
4040
<link
4141
type="text/css"
4242
rel="stylesheet"

configure/src/components/Panel/Panel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function Panel() {
133133
<div className={c.title}>
134134
<img className={c.titleImage} src={mmgisLogo} alt="MMGIS"></img>
135135
<div className={c.configurationName}>
136-
Configuration <span>BETA</span>
136+
<span>Config</span>uration
137137
</div>
138138
</div>
139139
<div className={c.newMission}>

configure/src/core/constants.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const publicUrl = `${window.location.pathname
2-
.replace(`configure-beta`, "")
3-
.replace(/^\//g, "")}configure-beta`;
2+
.replace(`configure`, "")
3+
.replace(/^\//g, "")}configure`;
44

55
export const endpoints = {};
66

configure/src/pages/APIs/APIs.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const apiCards = {
1717
"The Core MMGIS API provides a series of robust endpoints for managing mission configurations, datasets, geodatasets, drawing functionalities, file operations, user management and geospatial operations.",
1818
description: "",
1919
link: `${window.location.pathname
20-
.replace(`/configure-beta`, "")
20+
.replace(`/configure`, "")
2121
.replace(/^\//g, "")}/api/docs`,
2222
active: true,
2323
},
@@ -34,7 +34,7 @@ const apiCards = {
3434
subtitle: "FastAPI implementation of the STAC API spec.",
3535
description: "",
3636
link: `${window.location.pathname
37-
.replace(`/configure-beta`, "")
37+
.replace(`/configure`, "")
3838
.replace(/^\//g, "")}/stac/api.html`,
3939
active: window.mmgisglobal.WITH_STAC === "true",
4040
},
@@ -44,7 +44,7 @@ const apiCards = {
4444
"A modern dynamic tile server built on top of FastAPI and Rasterio/GDAL.",
4545
description: "",
4646
link: `${window.location.pathname
47-
.replace(`/configure-beta`, "")
47+
.replace(`/configure`, "")
4848
.replace(/^\//g, "")}/titiler/api.html`,
4949
active: window.mmgisglobal.WITH_TITILER === "true",
5050
},
@@ -54,7 +54,7 @@ const apiCards = {
5454
"TiTiler-PgSTAC is a TiTiler extension that connects to a PgSTAC database to create dynamic mosaics based on search queries.",
5555
description: "",
5656
link: `${window.location.pathname
57-
.replace(`/configure-beta`, "")
57+
.replace(`/configure`, "")
5858
.replace(/^\//g, "")}/titilerpgstac/api.html`,
5959
active: window.mmgisglobal.WITH_TITILER_PGSTAC === "true",
6060
},
@@ -64,7 +64,7 @@ const apiCards = {
6464
"Simple and Fast Geospatial OGC Features and Tiles API for PostGIS.",
6565
description: "",
6666
link: `${window.location.pathname
67-
.replace(`/configure-beta`, "")
67+
.replace(`/configure`, "")
6868
.replace(/^\//g, "")}/tipg/api.html`,
6969
active: window.mmgisglobal.WITH_TIPG === "true",
7070
},

configure/src/pages/STAC/STAC.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export default function STAC() {
443443
window
444444
.open(
445445
`${window.location.pathname
446-
.replace(`/configure-beta`, "")
446+
.replace(`/configure`, "")
447447
.replace(/^\//g, "")}/stac/collections/${
448448
row.id
449449
}`,
@@ -465,7 +465,7 @@ export default function STAC() {
465465
window
466466
.open(
467467
`${window.location.pathname
468-
.replace(`/configure-beta`, "")
468+
.replace(`/configure`, "")
469469
.replace(/^\//g, "")}/stac/collections/${
470470
row.id
471471
}/items`,

docs/pages/Setup/Installation/Installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ See the [configuration documentation](https://nasa-ammos.github.io/MMGIS/configu
159159
160160
1. Run `npm run build` to bundle up the code (first time or if there are any changes)
161161
162-
1. Go into /configure and run `npm install` followed by `npm run build` to build the beta configuration site.
162+
1. Go into /configure and run `npm install` followed by `npm run build` to build the configuration site.
163163
164164
1. Go back to the root `/` directory
165165

views/configure.pug

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ script(type='text/javascript' src='config/js/websocket.js')
4747
script(type='text/javascript' src='config/pre/RefreshAuth.js')
4848

4949
#leftPanel
50-
#seeBeta
51-
a(target='__blank' href='/configure-beta') Check Out Configure-BETA
50+
#seeBeta(style='background: orangered;')
51+
a(target='__blank' href='/configure') Head back to the main Configure
5252
#tbtitle
5353
//i.logout#config_logout.mdi.mdi-logout.mdi-24px
5454
a.logout#tbmmgis
5555
img(src='public/images/logos/mmgis.png' height='24px' style='position: relative; top: 13px;')
56-
span#tbconfig Configuration
56+
span#tbconfig LEGACY Configuration
5757
a#new_mission.btn.waves-effect.waves-light.col.s12.truncate(style='background-color: rgba(255,255,255,0.12);') New Mission
5858
ul#missions.mmgisScrollbar
5959
a#manage_keys.btn.waves-effect.waves-light.col.s12.truncate(style='background-color: rgba(255,255,255,0.12);') API Tokens

0 commit comments

Comments
 (0)