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

452 Коммитов

Автор SHA1 Сообщение Дата
starain-pactera 33fe59c147
Merge branch 'master' into starain-chen/do-not-clear-form-data 2020-12-10 10:45:13 +08:00
Alex Chen c93d8bdaa3
Fix Security Token Key can not be deleted completely (#809) 2020-12-08 17:52:22 +08:00
Starain chen 6e0f81700d donot clear form data when submit 2020-12-08 09:04:41 +08:00
Xin Zou d760f6f51a
Update README.md 2020-12-04 10:37:21 -08:00
starain-pactera e1a7cb7a69
update canvas asset state (#803) 2020-12-04 10:04:54 -08:00
alex-krasn a2b46c3d2c
refactor: change order of prebuilt dropdown (#785) 2020-12-03 12:27:54 -08:00
Alex Chen 99eaa99c61
support id in prebuilt (#800)
* add IDs in prebuiltPredict

* update getPredictionsFromAnalyzeResult
2020-12-03 10:52:05 +08:00
Alex Chen 2ae35bafc4
add pageRange in analyze (#791)
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-12-03 09:49:43 +08:00
Alex Chen 95a360b4dd
upgrade lodash version (#799) 2020-12-02 13:46:39 +08:00
Alex Chen f5cdccd9c8
add tooltip in PrebuiltSetting (#798) 2020-12-01 11:05:02 +08:00
alex-krasn 31073cc001
refactor: delete dead code (#794)
* refactor: change order of prebuilt dropdown

* fix: deletes dead code

Co-authored-by: Alexander Krasnorutskiy <alexk@Alexanders-MBP.domain>
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
2020-12-01 10:53:24 +08:00
Xinxing Liu 9d6db1827f
Remove legacy yml file (#797) 2020-11-30 16:57:45 -08:00
Xinxing Liu 6133074140
Set up new CI with Azure Pipelines (#796)
Add a new PR validation pipeline.
2020-11-30 15:16:42 -08:00
alex-krasn f63bce4a77
fix: handle type error on double click on tag (#782) 2020-11-22 22:42:36 -08:00
alex-krasn 13421fa427
fix: support long tag names in train result (#780) 2020-11-19 13:21:41 -08:00
Alex Chen c7b8db33aa
update auto-labeling errors message (#751) 2020-11-18 09:05:09 +08:00
Alex Chen 7a93c41417
add locale in prebuiltPredictPage (#772)
* add local in prebuiltPredictPage

* change locales to Local
2020-11-17 12:54:20 +08:00
Mick Vleeshouwer 457ee9a111
Remove unused NPM libraries from package.json (#771)
* Remove unused FontAwesome free icons

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Remove unused imports, comment unused code

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Remove jquery

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Remove unused serialize-javascript

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Move yarn to dev dependencies

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Move rimraf to devDependencies

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-16 03:54:41 -08:00
Mick Vleeshouwer 4fcd7fff47
Reduce Electron app size (#770)
* Don’t include node_modules in Electron build

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

* Update electron from 8 to 10

Signed-off-by: Mick Vleeshouwer <mick@imick.nl>

Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-16 01:07:43 -08:00
stew-ro e19d3729f7
fix: delete pdf worker after switching assets (#767) 2020-11-15 20:40:17 -08:00
stew-ro f2990971bf
refactor: change home page text for layout and custom (#768) 2020-11-13 14:31:46 -08:00
starain-pactera 2b6ead755c
sync ocr and autolabeling state, include necessary tags and lables after running autolabelling (#764)
* sync ocr and autolabeling state, include necessary tags and lables after running autolabelling

* Add logical to skip handle onFouse event

Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-13 03:32:15 -08:00
Alex Chen 347e21e511
show all detected fields in prebuilt predict result (#765)
* show all detected fields in prebuilt predict result

* refactor pdateFieldValueToResult

* code refactor
2020-11-13 16:55:58 +08:00
Alex Chen a7ccb34ae6
avoid pdf was released prematurely in pdfAsset.tsx (#762) 2020-11-12 22:22:43 -08:00
starain-pactera 34ce14db8c
return default asset metadata if there isn't label data (#669)
* return default asset metadata if there isn't label data


* return default asset metadata if there isn't label data

Co-authored-by: Starain <v-stache@microsoft.com>
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-13 11:13:37 +08:00
stew-ro abfffbb176
fix: remove formatting from layout download (#759)
Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
2020-11-12 17:19:25 -08:00
stew-ro 4b6e3a52ee
fix: keep analysis results download in sync with api results (#758)
* fix: keep analysis results download in sync with api results

* refactor: remove extra files

* fix: handle prebuilt predict page

* refactor: remove extra lines

* fix: include missing props
2020-11-12 17:01:50 -08:00
starain-pactera cd782e2a17
skip saving unchanged asset while training (#738)
* skip saving unchanged asset while traning

* remove unnecessary import (vott-react)

* format code

Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-12 15:39:59 -08:00
starain-pactera 11d30866b6
prevent leaving while running auto labelling on mutiple documents (#742)
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-12 15:13:49 -08:00
Alex Chen 7df393138f
set scrollbar in appSettingsPage and connectionsPage (#747)
* set scrollbar in appSettingsPage and connectionsPage

* set horizontal scrollbar style

(cherry picked from commit 7d786be5ef)

* set scrollbar in trainPage

Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-12 13:43:38 -08:00
Alex Chen 66a8386929
update home page styles (#739)
* update home page styles

* set horizontal scrollbar style

* update app-homepage-recent style

Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
2020-11-12 13:06:11 -08:00
starain-pactera e47376a9c6
deep clone asset to deal with redux state mutation issue (#741)
* deep clone asset to deal with redux state mutation issue

* change function comment

Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
2020-11-12 12:21:40 -08:00
starain-pactera ab5a8a84e6
remain unvisited asset state if there isn't ocr data (#752)
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
2020-11-12 10:17:28 +08:00
stew-ro 0ddb7f1275
feat: support null text values in analyze results (#744)
* feat: support null text values in analyze results

* refactor: use italic style for null values
2020-11-11 13:25:46 -08:00
stew-ro 6994ac9291
feat: support rowspan and column span for layout tables (#754)
* feat: support rowspan and column span for layout tables

* refactor: remove console logs
2020-11-11 12:58:24 -08:00
stew-ro acba3966ce
Update changelog (#750)
* docs: update changelog

* docs: update changelog
2020-11-11 11:13:53 -08:00
starain-pactera f6ef41ac15
check whether the label data is null (#753)
* check whether the label data is null

* boundingBoxes could be null, need to check

* add additional function handle find old label logical
2020-11-11 17:28:29 +08:00
starain-pactera 9d35e79393
fix issue of 773 (#740) 2020-11-11 08:59:42 +08:00
stew-ro 2e5049883b
fix: enable api version selection (#736) 2020-11-09 14:21:01 -08:00
alex-krasn f11291940b
fix: labeling doesn't work via shortcuts on the new project or empty tags (#677) 2020-11-09 13:40:13 -08:00
stew-ro 25eb59bfa8
fix: remove setting project state in project form on change (#732) 2020-11-09 13:12:00 -08:00
starain-pactera 569adf161a
handle training state logical (#731)
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-09 13:03:19 -08:00
starain-pactera 6203e2cd81
fix issue of "After running Layout an all documents FoTT sometimes does not ends" (#723)
Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-09 12:50:00 -08:00
Alex Chen ba04cebb63
set includeTextDetails=true in prebuilt predict (#722)
Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-09 12:39:28 -08:00
starain-pactera 59fe4e2778
fix issue of "Auto-labeling while switching assets in asset preview causes an error" (#721)
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-09 12:32:00 -08:00
stew-ro c81b2323aa
feat: support api version config (#717)
* feat: support api version config

* refactor: remove empty lines and change file name to camelcase

* Rename APIInfo.ts to apiInfo.ts

* Rename APIConfig.json to apiConfig.json

* fix: use only default value or value for selection

* fix: on active use only default value or selected value

* refactor: rename apiconfig to buildconfig

* refactor: rename apiinfo to buildinfo

* refactor: rename builconfig to appconfig and use helper function

* refactor: add helper function to utils

* fix: styling conflicts
2020-11-09 12:15:50 -08:00
Alex Chen fc769f41c1
update homepage style (#724)
Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
2020-11-09 11:48:26 -08:00
Alex Chen f0cb5db337
issuefix: update getBoundingBox (#730) 2020-11-09 21:46:35 +08:00
Alex Chen d6bca5fcf2
clone with lodash cloneDeep (#728) 2020-11-09 19:52:15 +08:00
starain-pactera a79d556a39
remain auto label state while no label data (#727) 2020-11-09 18:07:10 +08:00