Manage Dataset Templates Integration #908
Conversation
|
Hi @jp-tosca , it's ready for QA now, and all checks are passing |
|
@jggautier We had a brief meeting about this PR and would appreciate your thoughts. |
Heya @jp-tosca. Phil asked if I wanted to join a Zoom meeting today about templates, but it sounds like the meeting was over before I replied. What about the PR should I check out? |
|
Ah thanks for letting me know on Slack that this is what JP was referring to. I haven't been watching this PR closely and I'm not really familiar with how or how well templates have been working for users of the JSF version of Dataverse, so I have more questions than suggestions 😅 But it looks we're considering changes related to how people creating and editing templates are made aware of what fields are required and when. Is that right? |
|
Done with this @ChengShi-1 please open the issue if you have not done so yet for the follow-up about the required fields. |

What this PR does / why we need it
We have api and use cases for get/create/delete template, we are able to integrate things related to these use cases.
Collection page -> Edit button -> Dataset Templates
Which issue(s) this PR closes:
Special notes for your reviewer:
Suggestions on how to test this:
Test Template use in dataset
Empty State

Create Dataset Template

After creating it successfully, it's supposed to jump to

Edit Termspage, but because of a lack of API now, we cannot edit terms here, but I have a mock page here.Manage Templates ( you could sort the list by name, date and usage, if you click the table's headers)

PS, make a default, edit templates are not implemented
When you click the "eye"(view) icon, there is a modal of Dataset Template Preview

When you click the Delete icon, there is a modal of Delete Template

When you click copy, it should give you a copy template and refresh the table automatically so you could see it soon.
Create a nested collection inside Root collection, you will have a Edit permission to current collection, and only view permission to root collection's templates.

Is there a release notes or changelog update needed for this change?:
Yes
Additional documentation:
Related PR for editing template #954