pxt-microbit
pxt-microbit copied to clipboard
Extension: add iot cloud kit
cc @tangjie133
@microbit-mark can you update this PR with the changes at 2 places as in this PR https://github.com/microsoft/pxt-microbit/pull/4603/files ?
We need 2 changes before of target.config changes which are live for both /beta & live.
@abchatra this branch was created by Mark in the microsoft/pxt-microbit repo and I don't think anybody else in the foundation has write access. Could you rebase and merge on your end?
@carlosperate now that you have appropriate actions, could you please do the rebase please?
Rebased and entry added to approvedRepoLib
as well.
@jwunderl I think that's a good point. Are there currently any tools in MakeCode to create things that are redacted during sharing? We'd previously discussed with @abchatra a kinda of "secrets" or "settings" part of the program that was stored separately, but as far as I saw from our side we didn't anywhere beyond the feeling that this was possibly necessary for this sort of program.
As far as the use-case here goes, I think one way I can see to avoid secrets going into the program is to do something like create a serial-based password request block, that the user then has to type their password over serial. However, MakeCode serial looks one-way at the moment?
Good point @jwunderl I have filed an issue to track this: https://github.com/microsoft/pxt-microbit/issues/4841
There is no alternate way for IOT extensions today. I am going to approve this based on precedence (we have approved this in the past). Even though a bit risky, shared URL are private and I hope it is not shared with everyone if it includes password.
Once we have the feature in the next release, we can retroactively fix these extensions.