Граф коммитов

537 Коммитов

Автор SHA1 Сообщение Дата
Buddha Wang 39749bc761
Update table visualization results for indicating header. (#927)
* Update table visualization results for indicating header.

* Set header for prebuilt invoice line items.

* Update test cases.
2021-05-10 13:06:00 +08:00
Buddha Wang 9c31690983
Update invalid SAS message with action item. (#926) 2021-05-10 10:58:47 +08:00
alegarro dbb8f93da7
Update es-cl.ts (#923)
New spanish translations and fix some spanish translations
2021-05-07 16:04:56 +08:00
Buddha Wang ac3cbf11ad
Fix table visualization issue caused by colSpan. (#924) 2021-05-04 14:47:58 +08:00
Buddha Wang 259e250073
Update third party notice. (#922) 2021-05-03 15:31:40 +08:00
Buddha Wang 77643b5342
Check and remove invalid label type when necessary. (#921)
* Check and remove invalid label type when necessary.

* Fix lint warning.
2021-05-03 15:24:04 +08:00
Buddha Wang 1f7a305d95
Notify user when project creation failed. (#920)
* Notify user when project creation failed.

* Fallback to generic request error message.
2021-05-02 11:12:38 +08:00
Buddha Wang fff193251d
Fix assign drawn region via hotkey cause app crash (#919) 2021-04-29 12:34:00 +08:00
Buddha Wang 82d4ad2ddc
Upgrade app version and api version. (#918) 2021-04-29 11:48:47 +08:00
Buddha Wang 53035399b1
Fix exception caused by empty table prediction. (#915) 2021-04-13 12:03:32 +08:00
Buddha Wang 76e3c12358
Support field type "selectionMark" in prediction results. (#914)
* Support type selectionMark in prediction result

* Refine to support new field types in the future.

* Fix lint warning.
2021-04-12 15:23:16 +08:00
Buddha Wang cf37670518
Extract draw region check function and add v2.1 (#913) 2021-04-12 11:51:57 +08:00
Buddha Wang 8616bd5941
Add API version v2.1 (#912)
* Add v2.1

* Set default version back to v2.1-preview.3.

Co-authored-by: Xinxing Liu <xinxl@microsoft.com>
2021-04-09 14:02:02 +08:00
SimoTw ffeb09de1d
Non-blocking save asset metadata. (#910)
* Non-blocking save asset metadata.

* Implement queue map.

* Add withQueueMap decorator.
2021-04-09 11:56:47 +08:00
SimoTw 592e84496e
Add use cases for table label, prebuilt, upgrade schema. (#883)
* Add case table label, prebuilt, upgrade schema.

* Refactor and add new feature scenarios.

* Add whitespace.

* Add update tag color and compose api cases.

* Add update tag color by open cloud project.

* Remove outdated scenario.

Co-authored-by: Buddha Wang <shihw@microsoft.com>
2021-04-09 11:45:52 +08:00
SimoTw 99b589201d
Change sequential requests to parallel. (#909)
Parallel get label.json files.

Atomic update tagCount.
2021-03-30 14:59:28 +08:00
SimoTw e445dccfcb
Fix tag color error with backward compatibility. (#908)
* Get next color from method instead of index.

* Improve getNextColor performance.

* Add method to fill tag color.

* Refactor and implement getNextColor.

* Refactor.

* Support shared token.
2021-03-25 20:00:40 +08:00
SimoTw 7e9f700876
Change empty query handler and init url state. (#904) 2021-03-22 15:46:56 +08:00
SimoTw 7c2daa8a82
Fix button remains disabled even if with supported file type. (#902)
* Set success file load result with default value.
2021-03-19 10:06:04 +08:00
SimoTw 8439699e34
Change array type ChevronRight display. (#901) 2021-03-18 17:00:32 +08:00
Atsushi Yokohama 92e3354bc5
Adding Japanese README (#898)
* Adding Japanese README

* Update README.ja-jp.md

Fix typo.

* Adding to translate the headings

* Fix typo.
2021-03-18 14:31:42 +08:00
SimoTw 871fa13f8f
Fix regional labeling for selection mark is not allowed bug. (#900)
* Allow to assign "draw region" to  "selectionMalk".
2021-03-17 17:52:14 +08:00
SimoTw e0d99d220d
Fix layout error for page range. (#897) 2021-03-12 15:36:55 +08:00
Buddha Wang b9a887ea0d
Change includeTextDetails back to true. (#896) 2021-03-12 14:41:22 +08:00
Buddha Wang 5959cae3bd
Fix issue when first predicted row is null. (#895) 2021-03-12 14:26:32 +08:00
Buddha Wang 3c2b4a450c
Show meaningful response error message. (#894) 2021-03-12 12:34:23 +08:00
Buddha Wang 6426c6cdd8
Fix mis-rendering non-table field as table, and update column order. (#893)
* Fixed table order

* Fix considering non-table field as table.

* Fix syntax warning.

Co-authored-by: simotw <simohsiehtw@gmail.com>
2021-03-11 18:30:53 +08:00
SimoTw a40da3774e
Add document link for configuring table tag. (#892)
* add link.

* Change styling.
2021-03-11 18:14:59 +08:00
Buddha Wang 39d858c578
Fix the way of determine region labeling suppots. (#891) 2021-03-10 18:20:37 +08:00
Buddha Wang c4589c0045
Fix mis-configured init value of securityTokens. (#890) 2021-03-10 18:01:59 +08:00
SimoTw 19e00bff6d
Support table line item in the prebuilt page. (#889)
* Extract regional table.

* Support tootip in tableView component.

* Support table item in prebuilt page.

* update comment.

* Fix lint error.

* Fix lint error.

* Remove console.log and tune style a bit.

Co-authored-by: Buddha Wang <scwang0103@gmail.com>
2021-03-10 12:57:33 +08:00
Buddha Wang 60dcc3b57f
Update CORS warning message with workaround. (#887) 2021-03-09 17:53:28 +08:00
Buddha Wang 67e19038fd
Migrate from localStorage to indexed DB. (#886)
* Replace localstorage with WebStorageManager. (#882)

* Use singleton and merge data from localStorage.

* Add toast for displaying error messages.

* Fix build error.

* Fix typescript warning.

Co-authored-by: SimoTw <36868079+SimoTw@users.noreply.github.com>
2021-03-09 16:39:49 +08:00
Buddha Wang 1b48fd220b
Check & update fields.json when project loaded. (#885) 2021-03-08 19:32:32 +08:00
Buddha Wang 3924afed5c
Fix linter warning. (#884) 2021-03-08 12:12:27 +08:00
Buddha Wang 2cbf98b8a9
Fix cost warning UI miss-aligned. (#881) 2021-03-04 17:52:59 +08:00
SimoTw c9d57962d5
Update label files while project is loaded. (#880)
* Match supported schema versions.

* Read $schema from file system into state asset.

* Check and update schema state and write to storage file system. 

* Write updated state to file system.
2021-03-04 10:58:49 +08:00
SimoTw 83e49abd0c
Update fieldinfo schema uri. (#879) 2021-02-24 16:28:36 +08:00
SimoTw 87dce31a65
Add default path params handler for the compilepath util function. (#877)
* Add default path params handler for the compilepath util function.

* Improve readability.

* Improve coding style.
2021-02-24 11:45:58 +08:00
SimoTw 6a5706e37a
Move the version of schemas to 2021-03-01. (#876) 2021-02-24 10:42:10 +08:00
SimoTw 59bcbe7fae
Add configurable setting to dismiss error messages caused by applying multi-page fields. (#875)
* Add enableMultiPageField config.

* Change default value to false and code style.

Co-authored-by: Buddha Wang <shihw@microsoft.com>
2021-02-22 18:02:59 +08:00
SimoTw 8e9ee0b722
Add cost warning message. (#874)
* Hide predict mode toggle in prod env.

* Add cost warning message.

* Fix no new line error.

Co-authored-by: Simo Hsieh (ManpowerGroup Taiwan) <a-simohsieh@microsoft.com>
2021-02-22 10:39:42 +08:00
SimoTw 9b084f65cf
Change default API version to v2.1-preview3. (#872)
* Hide predict mode toggle in prod env.

* Change default api version to v2.1-preview.3

Co-authored-by: Simo Hsieh (ManpowerGroup Taiwan) <a-simohsieh@microsoft.com>
2021-02-18 14:08:28 +08:00
SimoTw 248bb132bd
Support non-fixed version and form types in the prebuilt page. (#869)
* Add URIUtils and support non-fixed version and prebuilt types in the composed api request field.

* Add an EOF new line to the utils.

* Hide predict mode toggle in prod env.

* Refine coding style.

* refind coding style

Co-authored-by: Buddha Wang <shihw@microsoft.com>
2021-02-09 21:22:24 +08:00
SimoTw 35002d3184
Hide the upload predict result toggle in the production environment. (#871)
* Hide predict mode toggle in prod env.

* Hide predict mode toggle in prod env.

* Use enablePredictionFileSelection in the apiconfig.json file to decide whether display the prediction file toggler or not.

* Replace "enablePredictionFileSelection" with "enablePredictionResultUpload" and change the default value
2021-02-09 11:04:39 +08:00
SimoTw dabee73cce
Support displaying the phone number type prediction. (#870) 2021-02-08 17:25:58 +08:00
Buddha Wang 8aa54d8c74
Support new value type: country. (#868) 2021-02-05 12:37:38 +08:00
SimoTw fd5f62b176
fix disable analysis result while loaded prediction result (#866)
* set fileload state after loaded json file

* remove console

* refactor getPredictDisabled
2021-02-04 12:11:36 +08:00
SimoTw afd694f458
Use HTMLFileReader in prebuilt page (#865)
* use HTMLfilereader

* fix lint error

* add error handling
2021-02-04 10:21:05 +08:00
SimoTw 0f6c260263
Support upload prediction results (#864)
* Add toggle for switching between file/service.

* Implement prediction file picker (#861)

* Handle load file flow.

* Add validate logic.

* handle the predict result file and draw the result

* add condition to prevent nofile error (#862)

* Fix error while fetching with file URL.

* update prediction file reader and disable prediction selector while no file.

Co-authored-by: Buddha Wang <shihw@microsoft.com>
2021-02-02 18:36:48 +08:00