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

199 Коммитов

Автор SHA1 Сообщение Дата
Jordan Ellis f843079eb9 added platform support for registration + trying to get debugging working 2019-01-08 15:48:05 -08:00
Jordan Ellis d0cfe21951 removed dep change 2019-01-08 11:51:50 -08:00
Jordan Ellis e2f1d71cf0 removed from state, made into module 2019-01-08 11:47:41 -08:00
Jordan Ellis d8e8b7d80d simplified, removed redundant information 2019-01-08 11:17:57 -08:00
Jordan Ellis c13ec4e523 fixed up appContext's hostProcess & os props 2019-01-07 16:16:13 -08:00
Jordan Ellis c7f8683a9f init process & os contextual info 2019-01-07 13:51:49 -08:00
Wallace Breza ba82f012ab
Created connection provider picker to dynamically load provider list (#448)
* Created connection provider picker to dynamically load provider list

* Updated existing unit tests

* Added unit tests for connection provider picker
2019-01-07 10:13:42 -08:00
Tanner Barlow da85e8dfc9 Fix storage type property on AzureBlobStorage Provider (#450) 2019-01-07 09:58:24 -08:00
Tanner Barlow b268fc79cc
Remove StorageType from IConnection and move to IStorageProvider (#447)
* all tests passing except cloud picker filter

* instantiate mock storage provider from connection and fix test

* lint fix

* fix cloud file picker tests

* rename enums
2019-01-07 07:28:42 -08:00
My b1cf06cb4b
[AB#16330] Set up codecov support (#441)
1. Modify linux agent test run to upload coverage report to codecov.
1. Enable pr comment so codecov can post back report to PR.
1. Enable commit status so it will block if coverage goes down.
2019-01-04 14:44:10 -08:00
My cd6517f80e
[AB#16374] set up editor config (#445)
* enforce consistent style
2019-01-04 14:05:04 -08:00
Wallace Breza 7d0c16f1ab
Updated CSS styling for tags component (#446) 2019-01-04 13:50:24 -08:00
Tanner Barlow 13ba7cdc7c
Open project from cloud storage (#434)
* open cloud project modal

* lintfix

* setting initial state on close

* update local project title

* only showing cloud connections in modal

* basic tests

* rebase on upstream v2

* lintfix

* setting initial state on close

* update local project title

* only showing cloud connections in modal

* basic tests

* async tests for component flow

* clean up imports

* add type check for typescript compiling

* replaced test projects and connections with mock factory

* adding connection type upon creation

* add ref to cloud picker and fix tests

* keep picker open when 'Go Back' is clicked

* rename button handlers

* remove unnecessary flush promises

* fix enum keys

* fix enum keys
2019-01-04 11:55:45 -08:00
Tanner Barlow 4449d6bc10
Set Azure Blob as default storage provider (#443)
* Set Azure Blob as default storage provider, fix tests

* lint fix

* fix strings test
2019-01-04 11:47:24 -08:00
Wallace Breza 1d3b205d4a Refactored tests to use enzyme methods vs. direct DOM methods (#444) 2019-01-04 11:43:52 -08:00
Wallace Breza 825f3269b8
Unit Test Improvements (#439)
* Added new unit tests for html file reader

* Added more coverage to asset service tests

* Updated local file system unit tests to use mock file system

* Fixed imports, vars based on PR feedback

* Updated asset file extension suffix

* Reverted use of mock-fs, not supported in newer node versions
2019-01-04 10:14:15 -08:00
Wallace Breza 943949f360
Refactored confirm/alert/messagebox components (#442)
* Abstracted confirm and alert components from messagebox

* Updated messagebox to auto-close on any button click

* Finished refactor of confirm/alert components with messagebox
2019-01-04 08:20:58 -08:00
Tanner Barlow d72d7fb421
File Extension Constants (#435)
* replace file extensions with constant values

* add asset file extension constant

* lint fixes
2019-01-03 12:51:01 -08:00
Tanner Barlow c14f7e244e
Save project on tags change (#438)
* Save project on tags change

* lintfix
2019-01-03 12:48:12 -08:00
Wallace Breza dbb6a30804
Added basic confirmation component (#416)
* Added basic confirmation compoennt

* Added unit tests for confirm component

* Fixed tsc compile warnings

* Moved vars into beforeEach block
2019-01-02 17:00:31 -08:00
My 3e1e7a1c28
use bash shell in all agents (#432)
1. previous iteration was mistakenly using the Shell task and that was not compatible with react-scripts, resulting in missing logs.
1. fix is to use Bash to run all commands
2019-01-02 14:58:32 -08:00
Phil e28dd900c6 fix file location issue (#431) 2019-01-02 08:09:50 -08:00
Tanner Barlow a581e6c5aa
Simple Contribution Guidelines (#424)
* initial stab at docs

* Basic contribution guideliens for PRs and Issues

* fix typos
2018-12-30 11:49:39 -08:00
Tanner Barlow 1e8b82c10a
Organize common components into directories, udpate imports (#429) 2018-12-30 11:49:27 -08:00
Tanner Barlow a55593887e
TagsInput Component Optional Click Handlers (#410)
* Testing shift key and ctrl key

* finalize unit tests

* jsdocs on tagsInput

* remove editmode property

* clean up and organize

* fix comment on react tags converter

* fix editor footer tests

* fix conflicts and update tests with new modal
2018-12-28 10:03:32 -07:00
Tanner Barlow be5a8f1792
Azure Blob Storage Provider using updated SDK (#426)
* Azure implementation with new Azure storage SDK and unit tests

* organize imports

* move around dependencies

* update dependencies

* update dependencies

* rename and register azure blob storage

* azure working with SAS

* fix package.json

* add initialize function to azure blob storage

* new test for getFileName, initialize provider in each test

* revert default connection to bing image search to satisfy connection page test

* fix strings test with connections form
2018-12-28 08:53:17 -07:00
Tanner Barlow 0beaa53239
Localization of application strings, English & Spanish support (#415)
* started basic localization implementation

* add connection settings string

* lint fix

* helper function to replace variables in json

* remove variable replacer from strings.ts

* Replacing values in json files

* testing english and spanish translations

* lintfix

* update test format

* reformat tests again

* using ts interfaces rather than json files

* Fix spanish translation

* testing all JSON schemas for english and spanish

* replaced all inline text with localized strings

* lint fixes and add translations

* defaults to spanish to find non-localized strings

* translate provider json schemas

* lint fixes and rename language files

* add loc values on same line as require

* lint fix
2018-12-28 05:46:43 -07:00
Tanner Barlow e3da69730b
Replace old modal with Reactstrap Modal (#421)
* fixed test cases

* fix tags input test

* fix editor footer test
2018-12-28 04:21:02 -07:00
My 6800dc3642
also run tests on windows and mac machines (#418) 2018-12-21 14:08:25 -08:00
Jacopo Mangiavacchi 07b20e4237
Merge pull request #405 from Microsoft/jamangia/tf-pascal-voc-exporter
TensorFlow Pascal VOC Exporter
2018-12-21 13:02:38 -08:00
Tanner Barlow 5faec4b813
Tag Editor Modal Fix & Tests (#414)
* passing all tests, skipping simulate change on fields

* reverted back to old format w/ onchange & componentDidUpdate

* use 'onOk' rather than 'onSubmit'

* all tests passing except for modifying name

* all tests passing except for modifying name

* fix modal test to run with setProps, update Ok and Cancel button orders in other tests

* fix style of buttons

* organize imports

* additional asserts on function calls
2018-12-21 13:52:37 -07:00
Jacopo Mangiavacchi 21fc602e8e Renamed results variable 2018-12-21 12:49:48 -08:00
Jacopo Mangiavacchi 03e6329fc4 Merge branch 'v2' into jamangia/tf-pascal-voc-exporter
# Conflicts:
#	src/common/mockFactory.ts
2018-12-21 11:55:14 -08:00
Jacopo Mangiavacchi 2f5252eb3e Several fixes from PR comments 2018-12-21 11:41:59 -08:00
Jacopo Mangiavacchi 84ed759521 Fixed bug with wrong image 2018-12-21 10:21:29 -08:00
Jordan Ellis 250b383eb1 ConnectionPage & ConnectionForm Tests (#397)
* start of tests

* testing updates

* tests

* more tests

* test

* more progress

* connections page test

* more progress...

* tests working

* minor changes

* CI fix

* testing

* stubbing out saveConnection

* left in some nice to haves for further investigating

* Fixed broken tests, added override to prevent local storage state loading from local storage

* Fixed merge conflicts from v2

* Updated test to set bing image search provider options

* Updated unit test to support refactory of connection delete
2018-12-21 09:16:42 -08:00
Jacopo Mangiavacchi 04d57b6443 Fix: wait for loading all image base64 buffer 2018-12-21 09:02:28 -08:00
Elizabeth Halper b748558a54
Merge pull request #403 from Microsoft/elhalper/15626/editor-page-test
Elhalper/15626/editor page test
2018-12-21 10:09:18 -05:00
Jacopo Mangiavacchi efa74b65bf WIG Loading images at runtime converting to base64 2018-12-20 20:59:54 -08:00
Jacopo Mangiavacchi 6b2837465d Added unit test and some fix 2018-12-20 18:37:04 -08:00
Wallace Breza b3dbd571e4 Updated tests to verify project actions were called as expected 2018-12-20 17:54:09 -08:00
Jacopo Mangiavacchi e62859616a Export file pascal_label_map.pbtxt 2018-12-20 17:40:43 -08:00
Wallace Breza 5c2a60111f
Global Form UI Cleanup (#413)
* Updated project form ui

* Cleaned up project form validation

* Cleaned up connection form UI

* Applied updated UI styles and validation to export form
2018-12-20 16:05:03 -08:00
Elizabeth Halper 58c3addd46 tests pass with unhandled promise rejection warning 2018-12-20 18:04:35 -05:00
My f573b20d68
pipeline for building release artifact (#412) 2018-12-20 13:29:50 -08:00
Elizabeth Halper 8a307ff158 Merge branch 'v2' into elhalper/15626/editor-page-test
the rebase will not work
2018-12-20 14:23:24 -05:00
Elizabeth Halper f6172e9f9e saving changes for rebase 2018-12-20 14:17:27 -05:00
Elizabeth Halper 62975effa2
Merge pull request #411 from Microsoft/wabrez/editor-sidebar-select-asset
Fixes issue with testing editor sidebar selection
2018-12-20 14:12:16 -05:00
Elizabeth Halper 5edfddc641 fix linting errors 2018-12-20 14:09:18 -05:00
Wallace Breza 6cb936988c [AB#16328] Fixes issues with running app from static files (#404)
* Modified to support running off of local static build

* Added silent flag to coverage script

* Updated azure-piplines.yml to point to correct location

* clean up and merge changes from My's branch

* fix file path

* update package-lock.json

* refactor webpack configs
2018-12-20 10:58:37 -08:00