etr2460 commented on a change in pull request #9070: [logging] Add flag for 
document visibility
URL: 
https://github.com/apache/incubator-superset/pull/9070#discussion_r374245973
 
 

 ##########
 File path: superset/assets/src/middleware/loggerMiddleware.js
 ##########
 @@ -107,6 +107,7 @@ const loggerMiddleware = store => next => action => {
       ...eventData,
       event_type: 'user',
       event_id: lastEventId,
+      visibility: document.visibilityState,
 
 Review comment:
   should we move this into the top level `eventData` so that it's added on 
timing events too?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to