* 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>
* 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>
* 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>
* 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>
* 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>
* 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
* 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>
* 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>
* 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>