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

Show only project users in Data Storage edit dialog #977

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

jshholland
Copy link
Contributor

No description provided.

@jshholland jshholland force-pushed the ed-95-storage-project-users branch from 9a027ef to 36f1066 Compare June 20, 2024 13:32
@jshholland jshholland force-pushed the ed-95-storage-project-users branch from 36f1066 to 51b21a0 Compare June 20, 2024 16:05
@jshholland jshholland marked this pull request as ready for review June 20, 2024 16:11
Copy link
Contributor

@iwalmsley iwalmsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really good thanks!

There used to be legacy actions whereby calls were instantly made to add/remove users as you interacted with this form - but that was changed to on apply - we can probably strip out a bunch more code and endpoints as a result e.g - https://github.com/NERC-CEH/datalab/blob/master/code/workspaces/web-app/src/actions/dataStorageActions.js#L38.

@@ -1,96 +1,36 @@
import React, { Component } from 'react';
import React, { useEffect, useMemo } from 'react';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hadn't seen this before - really nice!

@iwalmsley iwalmsley merged commit 93322ac into master Jun 21, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants