Skip to content
  • Buddha Wang's avatar
    c279a3f7
    Support supervised table labeling/training/prediction with new data schema. (#828) · c279a3f7
    Buddha Wang authored
    * added new icons
    
    * feat: support table tag creation
    
    * feat: support labeling
    
    * fix: zoomIn keyboar shortcut for macOS
    
    * fix: appId
    
    * fix: icons scr url (#593)
    
    * Alex krasn/rtl refactor to functional components (#594)
    
    * refactor to funct componenet - tableTagConfig.tsx
    
    * tagInputItemLabel.tsx- refactor to functional component
    
    * fix format error detected by tslint
    
    * support dropdown options (#603)
    
    * support dropdown options
    
    * add format filter on cell type choice
    
    * reset format on type change
    
    * add default theme to dropdowns
    
    * refactor: introduce and lift state of table body
    
    * Alex krasn/rtl create table view styles (#620)
    
    * styles (resize pane WIP)
    
    * styles
    
    * enable feature (#621)
    
    * Alex krasn/rtl support validation of user input on config table (#611)
    
    * -merge with changes
    
    * feat: enable user input validation
    
    * add strings
    
    * fix wording
    
    * - on save show only generic error message
    
    * custom error message for textfield
    
    * reset type and format of rows/columnst on save + refactor
    
    * refactor: support interfaces and lift state for labeling
    
    * feat: persist table labeling
    
    * feat: enable deleting headers (#627)
    
    * feat: table view styles (#629)
    
    * feat: table view styles
    
    * add styles for 'cells'
    
    * feat: table preview (#630)
    
    * Alex krasn/rtl eanble reordering of headers (#631)
    
    * enable reordering
    
    * fix checkmark and addButton styles
    
    * pipe line test fix
    
    * styles fix
    
    * fix resize pane width
    
    * fix: allow deleting and reassigning of table regions
    
    * feat: add table label description
    
    * fix: support selecting regions without opening table labeling
    
    * fix: react unique keys errors
    
    * fix: selection behaviour + refactor
    
    * disable move btns when a selection reached list's edges
    
    * disable delete btns when it's just one row/col
    
    * makes inputs placeholder less visible
    
    * support large tables in tableConfig + support resize pane (#634)
    
    * support large tables in tableConfig + support resize pane
    
    * cleanup
    
    * support large tables in tableLabeling
    
    * fix: buttons container nesting
    
    * fix: setup initial container width, and setup min and max headers width
    
    * add reconfigure btn to tableLabeling.tsx + some styling
    
    * add HOW TO label the table
    
    * add strings to tableLabeling.tsx
    
    * disable "table" type as an option for headers type
    
    * fix: spelling
    
    * feat: not allow tag type change if it is tableTag
    
    * disable tagtype and format from table tag dropdown submenu
    
    * delete table type options for all other tags (not table)
    
    * fix: support reconfigure button
    
    * fix: scroll unnecessary scrollbar in tableLabeling
    
    * refactor: rename + types
    
    * support row dynamic table in tableTagConfig
    
    * support table name in tableTagLabeling.tsx
    
    * support view of row dynamic tables in tableTagLabeling.tsx table view
    
    * add reconfig button to tag menu items
    
    * add table tag color bar under table name in table labeling view
    
    * add "Add row" btn for labeling row dynamic tables
    
    * fix: wording and strings for Confirm message on reconfigure table
    
    * fix: trim all inputted names during config validation
    
    * fix: on resize right splitpane to width less than min allowed
    
    * support rowDynamic table in tableLabeling table view
    
    * fix: table labeling view styles
    
    * add row indices for tableLabel table view
    
    * add indices in tableConfig + support some reconfig func
    
    * fix: dont show "Row #" for fixed tables in tableTagLabeling.tsx
    
    * fix: restore right pane size for basic input mode
    
    * feat: support row dynamic labeling
    
    * fix: tableName validation erorr
    
    * fix: show one row for rowDynmic in preview
    
    * refactor: validateInputAndSave
    
    * refactor: support adding rows for row dynamic tables
    
    * refactor: support row dynamic labeling
    
    * fix: trim rows
    
    * merge master into RTL branch (#647)
    
    * merge master into RTL branch
    
    * fix an API icon
    
    * add stings to tableConfig
    
    * fix: typo in tableTagToAdd
    
    * tableLabeling: refactor, styles, strings
    
    * tableLabeling: add spanish strings
    
    * refactor: optimize inputs validation
    
    * fix: TableElements enum spelling
    
    * fix: use correct table format values
    
    * fix: spelling
    
    * enable reconfigure button from tag menu dropdown
    
    * refactor: remove not needed customizer
    
    * fix: conditional Enum for headersFormatAndTypeOptions
    
    * feat: support reconfigure table map
    
    * feat: cross out columns when renaming
    
    * fix: scrollbar visibilty + style adjustments
    
    * fix: scroll issue on open
    
    * feat: support tracking changed and deleted headers
    
    * autofocus on last added input
    
    * fix: delete extra colon
    
    * fix: class name for renamed header  + forgoten variable
    
    * enable reconfigure [cancel] button
    
    * styles for renamed headers
    
    * display original col/row name on reconfigure
    
    * fix: delete autofocus on btns
    
    * fix: revert accidentally deleted ref + whitespaces
    
    * display table name in preview
    
    * fix: support deleted headers and style change
    
    * feat: support reconfig deleting fields
    
    * feat: support deleting tables
    
    * fix margin + and Lunk styles
    
    * restore deleted row/col: Link => ActionButton
    
    * fix: splitpane and labelng/config styles
    
    * add: tag color for reconfigure
    
    * fix: tableName color for config
    
    * feat: support saving reconfigure
    
    * analyze results
    
    * fix: delete red table border
    
    * fix reconfigure name validation and toast message
    
    * fix on reconfigure projectAction assets update
    
    * add higlight table results in analyze
    
    * feat: redraw canvas with changed regions
    
    * fix: add reconfigure support for tag name change
    
    * handle long row/col names without spaces
    
    * temp fix for unique column names in analyzeOutput.json
    
    * feat: handle long col and row names in tableTagConfig
    
    * feat: enable drawn region icon and selection marks
    
    * feat: add progress to table reconfigure
    
    * feat: support rowKeys and columnKeys for analysis
    
    * feat: support tracking column and row count
    
    * fix: reconfigure progess spinner styles
    
    * feat: highlight table cell bounding box on mouse enter
    
    * fix: reconfigure state on close()
    
    * fix: commnet out testing config in predictPage
    
    * fix: check for rowKeys in updatedAssetMetadata
    
    * fix: on reconfigure when adding columns (rdt)
    
    * new row/col headers icons
    
    * fix: update asset after reconfigure
    
    * fix: check if theres tags
    
    * fix: update document bounding boxes after reconfigure
    
    * fix: handle region reset after reconfigure
    
    * refactor: hardcode to preview.3 api
    
    * feat: support rename of table tag
    
    * merge with master as of 11/16
    
    * feat: enable table support for labeledTags filter
    
    * fix: table labeling issues
    
    * fix issue of "Trained label doesn't show as manually labeled after revisioni"
    
    (cherry picked from commit d17e8a0c)
    
    * fix: display analyze results
    
    * Merge branch 'stew-ro/support-table-labeling' of https://github.com/microsoft/OCR-Form-Tools
    
     into rtl_merge_with_master
    
    * support new schema for prediction
    
    * support highlighting of tableTag and tableCell in editor page
    
    * display table in tag view and support highlight after schema change
    
    * feat: support row/col header selectionMark logic
    
    * display column header after schema change in prediction results
    
    * handle empty rows after schema change predict
    
    * use fieldType Object and Array for new schema
    
    * write new schema to field.json
    
    * fix on 'definitions' undefiened on reconfigure
    
    * support writing to field.json and removing rowKeys and columnKey logic
    
    * fix: remove label type when invalid
    
    * fix: use default rows and columns if field is null
    
    * feat: support label files for new schema
    
    * support encoding
    
    * fix decoding and encoding logic
    
    * fix remove label with empy value
    
    * update taginput toolbar
    
    * change row dynamic starting index to zero
    
    * support reconfigure after schema change
    
    * support drawn region logic for table labeling
    
    * support encoding for refactoring table
    
    * support rename and delete tag
    
    * support empty table for analysis
    
    * fix: support empty tables for analysis
    
    * Fix pipeline build failures.
    
    Co-authored-by: default avataralex-krasn <v-alexkr@microsoft.com>
    Co-authored-by: default avatarstew-ro <v-stewro@microsoft.com>
    Co-authored-by: default avataralex-krasn <64093224+alex-krasn@users.noreply.github.com>
    Co-authored-by: default avatarAlex Chen <v-yongbc@microsoft.com>
    Co-authored-by: default avatarStarain chen <v-stachen@microsoft.com>
    Co-authored-by: default avatarAlexander Krasnorutskiy <alexk@Alexanders-MBP.domain>
    c279a3f7
    Support supervised table labeling/training/prediction with new data schema. (#828)
    Buddha Wang authored
    * added new icons
    
    * feat: support table tag creation
    
    * feat: support labeling
    
    * fix: zoomIn keyboar shortcut for macOS
    
    * fix: appId
    
    * fix: icons scr url (#593)
    
    * Alex krasn/rtl refactor to functional components (#594)
    
    * refactor to funct componenet - tableTagConfig.tsx
    
    * tagInputItemLabel.tsx- refactor to functional component
    
    * fix format error detected by tslint
    
    * support dropdown options (#603)
    
    * support dropdown options
    
    * add format filter on cell type choice
    
    * reset format on type change
    
    * add default theme to dropdowns
    
    * refactor: introduce and lift state of table body
    
    * Alex krasn/rtl create table view styles (#620)
    
    * styles (resize pane WIP)
    
    * styles
    
    * enable feature (#621)
    
    * Alex krasn/rtl support validation of user input on config table (#611)
    
    * -merge with changes
    
    * feat: enable user input validation
    
    * add strings
    
    * fix wording
    
    * - on save show only generic error message
    
    * custom error message for textfield
    
    * reset type and format of rows/columnst on save + refactor
    
    * refactor: support interfaces and lift state for labeling
    
    * feat: persist table labeling
    
    * feat: enable deleting headers (#627)
    
    * feat: table view styles (#629)
    
    * feat: table view styles
    
    * add styles for 'cells'
    
    * feat: table preview (#630)
    
    * Alex krasn/rtl eanble reordering of headers (#631)
    
    * enable reordering
    
    * fix checkmark and addButton styles
    
    * pipe line test fix
    
    * styles fix
    
    * fix resize pane width
    
    * fix: allow deleting and reassigning of table regions
    
    * feat: add table label description
    
    * fix: support selecting regions without opening table labeling
    
    * fix: react unique keys errors
    
    * fix: selection behaviour + refactor
    
    * disable move btns when a selection reached list's edges
    
    * disable delete btns when it's just one row/col
    
    * makes inputs placeholder less visible
    
    * support large tables in tableConfig + support resize pane (#634)
    
    * support large tables in tableConfig + support resize pane
    
    * cleanup
    
    * support large tables in tableLabeling
    
    * fix: buttons container nesting
    
    * fix: setup initial container width, and setup min and max headers width
    
    * add reconfigure btn to tableLabeling.tsx + some styling
    
    * add HOW TO label the table
    
    * add strings to tableLabeling.tsx
    
    * disable "table" type as an option for headers type
    
    * fix: spelling
    
    * feat: not allow tag type change if it is tableTag
    
    * disable tagtype and format from table tag dropdown submenu
    
    * delete table type options for all other tags (not table)
    
    * fix: support reconfigure button
    
    * fix: scroll unnecessary scrollbar in tableLabeling
    
    * refactor: rename + types
    
    * support row dynamic table in tableTagConfig
    
    * support table name in tableTagLabeling.tsx
    
    * support view of row dynamic tables in tableTagLabeling.tsx table view
    
    * add reconfig button to tag menu items
    
    * add table tag color bar under table name in table labeling view
    
    * add "Add row" btn for labeling row dynamic tables
    
    * fix: wording and strings for Confirm message on reconfigure table
    
    * fix: trim all inputted names during config validation
    
    * fix: on resize right splitpane to width less than min allowed
    
    * support rowDynamic table in tableLabeling table view
    
    * fix: table labeling view styles
    
    * add row indices for tableLabel table view
    
    * add indices in tableConfig + support some reconfig func
    
    * fix: dont show "Row #" for fixed tables in tableTagLabeling.tsx
    
    * fix: restore right pane size for basic input mode
    
    * feat: support row dynamic labeling
    
    * fix: tableName validation erorr
    
    * fix: show one row for rowDynmic in preview
    
    * refactor: validateInputAndSave
    
    * refactor: support adding rows for row dynamic tables
    
    * refactor: support row dynamic labeling
    
    * fix: trim rows
    
    * merge master into RTL branch (#647)
    
    * merge master into RTL branch
    
    * fix an API icon
    
    * add stings to tableConfig
    
    * fix: typo in tableTagToAdd
    
    * tableLabeling: refactor, styles, strings
    
    * tableLabeling: add spanish strings
    
    * refactor: optimize inputs validation
    
    * fix: TableElements enum spelling
    
    * fix: use correct table format values
    
    * fix: spelling
    
    * enable reconfigure button from tag menu dropdown
    
    * refactor: remove not needed customizer
    
    * fix: conditional Enum for headersFormatAndTypeOptions
    
    * feat: support reconfigure table map
    
    * feat: cross out columns when renaming
    
    * fix: scrollbar visibilty + style adjustments
    
    * fix: scroll issue on open
    
    * feat: support tracking changed and deleted headers
    
    * autofocus on last added input
    
    * fix: delete extra colon
    
    * fix: class name for renamed header  + forgoten variable
    
    * enable reconfigure [cancel] button
    
    * styles for renamed headers
    
    * display original col/row name on reconfigure
    
    * fix: delete autofocus on btns
    
    * fix: revert accidentally deleted ref + whitespaces
    
    * display table name in preview
    
    * fix: support deleted headers and style change
    
    * feat: support reconfig deleting fields
    
    * feat: support deleting tables
    
    * fix margin + and Lunk styles
    
    * restore deleted row/col: Link => ActionButton
    
    * fix: splitpane and labelng/config styles
    
    * add: tag color for reconfigure
    
    * fix: tableName color for config
    
    * feat: support saving reconfigure
    
    * analyze results
    
    * fix: delete red table border
    
    * fix reconfigure name validation and toast message
    
    * fix on reconfigure projectAction assets update
    
    * add higlight table results in analyze
    
    * feat: redraw canvas with changed regions
    
    * fix: add reconfigure support for tag name change
    
    * handle long row/col names without spaces
    
    * temp fix for unique column names in analyzeOutput.json
    
    * feat: handle long col and row names in tableTagConfig
    
    * feat: enable drawn region icon and selection marks
    
    * feat: add progress to table reconfigure
    
    * feat: support rowKeys and columnKeys for analysis
    
    * feat: support tracking column and row count
    
    * fix: reconfigure progess spinner styles
    
    * feat: highlight table cell bounding box on mouse enter
    
    * fix: reconfigure state on close()
    
    * fix: commnet out testing config in predictPage
    
    * fix: check for rowKeys in updatedAssetMetadata
    
    * fix: on reconfigure when adding columns (rdt)
    
    * new row/col headers icons
    
    * fix: update asset after reconfigure
    
    * fix: check if theres tags
    
    * fix: update document bounding boxes after reconfigure
    
    * fix: handle region reset after reconfigure
    
    * refactor: hardcode to preview.3 api
    
    * feat: support rename of table tag
    
    * merge with master as of 11/16
    
    * feat: enable table support for labeledTags filter
    
    * fix: table labeling issues
    
    * fix issue of "Trained label doesn't show as manually labeled after revisioni"
    
    (cherry picked from commit d17e8a0c)
    
    * fix: display analyze results
    
    * Merge branch 'stew-ro/support-table-labeling' of https://github.com/microsoft/OCR-Form-Tools
    
     into rtl_merge_with_master
    
    * support new schema for prediction
    
    * support highlighting of tableTag and tableCell in editor page
    
    * display table in tag view and support highlight after schema change
    
    * feat: support row/col header selectionMark logic
    
    * display column header after schema change in prediction results
    
    * handle empty rows after schema change predict
    
    * use fieldType Object and Array for new schema
    
    * write new schema to field.json
    
    * fix on 'definitions' undefiened on reconfigure
    
    * support writing to field.json and removing rowKeys and columnKey logic
    
    * fix: remove label type when invalid
    
    * fix: use default rows and columns if field is null
    
    * feat: support label files for new schema
    
    * support encoding
    
    * fix decoding and encoding logic
    
    * fix remove label with empy value
    
    * update taginput toolbar
    
    * change row dynamic starting index to zero
    
    * support reconfigure after schema change
    
    * support drawn region logic for table labeling
    
    * support encoding for refactoring table
    
    * support rename and delete tag
    
    * support empty table for analysis
    
    * fix: support empty tables for analysis
    
    * Fix pipeline build failures.
    
    Co-authored-by: default avataralex-krasn <v-alexkr@microsoft.com>
    Co-authored-by: default avatarstew-ro <v-stewro@microsoft.com>
    Co-authored-by: default avataralex-krasn <64093224+alex-krasn@users.noreply.github.com>
    Co-authored-by: default avatarAlex Chen <v-yongbc@microsoft.com>
    Co-authored-by: default avatarStarain chen <v-stachen@microsoft.com>
    Co-authored-by: default avatarAlexander Krasnorutskiy <alexk@Alexanders-MBP.domain>
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading