This adds the copy rectangle functionality of canvas tools to the VOTT editor. When a region is selected on the canvas, the user can select the copyRect button to switch modes and create regions, using the shape of the previously selected region as a template.
Resolves [AB#17074]
* fix: removing version from the title bar
Remove version from the title. Amazingly, webpack + environment variables is hard, cross platform.
Reverting for now.
AB#17537
Script to push VoTT single page app to Azure as a static Web site.
Display version/commit SHA in multiple places to be able to easily
determine version.
AB#17484
Resolves issue where exporting all assets doesn't include non-visited assets. Non-visited assets are no longer part of the project file and requires merging in assets from the source connection.
Resolves AB#17365
This handles an error where we set a guard to prevent non-null tags when getting the TagsDescriptor. CanvasTools expects a `null` when creating a region with no tags, so it's fine to just return null if there are no tags rather than raising an exception.
Resolves [AB#17357]
"all assets" doesn't currently export all assets,
removing it so it doesn't cause confusion.
We will add back this support once we have a working fix.
AB#17461
Clears regions with ctrl+delete, Add tests for clear confirmation, Fix CanvasHelpers test to avoid random fails, Replace clear with remove all
Resolves
Any regions pasted outside the dimensions of the asset will be pasted in the top-left of the asset. Regions too big for the asset cause an error to be thrown.
Resolves [AB#17353]
Originally meant to fix a bug for hot keys applying the wrong tag to a region, but then discovered that the root cause was that each tag was being toggled on every region. If multiple tags were applied to multiple regions, it appeared that the wrong tag was being applied.
Resolves [AB#17176]
add a panel inside `Project Settings` page to display relevant
project metrics:
1. number of source assets
1. number of tagged assets
1. number of visited assets
1. number of regions drawn
1. avg tags per asset
1. number of tags categories in project
1. number of tags in each category
AB#16587
fix: re-add exportProject to registerToolbar
ExportProject interface had been removed from the registerToolbar file, causing no action when the "export project" button was clicked. Adding this interface to the file will allow for projects to be exported.
Helps support multiple bug fixes
feat: add ability to import v1 projects
Add feature that allows users to import projects from v1 format into the v2 application and edit them as a v2 project with all existing metadata. Persist project assets and project file just as a v2 project behaves.
Resolves AB#16635
Resolves the issue where user is unable to navigate to new project screen from the homepage. This also addresses other strange behavior related to routing in the app.
-User being navigated to the homepage after creating a connection
-Refresh application button not working
Resolves AB#17258, 17263, 17058
Added generic Clipboard wrapper that calls clipboard async API
Refactor toolbar registration to use generic ToolbarItem unless necessary (save and export still need it) and refactored tests to reflect changes. Added public copyRegions, cutRegions, pasteRegions and clearRegions definitions to Canvas. Added toolbar buttons to call regions management functions with associated hot keys.
Ctrl+c = copy
Ctrl+x = cut
Ctrl+v = paste
Ctrl+e = clear
Resolves [AB#16720]
When running on typescript < 3.2.x there were several TS errors including:
Warnings about --isolated modules due to import of package.json
Warnings about Promise<{}> vs Promise<void>
HtmlFileReader usage was inconsistent between use of ArrayBuffer vs UInt8Array
- Move last visited tag settings from editor Page to project Redux action
- Removed non necessary filter on selecting asset files to delete
Fix bug [#AB17101]
also update README to point ADO badge to new CI pipeline
have to create a new pipeline using the new YAML wizard
so that GitHub Pipelines App is used instead of webhook.
This fix the issue where re-running the ADO build from the
`Check` tab in GitHub doesn't kick off actual build in ADO.
Resolves the issue where keyboard accelerators to navigate between key frames was throwing an error. Main issue was that multiple keyboard bindings were being registered for the hot keys causing weird behavior issues. Keyboard bindings are now only registered for the main video player control inside the canvas.
Resolves AB#17130
* Save last visited asset id on project save
* Scroll to last visited asset on opening project
* Added unit test to check save and load of last visited asset info
Implement [#AB17139]
This adds scripts for generating changelogs and for staging VoTT release.
It will update the version in package.json and generate the changelog,
given previous/next release tags. .
AB#17192
Fixes the issue where the last region in an asset is unable to be deleted. When all the regions on an asset are deleted the asset transitions back into the "Visited" state. Therefore, when the asset metadata is saved is is not persisted back to the file system since it is no longer in the "Tagged" state. The fix is to instead of saving the asset metadata file it should be deleted from the storage provider since the asset metadata file doesn't not provide any additional metadata outside of region data.
Resolves AB#17174
Corrects an issue where bounding box position was not being updated correctly when a region was moved within the canvas editor. Also randomized region test data to ensure we are tests are more accurate
Resolves AB#17173
This fixes the issue where the "Add Connection" button currently displays with the incorrect styles making it appear that the button is disabled.
Resolves AB#17158
Fixes a bug where when attempting to create a new project after already have opened a project it does not close the existing project before navigating the user to the new project screen.
Also resolves issue where security token picker component was not rendering in in project settings form.
Resolves AB#17172, AB#17177, AB#17179, AB#17180
The homepage was incorrectly closing any open project. This fix removes the explicit `closeProject` action and allows the user to navigate to the homepage and back to an open project if desired.
Resolves AB#17140
* Import tag metadata from TFRecords file and save asset metadata with region/tag info and tagged state
* Add tags to Project while automatically import new tag information from the asset metadata
* Refresh Tag component on the EditorToolbar with the new founded tags
* Implement unit tests for testing tag detection, project update and tag component refresh
Resolves AB#17001