-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickstart Things #1064
Quickstart Things #1064
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #1064 +/- ##
==========================================
- Coverage 75.38% 75.33% -0.05%
==========================================
Files 80 80
Lines 15443 15452 +9
Branches 1477 1477
==========================================
Hits 11641 11641
- Misses 3766 3775 +9
Partials 36 36 ☔ View full report in Codecov by Sentry. |
@relu91 and @danielpeintner I am aware of the failing eslint but I think I am not understanding how to work with the InteractionOutput type. In the simple coffee machine, I want to return a Promise since the action takes a while. I did not manage to avoid the error by trying different combinations. I have put the ts-ignore statements in order to test the behavior. Other than this:
|
I removed ts-ignore statements and pushed an update (see 511602d). Please let me know whether it works as expected. BTW, there are several log statements that need to be removed.. I think
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove unnecessary log statements
@danielpeintner I have removed the log statements, sorry for oversight. However, your refactoring with the return statements broke the time behavior. Now, the request is immediately answered, before the action is finished. |
I think the latest commits should fix the issue... |
@danielpeintner your contributions fixed the issues. I did:
|
We should keep track of these ignore statements. We used to have #534 for it. |
This reverts commit 0f5f323.
…kan-mqtt-readme Fix MQTT Readme
@danielpeintner the MQTT example was working the whole time, I had changed the file name and was running the old js file the whole time... 🤦 |
Given that the tests are also passing, I would like to merge this asap and deploy it to have it ready for TPAC. @danielpeintner @relu91 any further changes/review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some things we can/should fix/integrate. Otherwise the PR looks good to me. Let's wait for @relu91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As said in the comment above before merging we should copy the js files to the examples
folder. I reviewed the code I think it is a good toy example, but in the next few days I'll try to use the Things lives and I might update it with fixes and improvements.
This reverts commit 54d67d1.
@danielpeintner @relu91 I have implemented the feedback and copied over to the root examples folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to remove the first line, I added suggestions so that I can do a quick commit.
I think I'm going to squash all to commits. |
fixes #1063
and also addresses w3c/wot-cg#67
It is not done yet since: