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

[Tagging] Create Taxonomy Templates #137

Closed
bradenmacdonald opened this issue Sep 27, 2023 · 4 comments · Fixed by openedx/openedx-learning#89 or openedx/edx-platform#33464
Closed

Comments

@bradenmacdonald
Copy link
Contributor

"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

  1. Create templates in both CSV and JSON that demonstrate how to represent hierarchical tag data.
  2. The template files themselves should contain instructions for how to use them.
  3. If a user immediately imported the Template files without making changes, they should import successfully (contain no errors).

Later, these templates will be used for #114.

@pomegranited
Copy link

@bradenmacdonald

#114 says:

  • 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.

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
Copy link
Contributor Author

@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
Copy link

@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
Copy link
Contributor Author

The templates can be seen as template.csv and template.json in https://github.com/openedx/openedx-learning/tree/main/openedx_tagging/core/tagging/import_export - FYI @e0d

@pomegranited pomegranited removed their assignment Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
2 participants