Commit graph

1603 commits

Author SHA1 Message Date
Gigiaj
22903c9340 Properly declare new hangup method sig 2025-05-25 16:34:55 -05:00
Gigiaj
f3c0aebda2 Remove unused 2025-05-25 16:32:52 -05:00
Gigiaj
99576a2432 Remove viewed room setting here and pass the room to hang up (seems state doesn't update fast enough otherwise) 2025-05-25 16:30:23 -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
Krishan
83057ebbd4
Fix additional spam string matching (#2339) 2025-05-25 15:51:19 +05:30
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
Gigiaj
3818671446 Remove repetitive check 2025-05-24 19:30:53 -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
8b22573e43 Re-add the default view current active room behavior 2025-05-23 16:43:50 -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
b6afe3b968 Fixes call initializing by default on mobile 2025-05-23 12:04:06 -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
b18f6366c7 Revert navitem change 2025-05-23 01:55:06 -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
1871f70704 Fix path issue from moving file locations 2025-05-23 01:24:32 -05:00
Gigiaj
27196cbad2 Set dep version to exact 2025-05-23 01:17:50 -05:00
Gigiaj
9b3c6e7c92 Add package-lock changes 2025-05-23 01:13:23 -05:00
Gigiaj
d54bc2c110 Move files to more correct location 2025-05-23 00:01:19 -05:00
Gigiaj
c108295e5a add vite preview as an npm script 2025-05-22 23:53:30 -05:00
Gigiaj
d3ec9facf6 Fix vite build to place element-call correctly for embedded npm package support 2025-05-22 23:53:17 -05:00
Gigiaj
4c8ab4e79d null the default url so that we fallback to the embedded version (would recommend hosting it until performance issue is determined) 2025-05-22 23:52:51 -05:00
Gigiaj
ff02c461e7 Fixes element-call embedded support (but it seems to run poorly) 2025-05-22 23:52:19 -05:00
Gigiaj
e4ce4da8ee Remove unneeded logger.errors 2025-05-22 23:14:24 -05:00
Gigiaj
f262f54728 Fix to use shorthand prop 2025-05-22 23:13:08 -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
a81492c5b2 update imports and dependency array 2025-05-22 19:57:40 -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
c6ceb3f977 revert ternary expression change and add to dependency array 2025-05-22 19:42:46 -05:00
Gigiaj
5481595a67 Remove no longer needed files 2025-05-22 19:42:21 -05:00
Gigiaj
3bd7588497 Add widgetId as a getWidgetUrl param 2025-05-22 17:49:40 -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
0b70ce7591 Remove Date.now() that was causing widgetId desync 2025-05-22 17:33:36 -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