filterbubbler / filterbubbler-web-ext

The FilterBubbler WebExtension turns your browser into a collaborative text classification lab.
37 stars 17 forks source link

The classification of the previous page on the Matches tab can be displayed for some time with no indication that a new classification for the current page is going on in the background. #53

Open schue opened 6 years ago

biancadanforth commented 6 years ago

Really minor; doesn't seem all that slow, but other kinds of classifiers/pages could take longer potentially, so it's a good thing to resolve:

Helpful GIF (hopefully):

issue53filterbubbler

schue commented 6 years ago

I think this is a great suggestion. We need to have the current-page source change the status to PROCESSING immediately when the callback comes in. Some of the delay, however, may be from the process of walking the dom and concatenating the string values in the content.js script. We may need to break that into two events. One announcing that current-page is about to deliver a new value and a second that delivers the actual data.