555 Commits

Autor SHA1 Mensagem Data
My c7537f033e ci: disable web vott deploy for PR (#670)
only deploy on merge to dev and v2

AB#17541
2019-03-20 14:41:20 -07:00
Phil 57a5633e19 feat: Enable copy rectangle functionality in editor (#651)
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]
2019-03-20 14:41:20 -07:00
Wallace Breza 1480f3710c ci: Merge v2 into dev (#666)
Merge change log and version bump into dev
2019-03-20 14:41:20 -07:00
Wallace Breza 207b0c8706 feat: Added Custom TitleBar & Status Bar (#664)
Introduced custom electron frame, titlebar and status bar to enhance overall look and feel of application.
2019-03-20 14:41:20 -07:00
P.J. Little ce663a7fb2 Release v2.0.0 preview.2 (#662)
release: VoTT v2.0.0-preview.2

Updated version and changelog.
v2.0.0-preview.2
2019-03-08 17:44:34 -08:00
P.J. Little e935c1c4c3 Bug/17537/fix title (#660)
* 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
2019-03-08 19:19:29 -06:00
Tanner Barlow 97ab5a1967 Ignore error from react drag n drop (#648) 2019-03-08 19:19:29 -06:00
P.J. Little 1e93507058 ci: Azure DevOps pipeline definitions for VoTT Web CD (#658)
Yaml files to deploy VoTT to Azure when PRs are merged into
`dev` and `v2` branches.

AB#17489
2019-03-08 19:19:29 -06:00
P.J. Little 80ccb03cc9 ci: script to deploy VoTT to Azure (#656)
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
2019-03-08 19:19:29 -06:00
Wallace Breza b852f1876e fix: Resolves issue exporting all assets (#649)
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
2019-03-08 19:19:29 -06:00
Elizabeth Halper b6bbde44b1 fix: save tagged video frames as "jpg" files (#641)
* added jpg file extension

* fix lint errors

* Tests for extension replacement

* fix: Updated asset name to fix all export providers

* doc: Updated HtmlFileReader comments

* test: Verify file extension is not duplicated

* fix: Resolved minor tsc compile warnings
2019-03-08 19:19:29 -06:00
Elizabeth Halper 9fbd32a2a2 fix: remove grey and white from tagColors (#645)
Removed grayscale colors from tagColors for CanvasTools compatibility

[AB#17175]
2019-03-08 19:19:29 -06:00
Tanner Barlow 3ff426275f Handle project with no tags while loading regions (#644)
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]
2019-03-08 19:19:29 -06:00
My 94282ea372 fix: remove "All assets" from export options dropdown (#646)
"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
2019-03-08 19:19:29 -06:00
Tanner Barlow 5f50017757 feat: Clear Regions updates [AB#17269] (#647)
Clears regions with ctrl+delete, Add tests for clear confirmation, Fix CanvasHelpers test to avoid random fails, Replace clear with remove all

Resolves
2019-03-08 19:19:29 -06:00
Tanner Barlow 33faa6071d fix: Don't allow invalid pasting (#640)
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]
2019-03-08 19:19:29 -06:00
My bd73bf0ea8 fix: set default export format in project (#642)
export wasn't doing anything because there wasn't a default format.

AB#17437
2019-03-08 19:19:29 -06:00
Tanner Barlow 85f7c518ea fix: Tagging new region only applies to one region (#635)
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]
2019-03-08 19:19:29 -06:00
Tanner Barlow 18f6dbb7c4 feature: Enhanced error message for unknown errors (not in prod mode) (#639)
Error message displayed with prettified JSON while not in production mode (to avoid potential leaking of sensitive info)
2019-03-08 19:19:29 -06:00
My 48671cbe48 feature: display project metrics (#638)
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
2019-03-08 19:19:29 -06:00
Elizabeth Halper 149ba4749c fix: re-add exportProject to registerToolbar (#634)
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
2019-03-08 19:19:29 -06:00
Tanner Barlow 9daacad1f8 fix: Upgrade vott-react and add test cases for adding new tags (#637)
Upgrades vott-react to handle error when creating new tags

[AB#17421]
2019-03-05 09:53:36 -08:00
My 4a92ea817e ci: modify pipeline to also run off dev branch (#633)
in preparation for working off of "dev" branch
2019-03-04 14:48:11 -08:00
Tanner Barlow 4aaf0f129d fix: Updated EditorTagsInput to work with vott-react (#630)
Displays locked tags, uses `getTagSpan` to render each tag.

Points to new version of vott-react, solving bugs:

AB#17261, AB#17266.
2019-03-04 14:17:43 -08:00
Wallace Breza 60cb1fb087 fix: Wrap the delete call to protect against 404's (#632) 2019-03-04 09:47:42 -08:00
Elizabeth Halper 58108bf020 feat: add ability to import v1 projects (#610)
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
2019-03-03 13:06:20 -08:00
Luisa de Miranda 3a4612eca3 feat: add hotkeys for all editor toolbar items and simplify tag input hotkeys (remove ctrl+) (#617)
* add hotkeys to toolbar and simplify hotkeys on tags
* fix editor toolbar tests
2019-03-01 18:36:01 -08:00
Wallace Breza 345dbbdb28 fix: Fixes issue where user is unable to navigate to new project screen (#629)
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
2019-03-01 10:12:44 -08:00
Tanner Barlow 886d5e5f68 feat: Copy, Cut, Paste and Clear (#624)
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]
2019-03-01 09:45:12 -08:00
Luisa de Miranda 7dacf6138e docs: adds list of shortcuts (hotkeys) to docs (#628)
This PR adds a list to the user docs of all keyboard shortcuts currently implemented in the app.

AB#17123
2019-03-01 09:35:01 -08:00
Luisa de Miranda 693f6c13b3 fix: replaces emtpy with empty throughout (#627)
This PR fixes one oddly pervasive typo.

AB#17326
2019-03-01 09:34:35 -08:00
Wallace Breza 3783d7114b fix: Resolves typescript tsc compile issues for v3.1.6 (#625)
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
2019-03-01 09:34:09 -08:00
Jacopo Mangiavacchi 8ad667d674 fix: Move last visited tag settings to reducer to fix delete file assets bug [#AB17101] (#626)
- 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]
2019-03-01 09:14:03 -08:00
Phil a0c4fb86dd feat: Export video frames AB#16583 (#585)
Add ability to export video frames in current exporters, treating video frames as images, and verify with tests. 

AB#16583
2019-02-27 14:17:55 -05:00
My 84a35e5c82 ci: make sure build fail if codecov token is missing (#621)
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.
2019-02-27 11:07:54 -08:00
Wallace Breza 1958c79b25 fix: User can navigate between key frames using keyboard accelerators (#619)
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
2019-02-27 10:26:42 -08:00
Wallace Breza 2f227b263d fix: Delete asset metadata files when project is deleted (#620)
Resolves the issue where orphaned asset metadata files still exist on the target connection.

Resolves AB#17101
2019-02-27 10:26:10 -08:00
Jacopo Mangiavacchi d14522f257 feat: Ability to retain the state of the last viewed asset on project open [#AB17139] (#615)
* 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]
2019-02-27 09:50:46 -08:00
Tanner Barlow 6a3e7c240d feat: Locked tags for tagging regions (#600)
Tags can now be locked and applied to regions upon selection or creation.

Resolves [AB#16986]
2019-02-27 09:05:07 -08:00
P.J. Little 6c5296b1b6 ci: update release names and package details (#614)
Update release package names to use a more standard convention
that includes version. Add more details to package.json.

AB#17236
2019-02-26 17:59:20 -08:00
P.J. Little e098ca82f2 ci: add changelog and release scripts (#608)
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
2019-02-26 11:15:03 -08:00
Wallace Breza 3aa2289c88 fix: Fixes issue where regions cannot be deleted (#612)
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
2019-02-26 07:33:55 -08:00
P.J. Little a55fb21298 docs: update contribution guidelines for changelog (#606)
Contribution guidelines now reflect new git commit message
conventions, to support change log generation.

AB#17149
2019-02-25 20:59:44 -08:00
Jacopo Mangiavacchi a5424b9ef1 feat: Add Project version info (#609)
* Add version to project

* Add version to Asset Metadata

* Add version to app settings page

* Add redux test

Implement [#AB17100]
2019-02-25 12:18:06 -08:00
Wallace Breza 8b57dedd7f fix: Correct bounding box values on region move (#604)
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
2019-02-25 11:47:03 -08:00
Wallace Breza 056d405905 fix:Add Connection button displays with correct style (#603)
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
2019-02-25 11:30:25 -08:00
My c418f396c2 ci: update sonarcloud to ignore test files (#602)
1. we were getting code smell noise on test files
2019-02-25 10:01:06 -08:00
Wallace Breza eb7d3a4861 fix:Resolves issue where user is unable to create new project (#601)
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
2019-02-22 15:02:26 -08:00
Wallace Breza 6e767e7839 fix: Navigating to homepage should't close any open project (#596)
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
2019-02-21 14:44:35 -08:00
Jacopo Mangiavacchi 8375279253 feat: Add tag to project while importing TFRecords [AB#17001] (#586)
* 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
2019-02-21 14:42:31 -08:00