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

Support tagging to distinguish multiple projects #1044

Closed
keaxu-exp opened this issue Nov 14, 2020 · 1 comment
Closed

Support tagging to distinguish multiple projects #1044

keaxu-exp opened this issue Nov 14, 2020 · 1 comment
Labels
feature request feature request for doccano good first issue Good for newcomers

Comments

@keaxu-exp
Copy link

keaxu-exp commented Nov 14, 2020

Hi,

As title described. I think this feature will be helpful when:

  • managing projects programmatically
  • integrating doccano with other jobs/services.

Here are my thoughts:

UI:
Screen Shot 2020-11-13 at 5 00 04 PM

DB Models:
add one more table api_tag, with following columns:

id (PK)
text
created_at
project_id (FK)
text_color
background_color

APIs:
GET /projects/{project_id}/tags

response body may look like:

[
  {
    "id": 1,
    "text": "In Progress"
  },
  {
    "id": 2,
    "text": "Completed"
  }
]

POST /projects/{project_id}/tags
GET /projects/{project_id}/tags/{tag_id}
PUT /projects/{project_id}/tags/{tag_id}
PATCH /projects/{project_id}/tags/{tag_id}
DELETE /projects/{project_id}/tags/{tag_id}

Usecases & Scenarios:

We want to integrate doccano with our interval jobs/services. As providing an automated platform, we want annotators explicitly mark a project as 'completed', so that certain downstream jobs can be triggered.

As we serving doccano for multiple internal teams, we also want to attach business-related information to the project, like model names, stakeholder teams, etc.

@Hironsan Hironsan added feature request feature request for doccano good first issue Good for newcomers labels Nov 16, 2020
@icoxfog417 icoxfog417 changed the title Support Tagging Project Support tagging to distinguish multiple projects Nov 18, 2020
@Hironsan
Copy link
Member

Solved #1301.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request for doccano good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants