You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
There are several situations in which the same error is raised several times, due to a decentralized way to manage errors. This results in several stacked error toasts covering a considerable chunk of the UI, which could be omitted.
We need to design an error handler capable to detect duplicated errors and skip them, raising only a single error. This could be achieved by using a queue that only allows a single error in, when several identical errors attempt to enter the queue within an interval of time, as a cooldown time to avoid toasts spamming.
Identical errors could be detected by generating a hash from the error's title and detail / message, and comparing the hashes of the incoming errors.
The text was updated successfully, but these errors were encountered:
Description
There are several situations in which the same error is raised several times, due to a decentralized way to manage errors. This results in several stacked error toasts covering a considerable chunk of the UI, which could be omitted.
We need to design an error handler capable to detect duplicated errors and skip them, raising only a single error. This could be achieved by using a queue that only allows a single error in, when several identical errors attempt to enter the queue within an interval of time, as a cooldown time to avoid toasts spamming.
Identical errors could be detected by generating a hash from the error's title and detail / message, and comparing the hashes of the incoming errors.
The text was updated successfully, but these errors were encountered: