This updates the Sentry SDK to 7.119.1 to enable recording of canvas & WebGL DOM components during Session Replays and also address an open Dependabot alert. This will allow us much greater insight into user behavior when triaging front-end errors.
In your IDE, open app/javascript/lib/sentry-logging.js and in getIsSuppressedEnv() to add return false at line 71
On line 122, set replaysOnErrorSampleRate to 1.0
Back in a browser, load any study with fully initialized plots
Query for one gene, and then once the plot has loaded use the Return to cluster view button immediately to the right of the gene search bar:
This will throw an error that is reported to Sentry (you can confirm this in the JS console & network tab) that should also now include a replay
Go to Sentry Replays, make sure you have the development environment selected, and then find your replay, confirming you see the content of scatter plots
BACKGROUND & CHANGES
This updates the Sentry SDK to
7.119.1
to enable recording of canvas & WebGL DOM components during Session Replays and also address an open Dependabot alert. This will allow us much greater insight into user behavior when triaging front-end errors.Demo of new replays (fast-forward to ~6:15 to see the new plots): https://broad-institute.sentry.io/replays/d6ee1185376e4b70832e94a965801330/?environment=development&project=1424198&query=&referrer=%2Freplays%2F&statsPeriod=14d&yAxis=count%28%29
MANUAL TESTING
app/javascript/lib/sentry-logging.js
and ingetIsSuppressedEnv()
to addreturn false
at line 71replaysOnErrorSampleRate
to1.0
Return to cluster view
button immediately to the right of the gene search bar:development
environment selected, and then find your replay, confirming you see the content of scatter plots