Clemens Wolff
|
e56699fe1f
|
Correctly display dataset upload errors
When importing an invalid CSV file that fails data validation, the API
returns the errors wrapped in an array. The current frontend code does
not handle this case and does not display the errors which can be
confusing for users as for example seen in https://github.com/chakki-works/doccano/issues/150.
This change modifies the frontend code to handle error responses wrapped
in an array. The code was tested by uploading the following CSV file:
```
text,label
"","label1"
```
After applying the change, we now correctly render the upload error as
shown in the screenshot below:
[![Screenshot showing dataset upload error response](https://user-images.githubusercontent.com/1086421/56042132-504f3300-5d08-11e9-8ddf-04c8deb2f60b.png)](https://user-images.githubusercontent.com/1086421/56042132-504f3300-5d08-11e9-8ddf-04c8deb2f60b.png)
|
5 years ago |
Hironsan
|
1d2dfdaa3d
|
Fix #140
|
5 years ago |
sudodoki
|
4bfa60185d
|
Fix issue with text import yielding internal server error on StopIteration
|
5 years ago |
Clemens Wolff
|
45f6fc10f1
|
Fix all eslint warnings
|
5 years ago |
Clemens Wolff
|
07d5172b6c
|
Integrate webpack and django
|
5 years ago |
Hironsan
|
49d41416e4
|
Support batch import
|
5 years ago |
Hironsan
|
bf54c6c5f2
|
Divide download/upload template
|
5 years ago |
Hironsan
|
92848809a9
|
Fix frontend for working with backend
|
5 years ago |
Hironsan
|
d77ab70bff
|
Move file handlers from api to utils
|
5 years ago |
Hironsan
|
2a02881edd
|
Change method name
|
5 years ago |
Hironsan
|
c3b0c30355
|
Delete EntityList and EntityDetail api
Because AnnotationList and AnnotationDetail api can do the same thing.
|
5 years ago |
Hironsan
|
eb09eb97d2
|
Support meta data import/export
|
5 years ago |
Hironsan
|
541af14d13
|
Add test case(jsonl without label) to file handler
|
5 years ago |
Hironsan
|
141d1717d6
|
Delete unnecessary models
|
5 years ago |
Hironsan
|
b93578d2b7
|
Implement statistics api
|
5 years ago |
Hironsan
|
7a95aa9705
|
Implement document filter for filtering with/without annotation
filter_fields=('seq_annotations__isnull',) is desirable but it can't.
See more detail:
https://github.com/carltongibson/django-filter/issues/743
|
5 years ago |
Bramble Xu
|
f37fbe4f87
|
#99: correct emoji length calculation
|
5 years ago |
Hironsan
|
14bcb0a703
|
Add downloader to support csv and json format
|
5 years ago |
Hironsan
|
739b1b68c7
|
Add annotation api
|
5 years ago |
Hironsan
|
fa388ac6ec
|
Update project serializer mapping
|
5 years ago |
Hironsan
|
880c179966
|
Allow document serializer to return annotations
|
5 years ago |
Hironsan
|
61a4becc0a
|
Make project model polymorphic
|
5 years ago |
Hironsan
|
5af45811ed
|
Add file uploader to support plain, csv, json and CoNLL format
Corresponding to issue #11
|
5 years ago |
Hironsan
|
f4f55b4b03
|
Add PlainText, CSV, JSONL uploader
|
5 years ago |
Hironsan
|
04e2e55693
|
Add file uploader for CoNLL format
Corresponding to issue #11
|
5 years ago |
Hironsan
|
463129c7e6
|
Add ordering documents by most/least recently updated annotation
Corresponding issue: #20
|
5 years ago |
Hironsan
|
2bc95ceecc
|
Add filter document by label
|
5 years ago |
Hironsan
|
910e628d9f
|
Add document filtering and ordering
Corresponding issue: #20
|
5 years ago |
Hironsan
|
6b8f2a7627
|
Add updated_at and created_at fields to models
For managing data life cycle
|
5 years ago |
Hironsan
|
0e3597130d
|
Support multiple formats
|
5 years ago |
Hironsan
|
1c0411a3ce
|
Add path based versioning
|
5 years ago |
Hironsan
|
ef8f02dc2b
|
Add permission to EntityDetailAPI
To disallow project member to update/delete entities labeled by another member
|
5 years ago |
Hironsan
|
0e3f97154e
|
Add entity api
|
5 years ago |
Hironsan
|
a47b853c7c
|
Add project API
|
5 years ago |
Hironsan
|
1807b87892
|
Refactor api and add test cases
|
5 years ago |
Hironsan
|
654e0c619a
|
Aggregate API tests
|
5 years ago |
Hironsan
|
accbaa83b1
|
WIP
|
5 years ago |
Hironsan
|
a43738a13a
|
Divide project and document models into 3 models
Because of polymorphism
|
5 years ago |
Bramble Xu
|
14e3437722
|
#61: make shortcut optional in front and show simplified shortcut
|
5 years ago |
Bramble Xu
|
9e9c5485fc
|
#61: make shortcut optional in backend and create new test case
|
5 years ago |
Bramble Xu
|
0b11e60ef1
|
#61: fix typo
|
5 years ago |
Clemens Wolff
|
5e73682366
|
Remove auto-generated bundle files
|
5 years ago |
Clemens Wolff
|
821ec0ec87
|
Automate bundle creation
|
5 years ago |
Clemens Wolff
|
ebfa956d3e
|
Re-generate bundle
|
5 years ago |
Clemens Wolff
|
a2378ad8e2
|
Sync current offset state to URL
![Screenshot showing offset state in URL](https://user-images.githubusercontent.com/1086421/51856321-6e0e1e00-22fd-11e9-8420-1204b8a3d3b7.png)
|
5 years ago |
Clemens Wolff
|
e4fd74ec6f
|
Add server-side analytics via AppInsights
|
5 years ago |
Clemens Wolff
|
7f6cce2f6e
|
Add client-side analytics via Azure AppInsights
See https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript
|
5 years ago |
Clemens Wolff
|
5c17ae24b0
|
Make Google Analytics Tracking ID configurable
|
5 years ago |
Clemens Wolff
|
f6de19833e
|
Fix closing of link tag
|
5 years ago |
Clemens Wolff
|
80f386d85a
|
Add Azure Active Directory login
![Login page screenshot](https://user-images.githubusercontent.com/1086421/51774269-b17b4900-20bf-11e9-96d1-09625ffd19e4.png)
|
5 years ago |