Page MenuHomePhabricator

[lib][native][web] Display a message when accepting an invite link times out
ClosedPublic

Authored by tomek on Apr 26 2024, 12:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 3:21 PM
Unknown Object (File)
Tue, Nov 12, 2:57 PM
Unknown Object (File)
Tue, Nov 12, 2:53 PM
Unknown Object (File)
Tue, Nov 12, 2:29 PM
Unknown Object (File)
Oct 15 2024, 3:39 PM
Unknown Object (File)
Oct 11 2024, 8:41 AM
Unknown Object (File)
Oct 11 2024, 8:41 AM
Unknown Object (File)
Oct 11 2024, 8:40 AM
Subscribers
None

Details

Summary

In order to support a timeout correctly on both platforms we had to change how we store the status on native.
Added a new status which represents a timeout and is handled in the same way as an invalid link - the only difference is a displayed message.

https://linear.app/comm/issue/ENG-7924/improve-invite-link-join-timeout-handling

Web timeout

Web invalid

Web success

Native timeout

Native invalid

Native success

Test Plan

Tested on native and web:

  1. Added a timeout on the keyserver and checked if the timeout message appears
  2. Thrown an exception on the keyserver and checked if the invalid link message appears
  3. Checked if it is possible to join a community

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable