-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi all!
We're batching POST requests in batches of 10 and then using a beacon config to send them. One of the issues with QAing this setup is that there's a lag between tracking the event and the event appearing in the snowplow debug panel (since no network request has gone out yet, we need to wait until there's been multiple-of-10 events tracked before we can debug our events. This often results in me sending a bunch of dummy events to hit that multiple-of-10 number.)
I was thinking this feature could add events that are "queued" (perhaps in "outline" text formatting, a gray background, or some similar visual indication that they haven't been sent yet) to the events list on the left. I haven't developed much in Chrome extensions, but with a bit of preliminary digging it looks like this would mean overriding localstorage from a content script within the window, and then communicating changes to localstorage to the extension (where they'd then have to be parsed and displayed)
Then, when the event actually goes out in a network request, we can match its event ID and then mark the event as resolved by changing its styling to match events that have been sent
(I was actually thinking of taking a shot at implementation if I can budget some hours towards it this week)
Thanks - love the plugin! It's been a life-saver for testing our snowplow setup.