Commit graph

162 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
Jaggar
f842356438
Merge branch 'dev' into dev 2025-05-25 00:39:38 +00: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
Ajay Bura
c51ba9670e
Release v4.8.0 (#2337) 2025-05-24 21:22:39 +05:30
Ajay Bura
59a007419f hide decline all public invite button when no invite 2025-05-24 21:19:35 +05:30
Ajay Bura
206ed33516
Better invites management (#2336)
* move block users to account settings

* filter invites and add more options

* add better rate limit recovery in rateLimitedActions util function
2025-05-24 20:07:56 +05:30
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
cd0d4c9704 Resolved merge conflict 2025-05-22 20:28:19 -05:00
Gigiaj
0db52c2d37 Moved CallProvider 2025-05-22 20:02:35 -05:00
Gigiaj
023a23d87c Rename and clean up 2025-05-22 20:02:13 -05:00
Gigiaj
67fbf949b0 Move and rename RoomCallNavStatus 2025-05-22 19:57:13 -05:00
Gigiaj
07a980a0c7 Remove CallActivation 2025-05-22 19:44:02 -05:00
Gigiaj
19f1df798f add widgetId to correct pos in getWidgetUrl usage 2025-05-22 19:43:11 -05:00
Gigiaj
5481595a67 Remove no longer needed files 2025-05-22 19:42:21 -05:00
Gigiaj
e5505cd5c2 Remove unused 2025-05-22 17:42:23 -05:00
Gigiaj
7dcd43c64f add listener clearing, camel case es lint rule exception, remove unneeded else statements 2025-05-22 17:41:16 -05:00
Gigiaj
7ef33400c1 Remove superfluous comments and Date.now() that was causing loading... bug when widgetId desynced 2025-05-22 17:33:15 -05:00
Gigiaj
6e33c8e8da Applies the correct changes to the call state and removes listeners of old active widget so we don't trigger hang ups on the new one (the element-call widget likes to spam the hang up response back several times for some reason long after you tell it to hang up) 2025-05-21 21:14:31 -05:00
Gigiaj
d9c0c85483 Remove clean room ID and add default handler for if no active call has existed yet, but user clicks on show chat 2025-05-21 21:12:51 -05:00
Gigiaj
dabe7f7849 swap call status to be bound to call state and not active call id 2025-05-21 21:12:03 -05:00
Ajay Bura
0d27bde33e
Release v4.7.1 (#2332) 2025-05-21 17:28:38 +05:30
Ajay Bura
5964eee833
Release v4.7.0 (#2328) 2025-05-18 11:45:12 +05:30
Ajay Bura
387ce9c462
upgrade to matrix-js-sdk v37.5.0 (#2327)
* upgrade to js-sdk 37

* fix server crypto wasm locally
2025-05-18 10:53:56 +05:30
Gigiaj
3e3d68602f Better handling of the isCallActive in the join handler 2025-05-11 19:24:13 -05:00
Gigiaj
74c883dfa8 Much closer to the call state handling we want w/ hangups and joins 2025-05-11 19:01:47 -05:00
Gigiaj
59a936b094 fix backup iframe visibility 2025-05-11 18:53:05 -05:00
Gigiaj
f3612e23c6 Testing the iframe juggling. Seems to work for the first and second joins... so likely on the right path with this 2025-05-11 17:55:04 -05:00
Gigiaj
f28a3a1c7d Conditionals to manage the active iframe state better 2025-05-11 17:52:50 -05:00