Skip to content

Commit ae12856

Browse files
committed
Added version to openapi docs and bottom
of frontend client. Removed Alpha release from README.md.
1 parent aa55a29 commit ae12856

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Clowder V2 (In Development - Alpha Release)
1+
# Clowder V2 (In Active Development)
22

33
*For the previous version of Clowder, please see [Clowder V1](https://github.com/clowder-framework/clowder).*
44

backend/app/main.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
visualization,
4949
thumbnails,
5050
)
51-
5251
# setup loggers
5352
# logging.config.fileConfig('logging.conf', disable_existing_loggers=False)
5453
from app.search.config import indexSettings
@@ -57,7 +56,16 @@
5756
logger = logging.getLogger(__name__)
5857

5958
app = FastAPI(
60-
title=settings.APP_NAME, openapi_url=f"{settings.API_V2_STR}/openapi.json"
59+
title=settings.APP_NAME, openapi_url=f"{settings.API_V2_STR}/openapi.json",
60+
description="A cloud native data management framework to support any research domain. Clowder was "
61+
"developed to help researchers and scientists in data intensive domains manage raw data, complex "
62+
"metadata, and automatic data pipelines. ",
63+
version="2.0.0-beta.1",
64+
contact={"name": "Clowder", "url": "https://clowderframework.org/"},
65+
license_info={
66+
"name": "Apache 2.0",
67+
"url": "https://www.apache.org/licenses/LICENSE-2.0.html",
68+
},
6169
)
6270
BaseConfig.arbitrary_types_allowed = True
6371

frontend/src/components/Layout.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useEffect } from "react";
33
import { styled, useTheme } from "@mui/material/styles";
44
import Box from "@mui/material/Box";
55
import Drawer from "@mui/material/Drawer";
6-
import CssBaseline from "@mui/material/CssBaseline";
76
import MuiAppBar, { AppBarProps as MuiAppBarProps } from "@mui/material/AppBar";
87
import Toolbar from "@mui/material/Toolbar";
98
import List from "@mui/material/List";
@@ -17,7 +16,7 @@ import ListItem from "@mui/material/ListItem";
1716
import ListItemButton from "@mui/material/ListItemButton";
1817
import ListItemIcon from "@mui/material/ListItemIcon";
1918
import ListItemText from "@mui/material/ListItemText";
20-
import { Link, Menu, MenuItem, MenuList } from "@mui/material";
19+
import { Link, Menu, MenuItem, MenuList, Typography } from "@mui/material";
2120
import { Link as RouterLink, useLocation } from "react-router-dom";
2221
import { useSelector } from "react-redux";
2322
import { RootState } from "../types/data";
@@ -136,7 +135,6 @@ export default function PersistentDrawerLeft(props) {
136135
// @ts-ignore
137136
return (
138137
<Box sx={{ display: "flex" }}>
139-
<CssBaseline />
140138
<AppBar position="fixed" open={open}>
141139
<Toolbar>
142140
<IconButton
@@ -327,6 +325,16 @@ export default function PersistentDrawerLeft(props) {
327325
<Main open={open}>
328326
<DrawerHeader />
329327
{children}
328+
<Box
329+
sx={{
330+
position: "fixed",
331+
bottom: "0px",
332+
minHeight: "30px",
333+
width: "100%",
334+
}}
335+
>
336+
<Typography variant="body2">v2.0.0-beta.1</Typography>
337+
</Box>
330338
</Main>
331339
</Box>
332340
);

0 commit comments

Comments
 (0)