-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Added an event that is emitted when a channel is created. #2711
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2711 +/- ##
==========================================
- Coverage 35.77% 35.75% -0.02%
==========================================
Files 433 433
Lines 9438 9441 +3
Branches 981 1005 +24
==========================================
Hits 3376 3376
+ Misses 5417 5376 -41
- Partials 645 689 +44
Continue to review full report at Codecov.
|
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.
This all looks pretty reasonable to me. @tmeasday any thoughts?
@@ -42,16 +47,6 @@ export default class ReactProvider extends Provider { | |||
const renderPreview = addons.getPreview(); | |||
|
|||
const innerPreview = renderPreview ? renderPreview(kind, story) : null; | |||
|
|||
if (this.options.manualId) { |
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.
@Gongreg Was this just for debugging? Any implications to removing it?
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.
@shilman Kinda. That is what I used before to connect phone with browser.
Seems reasonable to me. Can we use this to fix #1192? |
@shilman we should try it out and create a separate pr i guess. :) |
Issue: Need ability to know when a channel was created between server and manager.
What I did
Added an event (copied logic from #1639).