-
Notifications
You must be signed in to change notification settings - Fork 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
Subscribe report event when report successfully created #12365
Subscribe report event when report successfully created #12365
Conversation
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.
Just a couple changes to make the code a bit clearer.
Can you double check that the typing events are actually coming through, on both the newly created as well as existing reports? Thanks!
I just saw that @mollfpr, let me know if you find something before me. |
Co-authored-by: Daniel Gale-Rosen <5487802+dangrous@users.noreply.github.com>
Co-authored-by: Daniel Gale-Rosen <5487802+dangrous@users.noreply.github.com>
Co-authored-by: Daniel Gale-Rosen <5487802+dangrous@users.noreply.github.com>
Umm it's strange, I found that it is only happening with 2-3 specific chats. It's a different issue so I think we can move forward. |
@mollfpr, please try to keep the commit message specific to the change. For example when changing the comment you can use "update comment". |
Co-authored-by: Sahil <thesahindia@gmail.com>
Thanks @thesahindia I’ll keep that in mind. |
ScreenshotsWeb Screen.Recording.2022-11-03.at.2.56.51.AM.movMobile Web - Chrome Mobile Web - Safari Desktop Screen.Recording.2022-11-03.at.7.35.15.PM.moviOS Android LGTM! cc: @dangrous C+ reviewed 🎀👀🎀
|
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.
LGTM!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by @yuwenmemon in version: 1.2.24-4 🚀
|
1 similar comment
🚀 Deployed to production by @yuwenmemon in version: 1.2.24-4 🚀
|
🚀 Deployed to production by @yuwenmemon in version: 1.2.24-4 🚀
|
Details
The subscribe event pusher
AuthenticatePusher
failed to load after creating a report chat/group or workspace room. This happens because the optimistic data is not yet successful, and the server couldn't find thereportID
provided.We should wait for the optimistically created report success first before starting subscribing to the reported event
Report.subscribeToReportTypingEvents
.Fixed Issues
$ #11800
$ #11800 (comment)
Tests
Test on Web/Desktop with inspect element open
AuthenticatePusher
was called in the Network tab it returned a200
status response.QA Steps
Test on Web/Desktop with inspect element open
AuthenticatePusher
was called in the Network tab is returned a200
status response.PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Fix.AuthenticationPusher.Error.Web.mov
Mobile Web - Chrome
Fix.AuthenticationPusher.Error.mWeb-Chrome.mov
Mobile Web - Safari
Fix.AuthenticationPusher.Error.mWeb-Safari.mov
Desktop
Fix.AuthenticationPusher.Error.Desktop.mov
iOS
Fix.AuthenticationPusher.Error.iOS.2.mov
Fix.AuthenticationPusher.Error.iOS.1.mov
Android
Fix.AuthenticationPusher.Error.Android.1.mov
Fix.AuthenticationPusher.Error.Android.2.mov