Commit Graph

12 Commits

Author SHA1 Message Date
Tainan Felipe
f91903945d
Remove: Remove stack trace and error code from error screen (#21450) 2024-10-16 16:02:53 -03:00
Tainan Felipe
a6c307c8b9
Add: new connection close error messages (#21392)
* Add: new connection close error messages

* Fix: TS type assertion

* Fix: Restore message description

* Add: Locale for server closed connection event
2024-10-14 21:23:58 -03:00
Ramón Souza
4c1bc432a8
fix: client logger streams being created at export time (#21219)
* fix: logger streams being created at export time

* fix typescript warnings

* fix: default logger is only returned in the second call
2024-09-19 15:57:27 -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
Ramón Souza
a9e0e1e2fa fix duplicated log messages 2024-08-06 14:40:34 -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
Ramón Souza
96085110a5
refactor: fix sonarcloud alerts (#20604)
* remove unused argument

* fix Do not use "Error" to declare a variable

* fix Do not use "Array" to declare a parameter

* fix React component names must start with an uppercase letter

* adjust error boundary prop type

* add default values for lock settings
2024-06-28 15:58:38 -04:00
Gustavo Trott
fd3071c28a
Refactor (gql-middleware): Introduces clientSessionUUID and validations (error handling) (#20353) 2024-05-29 17:43:17 -03:00
Tainan Felipe
0a2cf0aa8f Add: connection terminate on client error 2024-05-13 16:58:13 -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
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00
Ramón Souza
9848a2d605 move error-boundary component to common folder 2022-02-15 14:11:03 +00:00