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

Private Datasets, "Create a new dataset" page: Unlock dataset visibility selection #411

Open
Tracked by #172
s373r opened this issue Sep 3, 2024 · 0 comments · May be fixed by #414
Open
Tracked by #172

Private Datasets, "Create a new dataset" page: Unlock dataset visibility selection #411

s373r opened this issue Sep 3, 2024 · 0 comments · May be fixed by #414
Assignees

Comments

@s373r
Copy link
Member

s373r commented Sep 3, 2024

At the moment, we have the radio button group disabled on the new dataset creation page.

The purpose of this ticket is to activate these controls and then use them.

Details

Added datasetVisibility parameter to the GQL methods DatasetsMut::createEmpty() and DatasetsMut::createFromSnapshot():

enum DatasetVisibility {
	PRIVATE
	PUBLIC
}

...

type DatasetsMut {
	...

	"""
	Creates a new empty dataset
	"""
	createEmpty(
		datasetKind: DatasetKind!,
		datasetAlias: DatasetAlias!, 
+		datasetPubliclyAvailable: Boolean
	): CreateDatasetResult!

	"""
	Creates a new dataset from provided DatasetSnapshot manifest
	"""
	createFromSnapshot(
		snapshot: String!,
		snapshotFormat: MetadataManifestFormat!
+		datasetPubliclyAvailable: Boolean
	): CreateDatasetFromSnapshotResult!

	...
}
@s373r s373r changed the title Private Dataset, "Create a new dataset" page: Unlock dataset visibility selection Private Datasets, "Create a new dataset" page: Unlock dataset visibility selection Sep 3, 2024
@dmitriy-borzenko dmitriy-borzenko self-assigned this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants