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

440 Коммитов

Автор SHA1 Сообщение Дата
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
starain-pactera ba8c1100e9
deep copy asset metadata (#725) 2020-11-09 16:43:05 +08:00
Alex Chen e638cd8e3b
Yongbing chen/receipt predicting (#626)
* add receiptPredict

* adjust scss

* tslint

* rename 'receipt' to 'prebuilt'

* addd localization to prebuiltPredict

* add prebuild settings to store

* fix warning in test page

* update inline icons

* move predict button position in sidebar

* add drebuilt type Dropdown

* add textTablePage

* textTablePage reflect, add filePicker, prebuiltSetting

* move ocr code to IOcrHelper, move poll to utils.ts

* page reflector, morge utils.ts

* code refactor

* add HomeProjectView, update homePage localization settings

* change Misleading "Over the rate limitation..."

* scss file refactor

* remove comments code / imports

* fix 'prebuilt' spelling

* refactor predictResult

* remove commented code

* refactor predictPage, use DocumentFilePicker select file

* Stew ro/use api version selected in project settings (#678) (#679)

* refactor: change drawn region icon

* fix: use api version selected in project settings

* fix: change interpolate value for api version

* fix: use existing git hash when not in git repository (#682)

* Update script to executable

* change prebuilt and layout route path, add strings.layoutPredict

* change homePage OpenLocalProject style

* fix: add margin for btns, rename models dropdown, renamed BussinessCard => Bussiness card

* fix: add padding to prediction results list

* update homepage description text, update projectSetingsPage style

* add quickstartguid link url

* update homePage styles

* set quickstart default link

* replace layout icon (#698)

* add PreventLeaving in layoutPredictPage (#692)

* Use prebuilt icon on prebuilt page (#707)

* prevent error when open file (#694)

* set uploadAssetToProject button display on onAddAssetToProject (#693)

* Move open local project button (#708)

* Remove API key copy button on prebuilt and layout pages (#710)

* Extend prebuilt for type drop down to fit text (#711)

* update homepage quickstartguide links (#709)

* show table info in predictPage and prebuiltPredictPage (#706)

* fix page crushed when add analyzed document to training set (#715)

* show business card result (#713)

* remain label data while deleting all labels (#716)

* remain label data while deleting all labels

* Do not clean auto label data for other actions expect training

Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
Co-authored-by: alex-krasn <v-alexkr@microsoft.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
Co-authored-by: Xinxing Liu <xinxl@microsoft.com>
Co-authored-by: starain-pactera <73208113+starain-pactera@users.noreply.github.com>
2020-11-09 10:49:23 +08:00
starain-pactera 32cfaea023
Starain chen/clean autolabel data while training (#712)
* add logical to clean auto-label data while training

* 1. remove clear data confirm logical 2. change logical to clean old data

Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
2020-11-06 14:45:33 +08:00
starain-pactera 282d55700e
fix issue of deleting tag (#703) 2020-11-06 14:06:16 +08:00
Xin Zou c7ed086128
Update README.md 2020-11-04 16:49:43 -08:00
Xin Zou d696b8a254
Update README.md 2020-11-04 14:26:37 -08:00
stew-ro 8ccdab83f0
fix: use constant if no api version specified (#684) 2020-11-04 01:32:47 -08:00
starain-pactera 757e0dd85b
auto labeled tag design & replacing between text with draw region (#670)
* change autolabel icon

* fix bug of page flashing after deleting all regions

* change workflow of replace between text and draw region

* fix labelsData is null issue

* fix Can replace labels and change tag type to selectionmark for non empty tag

* Issue of App stuck in looing state when deleting tag

* remove whitespace

* fix issues of 1.	Label icon not layers menu, Text can be applied to selection mark tag, 3.	Can change tag type to selection mark when tag already has text, 4.	Run ocr on unvisted does not mark as visited

* fix: handle storage provider factory test

* fix issue of deleting tags can't change document state

* add logical to change autolabeling state while deleting tag

* fixed the issue of label shows as revised when it hasn't been changed

* add logical to check whether it requires to callback

* restore code style

* check whether assetMetadata is null or not

* change error message show while service return error

* remove comment, change error message, global

Co-authored-by: Starain <v-stache@microsoft.com>
Co-authored-by: Alex Chen <68627897+yongbing-chen@users.noreply.github.com>
Co-authored-by: Robert Stewart (eXcell <v-stewro@microsoft.com>
Co-authored-by: stew-ro <60453211+stew-ro@users.noreply.github.com>
2020-11-04 16:34:16 +08:00
Xinxing Liu aab69380a8
Fix the issue that git-commit-info.txt could be override (#683) 2020-11-03 23:36:34 -08:00
stew-ro 586fbb0ce5
fix: use existing git hash when not in git repository (#682) 2020-11-03 17:05:18 -08:00
stew-ro bed69a3f64
Stew ro/use api version selected in project settings (#678)
* refactor: change drawn region icon

* fix: use api version selected in project settings

* fix: change interpolate value for api version
2020-11-03 12:41:15 -08:00
stew-ro 5614da2681
refactor: change drawn region icon (#675) 2020-11-03 03:04:42 -08:00