CentreForDigitalHumanities / CentreForDigitalHumanities/Textcavator
Corpus categories in JSON schema
Open
backend
code quality
corpus-form
frontend
- Dominant language
- Python
- Stars
- 12
- Forks
- 3
- Avg merge
- 3d 3m
- Merged PRs (30d)
- 9
Description
To show options for corpus categories, the corpus form in the frontend currently hard-codes the categories. To maintain a single source of truth, the categories should be fetched from the backend.
Suggestion:
- Add the options for categories in the corpus JSON schema (instead of typing this fields as any string)
- Add API endpoint for the JSON schema #1737
- Adjust the form logic to get the options from the schema endpoint
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.