1
0
Форкнуть 0
Граф коммитов

1090 Коммитов

Автор SHA1 Сообщение Дата
Luke Slevinsky 383e8974fb
remove unneeded lines of code (#74) 2019-07-30 13:27:02 -07:00
Jonathan Wang ded76d29ea
Initial tests for API (#75)
PBI: 30848
Task: 30922

* Initial tests and sample sound files

* Add test script to npm commands, update third party notices, and update developer setup

* Address PR comments

* Make test code more terse
2019-07-30 12:20:00 -07:00
FMounz 806ab9fcb7
Adding a scrollbar to contain the sensor (#69)
PBI 31705
* added scrollbar for sensors

* reduced size so people can see
2019-07-29 13:59:10 -07:00
Luke Slevinsky c4e3ab57a1
Add privacy modals to external links (#62)
PBI: 30304
Task: 30806

* Add privacy modals to extenal links

* Make privacy modal experience better

* Change the privacy notification

* Alphabetical order of imports

* Update src/constants.ts

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Update locales/en/out/constants.i18n.json

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Fix merge error

* Consolidate messages
2019-07-29 10:30:46 -07:00
FMounz 81b57eee41
Added notification when filename is wrong. (#63)
PBI 30934
* Adding notification for the file name deployed to device

* added popup for simulator

* changed the message

* Update locales/en/out/constants.i18n.json

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* changed constant

* removed link from outputchannel

* changed error debug

* changed condition

* solved typo

* changed code

* removed white line

* Update locales/en/out/constants.i18n.json

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* Update locales/en/out/constants.i18n.json

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* Update src/constants.ts

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* Update src/constants.ts

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* changes

* Update locales/en/out/constants.i18n.json

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* Update src/constants.ts

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* added capital P to Python

* changes

* used prettier

* removed useless characters

* removed spreding operator

* deleted unused file
2019-07-21 18:11:50 -07:00
FMounz 28d0a68230
Adding the API call for the temperature sensor. (#60)
PBI 30934

* added temperature value

* removed deead code

* removed dummy

* added type to the slider

* remove unit notions

* changes

* changes to the api

* created new variable

* added degree sign

* removed extra spaces

* more extra spaces removed

* using varaiable for the slider color

* added null check

* beautifying

* beuatifying

* solving issues

* Update src/view/components/toolbar/InputSlider.tsx

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* used prettier

* removed dummy

* prettier again

* following good unsollicited advices 1

* cleaning up

* adding support for stop button

* Update src/extension.ts

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* Update src/view/components/toolbar/TemperatureSensorBar.tsx

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>

* rework setmessage

* reformat

* let's follow best practices

* resolved issue with input
2019-07-21 12:37:23 -07:00
Jonathan Wang 59ce0a9a64
Replace simpleaudio library with playsound library and update docs (#64)
PBI: 30915
Task: 31435

* Replace simpleaudio library with playsound library and update docs

* Capitalize the p in playsound
2019-07-19 21:34:24 -07:00
Christellah 5993800fd9 Updating documentation for installation to make sure people have Python in their path (#66)
PBI: 31448
Task: 31449

* Updating documentation for installation to make sure people have Python in their path

* Apply suggestions from code review

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>
2019-07-19 21:26:43 -07:00
FMounz 3597a552cd
Adding the complete temperature sensor view (#59)
PBI [30939]

* added temperature value

* removed deead code

* removed dummy

* added type to the slider

* remove unit notions

* added degree sign

* removed extra spaces

* more extra spaces removed

* using varaiable for the slider color

* centering yhe label with the slider

* Update src/view/components/toolbar/InputSlider.tsx

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Update src/view/components/toolbar/TemperatureSensorBar.tsx

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Update src/view/components/toolbar/TemperatureSensorBar.tsx

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Update src/view/components/toolbar/TemperatureSensorBar.css

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>

* Update src/view/components/toolbar/InputSlider.tsx

Co-Authored-By: Jonathan Wang <jonathanwangg@gmail.com>
2019-07-19 14:03:20 -07:00
Jonathan Wang 1b268ffb76
Only send telemetry events if not disabled in settings.json (#55)
PBI: 30489
Task: 30912

* Add logic for disabled telemetry

* Make the TelemetryAI a global for refactoring purposes
2019-07-19 11:23:43 -07:00
Luke Slevinsky ecd436c604 Merge branch 'users/t-luslev/add-play-webview' into dev 2019-07-18 12:25:12 -07:00
Luke Slevinsky 76bcaf59c5
Fix green LED and linting fixes (#58)
PBI: 30853 
Task: 31316
2019-07-18 12:18:20 -07:00
Luke Slevinsky 25a3afa872
Add buttons to webview (#54)
PBI; 30913 
Task: 30390, 30391

* Add play button to webivew

* Add refresh button to webview

* Fix merge issue

* Update the way the play button works on the simulator

* make method more descriptive

* remove unneeded comment

* Remove unused import
2019-07-18 12:17:23 -07:00
Luke Slevinsky 26c124c36b Remove unused import 2019-07-18 12:06:01 -07:00
Luke Slevinsky 92c39e6fba remove unneeded comment 2019-07-18 11:51:37 -07:00
Luke Slevinsky 2fb7e682d6 Merge branch 'dev' into users/t-luslev/add-play-webview 2019-07-18 11:49:12 -07:00
Christellah 67357daff6
Improvements from bug bash comments (#56)
[PBI:30845]

* Resetting to switch state to off

* Changing the wording for code deployement to device

* Indicating which file is selected for deployement in the output panel

* Allowing Python processes to be spawned only if a file as been selected

* Killing the process when closing the webview
2019-07-18 10:59:53 -07:00
FMounz addc1b10ef
Merge pull request #57 from microsoft/users-t-famoun/sliderBar
Created the slider Bar to control sensor inputs.
2019-07-18 10:11:15 -07:00
Fatou Mounzeo 792fa33cdb removed title 2019-07-17 19:38:17 -07:00
Fatou Mounzeo c4d7e35ac9 solved issues 2019-07-17 19:32:40 -07:00
Luke Slevinsky c44da4a0d6 make method more descriptive 2019-07-17 17:28:33 -07:00
Fatou Mounzeo 67a17afd2a solve tslint 2019-07-17 16:33:56 -07:00
Fatou Mounzeo af45daf7d7 removed dummy 2019-07-17 16:07:35 -07:00
Luke Slevinsky cda9cf52f1 Update the way the play button works on the simulator 2019-07-17 11:24:57 -07:00
Fatou Mounzeo 0573c47cc9 solved validity issues 2019-07-17 08:27:05 -07:00
Fatou Mounzeo 3c24c36be2 added some value checking 2019-07-17 00:32:53 -07:00
Fatou Mounzeo b70705dd07 arranged styling 2019-07-17 00:31:57 -07:00
Fatou Mounzeo b476a9a888 arranging style 2019-07-16 19:47:36 -07:00
Luke Slevinsky 9c09db475a Fix merge issue 2019-07-16 16:37:34 -07:00
Luke Slevinsky bf808f25ef
Merge branch 'dev' into users/t-luslev/add-play-webview 2019-07-16 16:27:07 -07:00
Luke Slevinsky d39d93b134 Add refresh button to webview 2019-07-16 16:06:29 -07:00
Luke Slevinsky 07f2837830 Add play button to webivew 2019-07-16 16:05:21 -07:00
Fatou Mounzeo b7fd676457 Merge branch 'dev' into users/t-famoun/temperature_sensor 2019-07-16 16:05:11 -07:00
FMounz 42fbb4fc46
Merge pull request #52 from microsoft/users/t-famoun/green-led
Modify svg to turn the power (green) LED on only when the simulator is running.
2019-07-16 16:03:24 -07:00
Fatou Mounzeo 9f860b355b addind slider component 2019-07-16 15:51:55 -07:00
Christellah 6e054cac96
Adding a debugging configuration (#53)
[PBI:30914 - Task:31107]

* Adding a debug configuration to the extension

* Moving debugger configuration to a class and utilitary methods to utils.ts

* Moving strings constants to constants.ts and localization + using 'endQith()' to check the file name

* Adding preserveFocus when opening the webview and the output panel :
Prevents the debugger to fail trying to find the file on first run + prevent having to click on the code file after clicking on open

* Modifying the error message when the file selected to debug isn't properly named
2019-07-16 15:00:25 -07:00
Christellah 19b34d28a5
Updating docs with installation and usage instructions (#50)
[PBI:30144]

* Adding installation and how to use instructions

* Updating the get started for devs docs with pywin32 and link to how to use the extension docs

* Minor docs improvements

* Addressing PR comments

* Addressing PR comments for wording
2019-07-16 11:39:10 -07:00
Jonathan Wang bdaf3cd1ae
Update privacy information regarding telemetry (#51)
* Updated privacy information regarding telemetry

* Address PR suggestions

Co-Authored-By: Luke Slevinsky <lslevins@ualberta.ca>
2019-07-16 11:26:14 -07:00
Jonathan Wang 14d9a5f22c
Add Performance telemetry for deployment to device (#47)
PBI: 30429
Task: 30436

* Implement the telemetry for performance of New Project command and Open Simulator command

* Refactor runDevice() and add performance for deployment to device

* Address PR suggestions
2019-07-16 10:13:53 -07:00
Fatou Mounzeo 204b942313 modified svg to control the power(the green) LED 2019-07-15 12:36:39 -07:00
Luke Slevinsky d03a2b21c4
Use last selected file for running and add errors (#48)
PBI: 30304 
Task: 30960, 30393
* Use last selected file for running and add errors

* refactor pr
2019-07-15 11:34:46 -07:00
Luke Slevinsky 758749773e
Notification for first time closing webview (#46)
PBI: 30304
Task: 30392

* Notification for first time closing webview

* Update notification text for first time close
2019-07-15 10:35:43 -07:00
Luke Slevinsky 586cfb3134
Refactor Simulator code (#44)
* Pull out run simulator command

* Remove forgotten debugging logs

* add back mistaken delete

* remove unneeded comment
2019-07-15 10:25:49 -07:00
Jonathan Wang 31cf194833
Set language association and adhere to docstring convention for template file (#43)
* Set language association and adhere to docstring convention for template file

* Put docstring summary on first line

Co-Authored-By: Brett Cannon <54418+brettcannon@users.noreply.github.com>
2019-07-12 11:07:58 -07:00
Jonathan Wang af1d63038a
Telemetry for Errors and Dialog clicks (#40)
PBI: 30429
Task: 30434

* Update button handling for telemetry

* Add error telemetry

* Remove user's stack trace from being sent as telemetry
2019-07-11 15:20:33 -07:00
Luke Slevinsky d66ff62350
Rename command label (#41) 2019-07-11 09:52:51 -07:00
Christellah 49f0acf958
OSS release code updates (#35)
[PBI : 28294 - Task : 28295]

* Adding fioles for OSS release in the root directory

* Adding file headers license indication

* Adding files for OSS release in the root directory
2019-07-10 17:18:13 -07:00
Luke Slevinsky cbfa8f5367
Add icons to the UI along with configuration options for the user (#39)
RBI: 30301 
Task: 30385, 30387, 30388, 30389 
* Add icons to the UI along with configuration options for the user

* Update some typo errors
2019-07-10 14:22:28 -07:00
Christellah 62621ad1aa
Renaming setup.py to process_user_code.py (#38)
PBI : 30298 - Task : 30384
2019-07-10 11:58:02 -07:00
Jonathan Wang bceaca8a2a
Telemetry for user input on buttons and switch (#37)
PBI: 30429
Task: 30432

* Add telemetry for user input on simulator

* Update button handling for telemetry

* Move where telemetry event is being sent
2019-07-10 11:26:50 -07:00