mirror of https://github.com/doccano/doccano.git
Browse Source
Merge pull request #651 from doccano/bugfix/enable-to-show-error-messages-on-import-labels
Merge pull request #651 from doccano/bugfix/enable-to-show-error-messages-on-import-labels
[Bugfix] enable to show error messages on importing labelspull/653/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 170 additions and 5 deletions
Split View
Diff Options
-
18app/api/tests/data/invalid_labels.json
-
18app/api/tests/data/valid_labels.json
-
47app/api/tests/test_api.py
-
4app/api/urls.py
-
24app/api/views.py
-
4frontend/components/containers/labels/LabelActionMenu.vue
-
39frontend/components/organisms/labels/LabelImportForm.vue
-
4frontend/services/label.service.js
-
17frontend/store/labels.js
@ -0,0 +1,18 @@ |
|||
[ |
|||
{ |
|||
"id": 44, |
|||
"text": "Dog", |
|||
"prefix_key": null, |
|||
"suffix_key": "a", |
|||
"background_color": "#FF0000", |
|||
"text_color": "#ffffff" |
|||
}, |
|||
{ |
|||
"id": 45, |
|||
"text": "Dog", |
|||
"prefix_key": null, |
|||
"suffix_key": "c", |
|||
"background_color": "#FF0000", |
|||
"text_color": "#ffffff" |
|||
} |
|||
] |
@ -0,0 +1,18 @@ |
|||
[ |
|||
{ |
|||
"id": 44, |
|||
"text": "Dog", |
|||
"prefix_key": null, |
|||
"suffix_key": "a", |
|||
"background_color": "#FF0000", |
|||
"text_color": "#ffffff" |
|||
}, |
|||
{ |
|||
"id": 45, |
|||
"text": "Cat", |
|||
"prefix_key": null, |
|||
"suffix_key": "c", |
|||
"background_color": "#FF0000", |
|||
"text_color": "#ffffff" |
|||
} |
|||
] |
Write
Preview
Loading…
Cancel
Save