Skip to content

Commit

Permalink
Track document.wasDiscarded along with app load
Browse files Browse the repository at this point in the history
+ Detect refresh after browser tab freezing/discarding - generally would like to keep an eye on this feature
  • Loading branch information
amcclain committed Nov 24, 2023
1 parent 8c80622 commit 39ca4b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions appcontainer/AppStateModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export class AppStateModel extends HoistModel {
appVersion: XH.appVersion,
appBuild: XH.appBuild,
locationHref: window.location.href,
wasDiscarded: window.document['wasDiscarded'],
...getClientDeviceInfo()
},
logData: ['appVersion', 'appBuild'],
Expand Down

0 comments on commit 39ca4b4

Please sign in to comment.