When an error occurs, we're updating the params to let the user know that the link is invalid. This isn't ideal, as the error might be caused by e.g. a timeout and a link is still valid, but it is by far the simplest solution.
Depends on D7558
Paths
| Differential D7559 Authored by tomek on Apr 21 2023, 4:06 AM.
Details Summary When an error occurs, we're updating the params to let the user know that the link is invalid. This isn't ideal, as the error might be caused by e.g. a timeout and a link is still valid, but it is by far the simplest solution. Depends on D7558 Test Plan Introduce a sleep on server side and the throw. Check if the error state becomes enabled.
Diff Detail
Event TimelineHerald added subscribers: atul, ashoat. · View Herald TranscriptApr 21 2023, 4:06 AM2023-04-21 04:06:40 (UTC-7) tomek edited the summary of this revision. (Show Details)Apr 21 2023, 4:07 AM2023-04-21 04:07:21 (UTC-7) Harbormaster completed remote builds in B18622: Diff 25512.Apr 21 2023, 4:24 AM2023-04-21 04:24:42 (UTC-7)
This revision is now accepted and ready to land.Apr 25 2023, 4:20 AM2023-04-25 04:20:06 (UTC-7) Harbormaster completed remote builds in B18819: Diff 25779.Apr 26 2023, 1:11 PM2023-04-26 13:11:39 (UTC-7) Closed by commit rCOMMecb0feb66ee3: [native] Handle error state when joining a community (authored by tomek). · Explain WhyApr 27 2023, 7:15 AM2023-04-27 07:15:45 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 25843 native/navigation/invite-link-modal.react.js
|