Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 2.0.1. #1560

Merged
merged 57 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
b36fb8c
Change main menu, header and footer.
ewelinagr Jun 3, 2024
5edf96f
Add app styling improvements.
ewelinagr Jun 4, 2024
5d2bedd
Add UI styling improvements.
ewelinagr Jun 5, 2024
28b3034
Adjust paddings and text color.
ewelinagr Jun 7, 2024
5318572
Fix frontend tests.
ewelinagr Jun 17, 2024
1cc4711
Update new UI - resolve PR comments
ewelinagr Jul 17, 2024
4d81cb8
Update collectins page stylin (new UI).
ewelinagr Jul 18, 2024
9457715
Resolve PR comment related to the new UI.
ewelinagr Jul 19, 2024
9948331
Bump version to 2.0.0.
ewelinagr Jul 19, 2024
ac0fa33
Add new dashboard styling.
ewelinagr Jun 13, 2024
f0d635c
Add new dashboard styling.
ewelinagr Jul 22, 2024
a3937a3
Improve styling
ewelinagr Jul 23, 2024
824ae93
Merge branch 'dev' into ui-redesign
ewelinagr Jul 23, 2024
f4f471e
Merge pull request #1529 from thehyve/ui-redesign
ewelinagr Jul 24, 2024
bd37012
Fix right panel height.
ewelinagr Jul 26, 2024
972467a
Merge pull request #1542 from thehyve/ui_2_0-improvements
ewelinagr Jul 30, 2024
f88b2b5
Fix user table text overflow.
ewelinagr Jul 30, 2024
3f2cbf4
Add date selection improvements.
ewelinagr Jul 30, 2024
383a3c2
Fix user permission table padding.
ewelinagr Jul 31, 2024
6309ea2
Add tabs font size adjustment.
ewelinagr Jul 31, 2024
dda15c7
FAIRSPC-107 - fix metadata redirection link.
ewelinagr Jul 31, 2024
7e696d2
Merge pull request #1544 from thehyve/ui_2_0-improvements
ewelinagr Aug 1, 2024
176dbd0
Bump VERSION to 2.0.1.
ewelinagr Aug 1, 2024
f19fb59
Fix setting default value of mvRefreshOnStartRequired.
ewelinagr Aug 1, 2024
d70af79
Merge pull request #1545 from thehyve/fix-default-mv-refresh-param
ewelinagr Aug 1, 2024
5d5a548
FAIRSPC-104 - Fix worskpace description edition
ewelinagr Aug 5, 2024
4b455e8
FAIRSPC-108: initial commit with updated API for views meta info
tgreenwood Aug 6, 2024
27753b1
Add display count limit handling to the pagination component.
ewelinagr Aug 7, 2024
1b3746e
Merge pull request #1546 from thehyve/FAIRSPC-104_workspace-editor
ewelinagr Aug 7, 2024
57fca80
FAIRSPC-108: added implementation for Postgres
tgreenwood Aug 7, 2024
7639fbf
Fix metadata view table pagination next page on limit, add tests.
ewelinagr Aug 8, 2024
37df834
FAIRSPC-108: made the max display count settings flat
tgreenwood Aug 8, 2024
0d25ea2
Update views request response format on the UI side.
ewelinagr Aug 8, 2024
992105d
FAIRSPC-108: added improvement for count SPARQL
tgreenwood Aug 8, 2024
05c103c
Implement UI 2.0 feedback.
ewelinagr Aug 8, 2024
092fbb4
FAIRSPC-108: added tests covering cases of max display count value
tgreenwood Aug 8, 2024
eaba481
Fix metadata table header.
ewelinagr Aug 9, 2024
01d68e8
FAIRSPC-108: code review comments fixes
tgreenwood Aug 9, 2024
d2c8375
FAIRSPC-108: code review comments fixes
tgreenwood Aug 9, 2024
d2fdb00
FAIRSPC-108: updated readme for count endpoint
tgreenwood Aug 12, 2024
0b6be79
Merge pull request #1547 from thehyve/FAIRSPC-108_metadata_page_count
tgreenwood Aug 12, 2024
a125c0a
Fix rendering "from" and "to" pagination item on metadata page.
ewelinagr Aug 14, 2024
cda0534
Merge pull request #1551 from thehyve/fix-pagination-with-limit
ewelinagr Aug 15, 2024
952178a
Merge pull request #1548 from thehyve/ui-improvements
ewelinagr Aug 21, 2024
f34fe5e
Improve resizing of metadata buttons on dashboard.
ewelinagr Aug 22, 2024
5008677
Fix issues with workspace page editing.
ewelinagr Aug 23, 2024
2e7588c
Fix vulnerabilities in node packages.
ewelinagr Aug 27, 2024
a2496ef
Fix file /api/search endpoint when collections not configured as a po…
ewelinagr Aug 30, 2024
db5987f
Merge pull request #1553 from thehyve/vulnerabilities
ewelinagr Sep 2, 2024
e709d49
Do views update on metadata patch by default.
ewelinagr Aug 30, 2024
af01c83
Merge pull request #1555 from thehyve/do-views-update-default
ewelinagr Sep 2, 2024
dc10bbf
Merge pull request #1552 from thehyve/ui-improvement
ewelinagr Sep 3, 2024
350a5d8
Merge pull request #1554 from thehyve/fix-files-api
ewelinagr Sep 4, 2024
4941cf7
Update application screenshots.
ewelinagr Sep 5, 2024
f2e990a
Prepare release 2.0.1.
ewelinagr Sep 5, 2024
a5b14dd
Merge pull request #1558 from thehyve/documentation-screenshots
ewelinagr Sep 5, 2024
9b4877c
Merge pull request #1559 from thehyve/prep_2.0.1
ewelinagr Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ curl -X POST -H 'Content-type: application/json' -H 'Accept: application/json' -
|===
3+| ``POST /api/views/count``

3+| Count rows of a view matching request filters.
3+| Count rows of a view matching request filters. If `maxDisplayCount` configured in the `views.yaml` for a view, then the count for the view is limited by this value if total count exceeds it. Otherwise, the total count is returned.
3+| _Parameters:_
| ``view``
| string
Expand Down Expand Up @@ -2685,7 +2685,7 @@ Create DNS records for the ``keycloak.example.com``, ``fairspace.example.com`` a
# List available fairspace chart versions
~/bin/helm/helm search repo --versions fairspace/fairspace
# Fetch the fairspace chart
~/bin/helm/helm pull fairspace/fairspace --version 1.0.1
~/bin/helm/helm pull fairspace/fairspace --version 2.0.1
----

===== Deploy Keycloak
Expand Down Expand Up @@ -2773,7 +2773,7 @@ Create a new deployment (called _release_ in helm terminology) and
install the Fairspace chart:
[source, shell]
----
~/bin/helm/helm install fairspace-new fairspace/fairspace --version 1.0.1 --namespace fairspace-new \
~/bin/helm/helm install fairspace-new fairspace/fairspace --version 2.0.1 --namespace fairspace-new \
-f /path/to/values.yaml --set-file saturn.vocabulary=/path/to/vocabulary.ttl --set-file saturn.views=/path/to/views.yaml
----
You can pass values files with ``-f`` and provide a file for a specified
Expand Down Expand Up @@ -2870,7 +2870,7 @@ Additionally, to include custom icons for `fairspace.icons` option, you need to

[source, shell]
----
~/bin/helm/helm install fairspace-new fairspace/fairspace --version 1.0.1 --namespace fairspace-new \
~/bin/helm/helm install fairspace-new fairspace/fairspace --version 2.0.1 --namespace fairspace-new \
-f /path/to/values.yaml --set-file saturn.vocabulary=/path/to/vocabulary.ttl --set-file saturn.views=/path/to/views.yaml --set-file svgicons.extra-icon=/path/to/extra-icon.svg
----

Expand Down Expand Up @@ -2926,7 +2926,7 @@ jupyterhub:
To update a deployment using a new chart:
[source, shell]
----
~/bin/helm/helm upgrade fairspace-new fairspace-1.0.1.tgz
~/bin/helm/helm upgrade fairspace-new fairspace-2.0.1.tgz
----
With ``helm upgrade`` you can also pass new values files with ``-f``
and pass files with ``--set-file`` as for ``helm install``.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
2.0.1
2 changes: 1 addition & 1 deletion charts/fairspace/templates/project/configmap-saturn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data:
blobStorePath: "/data/saturn/files/blobs"
viewDatabase:
enabled: true
mvRefreshOnStartRequired: {{ default true .Values.saturn.mvRefreshOnStartRequired }}
mvRefreshOnStartRequired: {{ .Values.saturn.mvRefreshOnStartRequired }}
features:
{{ toYaml .Values.fairspace.features | indent 6 }}
{{ if has "ExtraStorage" .Values.fairspace.features }}
Expand Down
1 change: 1 addition & 0 deletions charts/fairspace/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ saturn:
enableBasicAuth: true
defaultUserRoles:
- canViewPublicMetadata
mvRefreshOnStartRequired: true
persistence:
files:
## A manually managed Persistent Volume and Claim
Expand Down
Binary file modified docs/images/screenshots/Collection browser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/screenshots/Keycloak login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/screenshots/Metadata form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/screenshots/Metadata view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/screenshots/Workspace list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/screenshots/Workspace overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions projects/mercury/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@mui/x-date-pickers": "^5.0.11",
"@testing-library/react-hooks": "^8.0.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"axios": "^1.6.7",
"axios": "^1.7.5",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"cors": "^2.8.5",
Expand Down Expand Up @@ -60,7 +60,7 @@
"text-table": "^0.2.0",
"typeface-roboto": "^1.1.13",
"use-deep-compare-effect": "^1.3.0",
"webdav": "^4.0.0"
"webdav": "^4.11.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified projects/mercury/public/public/images/logo_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
178 changes: 172 additions & 6 deletions projects/mercury/src/App.theme.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,90 @@
import {createTheme} from '@mui/material';
import {blue, indigo, pink} from '@mui/material/colors';
import {pink} from '@mui/material/colors';

export default createTheme({
export const COLORS = {
fsBlueLight: 'rgba(106,134,232,1)',
fsBlueLightTransp25: 'rgba(106,134,232,0.25)',
fsBlueMedium: 'rgba(63,102,177,1)',
fsBlueDark: 'rgba(7, 59, 82, 1)'
};

const globalTheme = createTheme({
palette: {
primary: process.env.NODE_ENV === 'development' ? blue : indigo,
secondary: pink
primary: {
main: COLORS.fsBlueMedium,
light: COLORS.fsBlueLight,
dark: COLORS.fsBlueDark,
contrastText: 'white'
},
secondary: {
main: '#ffdb56',
contrastText: 'black'
},
error: pink,
success: {
main: '#08a045'
},
background: {
default: '#ECEDF0'
},
text: {
primary: COLORS.fsBlueDark,
secondary: COLORS.fsBlueMedium
},
mellow: {
light: '#cfd8dc',
main: '#b0bec5',
dark: '#37474f',
contrastText: '#47008F'
}
},
shape: {
borderRadius: 15
}
});

export const scrollbarStyles = {
'&::-webkit-scrollbar': {
width: '0.5em',
height: '0.5em'
},
'&::-webkit-scrollbar-track': {
boxShadow: 'inset 0 0 6px rgba(0,0,0,0.00)',
webkitBoxShadow: 'inset 0 0 6px rgba(0,0,0,0.00)',
margin: 2
},
'&::-webkit-scrollbar-thumb': {
backgroundColor: globalTheme.palette.mellow.light,
borderRadius: 5,
margin: 1
},
'&::-webkit-scrollbar-thumb:hover': {
backgroundColor: globalTheme.palette.mellow.main
}
};

export default createTheme({
...globalTheme,
typography: {
fontFamily: 'Poppins',
fontSize: 13,
button: {
textTransform: 'none'
},
h3: {
fontSize: '1.4rem',
fontWeight: 600
},
h4: {
fontSize: '1.3rem',
fontWeight: 600
},
h5: {
fontSize: '1rem'
},
body2: {
fontSize: '0.8rem'
}
},
components: {
MuiMenu: {
Expand All @@ -26,7 +106,8 @@ export default createTheme({
MuiDivider: {
styleOverrides: {
root: {
margin: 0
margin: 0,
borderColor: globalTheme.palette.mellow.main
},
margin: 0
}
Expand Down Expand Up @@ -88,12 +169,51 @@ export default createTheme({
}
}
},
MuiButton: {
styleOverrides: {
root: {
background: globalTheme.palette.primary.dark,
'&:hover': {
background: globalTheme.palette.primary.light
},
'&:disabled': {
opacity: 0.4,
color: globalTheme.palette.primary.contrastText,
background: globalTheme.palette.mellow.main
},
borderRadius: globalTheme.shape.borderRadius,
borderColor: globalTheme.palette.primary.light,
paddingBottom: 0,
paddingTop: 0,
minHeight: 35
},
text: {
color: globalTheme.palette.primary.contrastText
}
}
},
MuiCardHeader: {
styleOverrides: {
root: {
backgroundColor: 'whitesmoke',
backgroundColor: globalTheme.palette.primary.main,
marginBottom: 0,
padding: 5
},
title: {
color: globalTheme.palette.primary.contrastText
},
avatar: {
color: globalTheme.palette.primary.contrastText
},
subheader: {
color: globalTheme.palette.primary.contrastText
}
}
},
MuiCardContent: {
styleOverrides: {
root: {
borderRadius: globalTheme.shape.borderRadius
}
}
},
Expand All @@ -117,6 +237,52 @@ export default createTheme({
}
}
}
},
MuiPaper: {
styleOverrides: {
root: {
backgroundColor: globalTheme.palette.background.default,
border: '1px solid',
borderColor: globalTheme.palette.primary.dark,
...scrollbarStyles
}
}
},
MuiGrid: {
styleOverrides: {
root: {
...scrollbarStyles
}
}
},
MuiTableContainer: {
styleOverrides: {
root: {
...scrollbarStyles
}
}
},
MuiTablePagination: {
styleOverrides: {
root: {
...scrollbarStyles
}
}
},
MuiTableCell: {
styleOverrides: {
root: {
borderBottom: '1px solid',
borderColor: globalTheme.palette.mellow.main
}
}
},
MuiTab: {
styleOverrides: {
root: {
fontSize: 15
}
}
}
}
});
22 changes: 19 additions & 3 deletions projects/mercury/src/collections/CollectionDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
Card,
CardContent,
CardHeader,
Divider,
FormControl,
FormGroup,
FormLabel,
Expand All @@ -18,6 +19,7 @@ import {
} from '@mui/material';
import {CloudDownload, Folder, MoreVert} from '@mui/icons-material';
import {useHistory, withRouter} from 'react-router-dom';
import withStyles from '@mui/styles/withStyles';

import CollectionEditor from './CollectionEditor';
import type {Collection, Resource, Status} from './CollectionAPI';
Expand Down Expand Up @@ -75,6 +77,14 @@ type CollectionDetailsState = {
anchorEl: any
};

const styles = theme => ({
card: {
'& .MuiCardHeader-root .MuiSvgIcon-root': {
color: theme.palette.primary.contrastText
}
}
});

class CollectionDetails extends React.Component<CollectionDetailsProps, CollectionDetailsState> {
static defaultProps = {
onChangeOwner: () => {},
Expand Down Expand Up @@ -265,6 +275,7 @@ class CollectionDetails extends React.Component<CollectionDetailsProps, Collecti

renderDeleted = (dateDeleted: string, deletedBy: User) =>
dateDeleted && [
<Divider component="li" />,
<ListItem key="dateDeleted" disableGutters>
<FormControl>
<FormLabel>Deleted</FormLabel>
Expand All @@ -273,6 +284,7 @@ class CollectionDetails extends React.Component<CollectionDetailsProps, Collecti
</FormGroup>
</FormControl>
</ListItem>,
<Divider component="li" />,
<ListItem key="deletedBy" disableGutters>
<FormControl>
<FormLabel>Deleted by</FormLabel>
Expand Down Expand Up @@ -351,7 +363,7 @@ class CollectionDetails extends React.Component<CollectionDetailsProps, Collecti

return (
<>
<Card>
<Card className={this.props.classes.card}>
<CardHeader
action={
menuItems &&
Expand All @@ -363,6 +375,7 @@ class CollectionDetails extends React.Component<CollectionDetailsProps, Collecti
aria-owns={anchorEl ? 'long-menu' : undefined}
aria-haspopup="true"
onClick={this.handleMenuClick}
styles={{color: 'white'}}
>
<MoreVert />
</IconButton>
Expand All @@ -388,7 +401,10 @@ class CollectionDetails extends React.Component<CollectionDetailsProps, Collecti
{collection.description}
</Typography>
<List>
<ListItem disableGutters>{this.renderCollectionOwner(ownerWorkspace)}</ListItem>
<ListItem disableGutters divider>
{this.renderCollectionOwner(ownerWorkspace)}
</ListItem>
<Divider component="li" />
<ListItem disableGutters>{this.renderCollectionStatus()}</ListItem>
{this.renderDeleted(collection.dateDeleted, deletedBy)}
</List>
Expand Down Expand Up @@ -540,4 +556,4 @@ const ContextualCollectionDetails = props => {
);
};

export default withRouter(ContextualCollectionDetails);
export default withRouter(withStyles(styles)(ContextualCollectionDetails));
2 changes: 1 addition & 1 deletion projects/mercury/src/collections/CollectionEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const formatPrefix = (prefix: string) => (prefix ? `[${prefix.replace(/[/

const styles = theme => ({
textHelperBasic: {
color: theme.palette.grey['600']
color: theme.palette.mellow.main
},
textHelperWarning: {
color: theme.palette.warning.dark
Expand Down
Loading
Loading