seahindeniz / BrainlyTools_Extension

A toolbox for exclusive users of Brainly. It enhances Brainly and provides tools to do fast and massive actions and much more..
https://sahin.in/BrainlyTools
MIT License
1 stars 0 forks source link

The content length filter is not working properly #380

Closed Alphka closed 3 years ago

Alphka commented 3 years ago

Describe the issue/bug: The "Content length" filter on Reported Contents page shows answers with more than 1000 characters, when its value is lower than 120 or 150 length.

To Reproduce: (Might not work always)

  1. Go to brainly.com.br/question/add?reported-contents
  2. Change the value of content length to "lower than 120"
  3. Fetch some reports

After that you'll may be able to see answers that shouldn't be filtered

Length_filter

https://brainly.com.br/perfil/Alphka-14558160

seahindeniz commented 3 years ago

Hi @Alphka

The filter works correctly but not the way you expect. The content length filter calculates only the preview/short version of the content that is visible in the queue. Brainly serves a short version of the real content and extension measures that data. Requesting a full content from Brainly for all fetched contents, may create noticeable delay on some devices that might have slow network or low RAM capacity. Some users can't afford this kind of workflow.

I can change the filter name to be more informative about its functionality, and it should give an idea to users about what should they expect from that filter image