Merged
Conversation
timmydoza
suggested changes
Apr 13, 2021
Comment on lines
54
to
57
| <IntroContainer error={mediaError}> | ||
| {step === Steps.roomNameStep && ( | ||
| <RoomNameScreen | ||
| name={name} |
Contributor
There was a problem hiding this comment.
Here, I think it might be a little simpler if we just had the <MediaErrorSnackbar /> as a child of the IntroContainer, instead of a prop:
return (
<IntroContainer>
<MediaErrorSnackbar error={mediaError} />
{step === Steps.roomNameStep && (
<RoomNameScreen
name={name}
roomName={roomName}
setName={setName}
setRoomName={setRoomName}
handleSubmit={handleSubmit}
/>
)}
{step === Steps.deviceSelectionStep && (
<DeviceSelectionScreen name={name} roomName={roomName} setStep={setStep} />
)}
</IntroContainer>
);
timmydoza
approved these changes
Apr 13, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributing to Twilio
Pull Request Details
JIRA link(s):
Description
This PR addresses the question from GitHub issue #463.
We removed the
<PreflightTest />component from the React app. At one point, this app did run the preflight test that was found in the 2.8.0-beta version of the twilio-video SDK, however it was just a beta feature and hasn't been implemented in the current version of the SDK. We do plan on developing a new preflight test in the future.Note: because of this, the
SubContentfound in the<PreJoinScreens />was no longer necessary, so we moved the<MediaErrorSnackbar />component to the render method in the<IntroContainer />. I've included a screenshot of what this will look like if an error is present:Burndown
Before review
AddedUpdated unit tests if necessarynpm testBefore merge