You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"As an org-level admin, I can see templates that show me how to format taxonomy data in CSV or JSON format, so I can create and upload custom taxonomies."
Acceptance Criteria
Create templates in both CSV and JSON that demonstrate how to represent hierarchical tag data.
The template files themselves should contain instructions for how to use them.
If a user immediately imported the Template files without making changes, they should import successfully (contain no errors).
This task does not have to involve the backend at all; the templates could be part of the frontend unless there is a good reason to generate them on the backend.
@pomegranited I didn't think about that. It makes sense to keep them on the backend for that reason! As long as there's a relatively simple way to download them from the frontend.
Activity
pomegranited commentedon Oct 3, 2023
@bradenmacdonald
#114 says:
I'm pretty sure it's easy enough to serve these template files from the frontend-app-course-authoring, e.g. like this.
But if we need tests to verify that the templates can always be imported without error, it's easier to store and serve them from the backend.
Which do you prefer?
bradenmacdonald commentedon Oct 4, 2023
@pomegranited I didn't think about that. It makes sense to keep them on the backend for that reason! As long as there's a relatively simple way to download them from the frontend.
pomegranited commentedon Oct 4, 2023
@bradenmacdonald Yep, the frontend can just provide a button/link to the backend's download URL.
I will add that endpoint as part of this ticket too.
bradenmacdonald commentedon Oct 18, 2023
The templates can be seen as
template.csvandtemplate.jsonin https://github.com/openedx/openedx-learning/tree/main/openedx_tagging/core/tagging/import_export - FYI @e0d