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

398 Коммитов

Автор SHA1 Сообщение Дата
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
stew-ro 3485d33eca
feat: add bmp support for analyze page (#672) 2020-10-30 17:56:03 -07:00
alex-krasn b0404c6276
Alex krasn/bugfix on hotkeys when canvas not loaded yet (#664)
* fix: zoomIn keyboar shortcut for macOS

* fix: appId

* fix: error, handle not yet loaded canvas
2020-10-30 09:03:54 -07:00
stew-ro 7166cdae57
fix: use node to update status bar with latest git commit (#671)
* fix: use node to update status bar with latest git commit

* fix: handle case when git commit file is empty

* fix: use node for build script

* fix: include bash script

* fix: sync ouput of bash and node scripts

* refactor: add regex comment again

* refactor: use 7 characters for short hash

* fix: use node for yarn build
2020-10-29 19:14:52 -07:00
alex-krasn ac604b6bd4
change OCR to Layout in UI (Actions) (#666)
* change OCR to Layout in UI (Actions)

* more OCR to Layout
2020-10-29 13:59:27 -07:00
Alex Chen 0fa559a4b2
Yongbing chen/hitl update notify message (#651)
* update trainConfirm message

* remove extra blank space
2020-10-29 17:06:09 +08:00
Alex Chen 6d775ae8d4
Yongbing chen/ui adjustment with designers feedback (#662)
* Move the confidence number to the right side pane,
Have a check icon to show whether or not a field is revised,
Use sentence capitalization on flowing tool tip,
Put “Actions” in the “…”,
Auto-label multiple unlabeled documents with pop a dialog set batch size

* show/hide origin labels

* tslint check

* pull request 662. Change label design, fix pipeline issue

* remove old tag-item-confidence css (Merged from master)

* fix bug of can't remove confidence while deleting region

Co-authored-by: Starain <v-stache@microsoft.com>
Co-authored-by: starain-pactera <73208113+starain-pactera@users.noreply.github.com>
2020-10-27 14:27:03 +08:00
Xinxing Liu c86b6de35e
Fix the issue that git-commit-info.txt could be override (#668) 2020-10-23 18:40:30 -07:00
Xinxing Liu cb27cbd74f
Xinxl/fix hash (#667)
Put git info dumping command into a script so as to reused by wrapper repository.
2020-10-23 17:17:22 -07:00
alex-krasn 0aae169035
Alex krasn/fix confidence level bar styles (#657)
* fix: zoomIn keyboar shortcut for macOS

* fix: appId

* fix: align conf level with tag name, overlaps with command bar, font size etc
2020-10-22 11:37:42 -07:00
stew-ro d644459e4c
refactor: change error styling and wording for project sharing (#653)
* refactor: change error styling and wording for project sharing

* refactor: add share project description and reword messages

* refactor: remove period from message

* refactor: change wording of copy project token message
2020-10-21 12:17:26 -07:00
stew-ro 9818d6301e
fix: sort models after loading next page in model compose (#659)
* fix: sort models after loading next page in model compose

* refactor: update readme
2020-10-21 11:45:29 -07:00
alex-krasn 66b03303b1
Alex krasn/serialize javascript vulnerability (#612)
* fix: zoomIn keyboar shortcut for macOS

* fix: appId

* fix: serialize-javascript vulnerability
2020-10-21 07:09:40 -07:00
Alex Chen 1aa3daaeeb
update asset labelingState when load local project (#660) 2020-10-21 20:30:24 +08:00
stew-ro 28c54fcc31
fix: check for local connections (#654) 2020-10-20 13:59:43 -07:00
Alex Chen 88c547995d
get last commit hash code in current branch and show on status bar (#642)
* get current commit hash-code

* update regular expression match git commit hash
2020-10-20 11:43:37 +08:00
Alex Chen af5396fe8e
new feature: tags in current page (#640)
* add onlyShowCurrentPageTags

* update tagInput.test.tsx

* change onlyShowCurrentPageTags icon

* set tag filter button toggle styles

* fix: update icon src

* fix: add filter icon src

Co-authored-by: stew-ro <v-stewro@microsoft.com>
2020-10-20 09:10:43 +08:00
Alex Chen 6c1ee2b6b4
adjust editor view offset (#646) 2020-10-16 12:58:08 +08:00
stew-ro b92e4b3d5a
reword asset states (#644)
* fix: run auto-labeling on only batch of documents

* refactor: reword asset states

* refactor: set batch size as constant

* refactor: change variable name

* refactor: use batch constant in auto label button title
2020-10-15 00:54:18 -07:00
stew-ro 4544e5255c
feat: support apiVersion selection from project settings (#641)
* feat: support apiVersion selection from project settings

* fix: correct syntax error

* fix: correct spelling error

* fix: use correct version for patch 3

* refactor: add api version to status bar

* refactor: change wording of testing versions

* refactor: add link to api version status bar info

* docs: update change log with FR whats new link

* refactor: change api version link to changelog

* fix: sync test files

* refactor: use region labeling term

* push change to run build pipeline again
2020-10-14 13:30:53 -07:00
Alex Chen 94f12bb4e9
new feature: highlight current tag (#628)
* highlight current tag

* remove console.log

* double click tag switch to label page

* update onDoubleClick define

* rename onDoubleClick
2020-10-13 16:47:22 +08:00
Alex Chen c1f227daa3
new feature: human in the loop auto labeling (#571)
* upload analyze file to assets

* move spinner label to strings

* adjust labels

* issuefix

* typo

* adjust getLabelValues

* typo

* remove option bar when upload asset in the future runs

* feature:  "Auto Labeling"

* move AutoLabelingStatus to predictService.ts

* update ocr when auto labeling

(cherry picked from commit 42438598d5d7a325e82bbad191ed483f44094439)

* fix tslint error

* handle formRegion.text undefined error

* decode asset name when upload asset

* add HITL document override confirm

* Merge branch 'yongbing-chen/human-in-the-loop' of https://github.com/microsoft/OCR-Form-Tools into yongbing-chen/human-in-the-loop

* disable autolabeling button when no predict model

* move runAutoLabelingOnCurrentDocument to canvas.tsx

* remove assetMetadata if no labels find after auto-labeling

* fix tslint check

* sync regions

* auto-labeling

* Merge branch 'yongbing-chen/human-in-the-loop' into yongbing-chen/human-in-the-loop-auto-labeling

* optimize asset metadata sync

* object deep clone

* fix state update error, change confidence position

* update addRegionsToAsset argument list

* change uploadAssetPredictResult name to syncAssetPredictResult

* refactor getBadgeTaggedClass

* deep clone object

* fix state mutation error, add uploadPredictResultAsOrcResult

* fix mutation error and asset state error

* fix data.analyzeResult.errors break chinge

* updateSelectAsset

* solve tag-input-body-container overflow conflict

* set .canvas-ocr-loading z-index

* add background to confidence value area, adjust the prev, next button position

Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
2020-10-13 15:07:06 +08:00
Xin Zou 7d1f87193b
Update CHANGELOG.md 2020-10-10 23:31:27 -07:00
stew-ro e015973aee
fix: support image map interactions for container releases (#639)
* fix: support image map interactions for container releases

* docs: update changelog and status bar
2020-10-09 13:23:46 -07:00
stew-ro 6d4e93bca8
Stew ro/use file type library for mime type validation (#636)
* fix: zoomIn keyboar shortcut for macOS

* fix: appId

* fix: handle mime is undefined

* refactor or check lecmght + check for electron

* fix: use file-type library for mime type validation

* feat: use mime library to get mime type from extension

Co-authored-by: alex-krasn <v-alexkr@microsoft.com>
2020-10-07 13:50:04 -07:00
Alex Chen 355ca0b156
add spinner in saving project, can avoid multiple commit (#617)
* add "Saving Project" Spinner

* add isFileExists to IStorageProvider

* sync state.project when project data updated

* Persist user input when project already exists
2020-09-30 17:36:45 +08:00
Alex Chen 53044f72dd
refresh currentProjects when load project (#615) 2020-09-29 13:03:29 +08:00
Alex Chen 3044cc51a9
sync related region color when tag color changed (#598) 2020-09-29 12:14:16 +08:00
Alex Chen 3e503e7551
add current list item style (#601) 2020-09-29 10:24:33 +08:00
Alex Chen 730e1963a0
feat: remove project from app if security token does not exist (#468)
* fix issue#345

* only remove local project if sec-token not exist

* change the error message

* move the error notify to strings

* update delete project toast message

* update localization strings
2020-09-29 09:12:08 +08:00
Alex Chen d859d38ecc
fix ,update document state when preview (#317) (#471) 2020-09-27 15:38:25 +08:00
Alex Chen e806b4e0df
refactor: change the confidence value format to percentage (#461)
* update the confidence formate to percentage

* remove docType from predicatModelInfo

Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com>
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
2020-09-27 15:18:49 +08:00
kunzheng 7a3f7a773c
security: upgrade node-forge (#622) 2020-09-25 14:03:55 -07:00
stew-ro cac1e8e6cf
fix: disable move tag and support renaming when searching (#618)
* fix: disable move tag and support renaming when searching

* fix: remove console log
2020-09-25 11:16:36 -07:00
stew-ro 4163edc18b
Stew ro/add latest tag reference to changelog (#608)
* docs: add latest-preview tag reference to changelog

* docs: update changelog commit history

* docs: add link to docker hub repository

* docs: correct changelog commit history
2020-09-23 19:09:06 -07:00
stew-ro ffafc20024
fix: use region instead of drawnRegion for labelType in label file (#582) 2020-09-23 15:30:04 -07:00
stew-ro 63bbea076d
docs: update readme with docker hub info (#604)
* docs: update readme with docker hub info

* docs: add tag info
2020-09-23 14:42:29 -07:00
stew-ro f6c4dc3585
fix: remove opening browser for yarn start (#605) 2020-09-23 13:49:37 -07:00
stew-ro 7c4848c3a7
fix: update changelog updater script (#607) 2020-09-23 13:24:47 -07:00
stew-ro f2db74e322
docs: udpate changlog with docker image reference (#590)
* docs: udpate changlog with docker image reference

* feat: automate updating changlog with script
2020-09-17 13:24:09 -07:00
stew-ro 1a6b78e054
fix: normalize folder path starting with a period (#592) 2020-09-16 19:31:58 -07:00
stew-ro 7e4233e568
fix: change label folder uri title (#588) 2020-09-16 13:54:23 -07:00
stew-ro 6a1ced5a0b
fix: initialize drag pan for analyze page (#586) 2020-09-15 21:40:58 -07:00