Commit Graph

20 Commits

Author SHA1 Message Date
Paulo Lanzarin
6b118bb03c
Merge pull request #21153 from prlanzarin/u30/fix/error-boundary-critical
fix: not all error boundaries should close audio/Apollo
2024-09-13 09:57:28 -03:00
Ramón Souza
776215ec58
restore react 18 createRoot render method (#21041)
* restores react18 createRoot

* fix slideChange issue - new slide not loading

* fix skip video preview

* test: update screenshare function checks + close notifications

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-12 14:34:36 -03:00
prlanzarin
b6a962ff73 fix: not all error boundaries should close audio/Apollo
Currently, all error boundaries close audio and Apollo connections once
an error is caught. This is not the correct behavior as not all error
boundaries are critical, e.g.: the presentation crashing should _not_
break the whole client. It also deviates from how error boundaries
worked in 2.7

Add a new prop to the ErrorBoundary/LocatedErrorBoundary components
called isCritical that flags an error boundary instance as critical. If
true, it'll close Apollo/audio. The default behavior is
isCritical=false, and the only critical error boundaries are the ones
located in the app's root (/client/main.tsx).
2024-09-10 19:00:47 +00:00
Tainan Felipe
f05f5f61d5
Disable react devtools in prod (#21068) 2024-08-30 11:04:46 -03:00
João Victor
62662ee415 refactor(webcam): remove adapter; turn it into a hook 2024-07-30 09:35:47 -03:00
João Victor Nunes
1b99e08da7
refactor: remove /clientStartupSettings request (#20700)
* Remove clientStartSettings request

* Remove StartupDataFetch component

* Fix client logger
2024-07-16 10:40:13 -03:00
João Victor Nunes
54aeb7a9dc
refactor: remove remaining Meteor imports (#20602) 2024-06-28 16:44:14 -03:00
prlanzarin
533c7e86dc fix(bbb-html5): add specific logCodes for root error boundaries
The ErrorBoundary component has a generic log message that is not
overridable and will aggregate errors from different components. The
ideal scenario is that log tags are configurable so that errors can be
filtered for in log post-processing.

Add the logMetadata: { logCode, logMessage } prop to the ErrorBoundary
component so that log tags are configurable. Default tags are
maintained.
Add specific log metadatas for the client startup error boundary
(logCode: 'app_startup_crash') and the user connection error boundary
(logCode: 'app_crash').
2024-05-03 15:27:17 +00:00
Tainan Felipe
210eb0911c Fix: add a adapters manager to lock loading while data sync 2024-05-01 08:38:12 -03:00
João Victor
1f8a95a3ff Remove video-streams subscription 2024-04-24 17:09:00 -03:00
Tainan Felipe
c759a788a2 Refactor: migrate screenshare to graphql using a adapter 2024-04-23 23:58:10 -03:00
Tainan Felipe
f3465827dd
Migrate meeting collection to graphql (#19853) 2024-03-26 08:57:28 -03:00
Ramón Souza
c1d95745e6 fix ts 2024-03-22 16:18:32 -03:00
Ramón Souza
b278c8b143 fix meeting end screen 2024-03-22 16:07:49 -03:00
Ramón Souza
788cf799f7
refactor: make bbb client work without meteor service (partial) (#19869) 2024-03-21 16:41:32 -03:00
Tainan Felipe
d9e2808e2d Merge remote-tracking branch 'upstream/v3.0.x-release' into migrate-user-to-graphql 2024-03-12 19:24:28 -03:00
Tainan Felipe
ae0b97f05a Refactor: move adapter to presence manager 2024-03-08 10:01:17 -03:00
Tainan Felipe
fbd7a706ad Fix: move to after auth validation 2024-03-07 17:22:18 -03:00
Tainan Felipe
3826a49968 Refactor: move adapter to new main and make it non blocking 2024-03-07 14:20:11 -03:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00