-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kamu 178 set attachments from UI saving and editing attachments (#114)
* Add manage buttons. * Add ability to save readme.md * Add new component ReadmeSectionComponent. * Updated GraphQL schema. * Integrate new mutation 'updateReadme'. * Moved the finding of the ID to a separate method.
- Loading branch information
1 parent
de8f692
commit feb4044
Showing
45 changed files
with
1,241 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
mutation updateReadme($datasetId: DatasetID!, $content: String!) { | ||
datasets { | ||
byId(datasetId: $datasetId) { | ||
metadata { | ||
updateReadme(content: $content) { | ||
__typename | ||
message | ||
... on CommitResultSuccess { | ||
oldHead | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/app/api/gql/dataset-by-account-and-dataset-name.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
query datasetByAccountAndDatasetName( | ||
$accountName: AccountName! | ||
$datasetName: DatasetName! | ||
) { | ||
datasets { | ||
byOwnerAndName(accountName: $accountName, datasetName: $datasetName) { | ||
...DatasetBasics | ||
} | ||
} | ||
} |
Oops, something went wrong.