ENG-6668 : Only open tunnelbroker on a tab with a lock
Using the previously useWebLock hook, we can open the tunnelbroker connection only on one of the tabs in the foreground.
Depends on D11114
Paths
| Differential D11118 Authored by michal on Feb 20 2024, 4:44 AM.
Details Summary ENG-6668 : Only open tunnelbroker on a tab with a lock Using the previously useWebLock hook, we can open the tunnelbroker connection only on one of the tabs in the foreground. Depends on D11114 Test Plan Switch between different tabs, make sure after a little bit of time (disconnetion of the previous tab and connection of the current tab) the new tabs connects to the tunnelbroker. Make sure that if multiple tabs are visible and in the foreground, only one tab connects to the tunnelbroker. Because of ENG-6875 I introduced a quickfix to test this diff. I will wait with landing and after the issue is resolved I will re-test it.
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptFeb 20 2024, 4:44 AM2024-02-20 04:44:28 (UTC-8) Harbormaster completed remote builds in B26992: Diff 37352.Feb 20 2024, 4:58 AM2024-02-20 04:58:53 (UTC-8) michal edited the test plan for this revision. (Show Details)Feb 20 2024, 6:10 AM2024-02-20 06:10:49 (UTC-8) Harbormaster completed remote builds in B26996: Diff 37356.Feb 20 2024, 6:32 AM2024-02-20 06:32:20 (UTC-8) Harbormaster completed remote builds in B27201: Diff 37650.Feb 27 2024, 6:17 AM2024-02-27 06:17:01 (UTC-8) This revision is now accepted and ready to land.Mar 4 2024, 6:00 AM2024-03-04 06:00:00 (UTC-8) Harbormaster completed remote builds in B27298: Diff 37775.Mar 4 2024, 7:05 AM2024-03-04 07:05:33 (UTC-8) Closed by commit rCOMMaff06cc4ecab: [web] Only open tunnelbroker on the active tab (authored by Michal Gniadek <michal.gniadek@swmansion.com>). · Explain WhyMar 4 2024, 7:18 AM2024-03-04 07:18:27 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 37779 lib/tunnelbroker/tunnelbroker-context.js
web/app.react.js
web/web-lock.js
|