Commit graph

26 commits

Author SHA1 Message Date
Gigiaj
3e6d55f03b Fix dependency array 2025-05-26 23:12:14 -05:00
Gigiaj
c99112b78b A bit of an abomination, but adds a state counter to iteratively handle the diverse potential states (where a user can join from the nav bar or the join button, hang up from either as well, and account for the juggling iframes)
Black screens shouldn't be occurring now.
2025-05-26 23:11:47 -05:00
Gigiaj
0e332d6616 Solves CCH. Looks like CLCH left 2025-05-26 01:02:35 -05:00
Gigiaj
923982ef30 Fixes CLJH, found CCH 2025-05-26 00:41:55 -05:00
Gigiaj
0bd42a3994 Solves the CHCH sequence issue, CLJH remains 2025-05-26 00:37:48 -05:00
Gigiaj
9b98083d4a In widget hang up button should be handled correct now 2025-05-25 23:41:07 -05:00
Gigiaj
18ea2d2063 Fix formatting 2025-05-25 23:17:36 -05:00
Gigiaj
335df8d6ba Seems to shore up the remaining state issues with the status bar hangup 2025-05-25 23:16:37 -05:00
Gigiaj
df84eb1d71 More correct filter (viewedRoom can return false on that compare in some cases) 2025-05-25 22:40:03 -05:00
Gigiaj
1a821961f3 Fix for cases where you're viewing a lobby and hang up your existing call and try to join lobby (was not rendering for the correct room id, but was joining the correct call prior) 2025-05-25 22:01:57 -05:00
Gigiaj
108eb60b4a Seems to avoid almost all invalid states (hang up while viewing another lobby and hitting join seems to black screen, sets the active call as the previous active room id, but does join the viewed room correctly) 2025-05-25 21:29:53 -05:00
Gigiaj
22903c9340 Properly declare new hangup method sig 2025-05-25 16:34:55 -05:00
Gigiaj
7d26601bfc This seems to manage the hangup state with the status bar button well enough that black screens should never be encountered 2025-05-25 16:29:55 -05:00
Gigiaj
9499289fb3 Prevent null rooms from ever rendering 2025-05-25 16:29:01 -05:00
Gigiaj
0ef9c56a25 Update rendering logic to clear up remaining rendering bug (straight to call -> lobby of another room and joining call from that interface -> lobby of that previous room and joining was leading to duplication of the user in lobbies. This was actually from listening to and acknowledging hangups from the viewed widget in CallProvider) 2025-05-24 19:34:26 -05:00
Gigiaj
f2f98a6973 Add storing widget for comparing with (since we already store room id and the clientWidgetApi anyway) 2025-05-24 19:31:43 -05:00
Gigiaj
0b6009aaee Seems to sort out the hangup status button bug the occurred after joining a call via lobby 2025-05-23 16:34:44 -05:00
Gigiaj
872e9a257f Reduce code reuse in handleJoin 2025-05-23 13:57:01 -05:00
Gigiaj
e220387b3f Corrects the state for the situations where both iframes are "active" (not necessarily visible) 2025-05-23 13:22:22 -05:00
Gigiaj
03cbecc3f9 Provides correct behavior when call isn't active and no activeClientWidgetApi exists yet 2025-05-23 13:21:40 -05:00
Gigiaj
65ff5e3943 Just check for state on both which should only occur at initial 2025-05-23 01:55:54 -05:00
Gigiaj
9302003c30 Sets initial states so the iframes don't cause the other to fail with the npm embedded package 2025-05-23 01:52:38 -05:00
Gigiaj
d54bc2c110 Move files to more correct location 2025-05-23 00:01:19 -05:00
Gigiaj
e4ce4da8ee Remove unneeded logger.errors 2025-05-22 23:14:24 -05:00
Gigiaj
395a24f1a7 Fix spelling mistake 2025-05-22 23:13:08 -05:00
Gigiaj
023a23d87c Rename and clean up 2025-05-22 20:02:13 -05:00