-
Notifications
You must be signed in to change notification settings - Fork 1
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
User should define names, descriptions and colours of uncertainty categories #32
Comments
I've created branch, added model for taxonomy, and fields in file upload modal in this commit: |
in c6b928b endpoint to retrieve TEI schema is added under GET /api/projects/<project_id>/taxonomy/ |
Should this be extended to a new issue for the use case of defining different names and color schemes for entities? |
@Janchorizo I see that you added some js code for colours and certanity categories handeling. Could you tell me how you want the data regarding that passed from backend? Some sample json would be nice. |
Hello. I am currently working on making the annotator work with an arbitrary amount of entities
In summary, I think we can provide the settings in the view to speed up loading, and avoid changes in the UI and modification of the global settings until we are sure about the best way to approach it. |
Merge Feature/project creation styling. Closes #32
When project is created a user should have possibility to change names, descriptions and colors for user recognized uncertainties. The default values for names and descriptions are in the following template TEI file with default taxonomy:
When user define these values for a project, then colors should be stored in the database, and names and descriptions in the generated TEI file with a taxonomy for this project. Identifiers for categories should be generated form names by applying lowercase method and replacing whitespaces with a dash.
After defining these values, only colors should be changable in Project Settings View.
The genareted TEI file should be exposed in some URL in a scope of the project in order to
ana
attribute could refer to the nodes of this XML. It's connected with the task #11.There is a need for API that returns the names and colors of all uncertainty categories, for instance in order to the annotator could properly handle them.
The text was updated successfully, but these errors were encountered: