cs481-ekh / s24-gone-phishin

https://cs481-ekh.github.io/s24-gone-phishin/
MIT License
1 stars 0 forks source link

Fix extension needing page refresh on opening another email #144

Closed Subpoened-peon closed 2 months ago

Subpoened-peon commented 3 months ago

Our extension sometimes requires the user to refresh the page to scan additional email.

Steps to reproduce the behavior: Load the extension and open an email to scan it. Navigate back to the inbox and open a second email.

Expected behavior None of the information from the previously scanned email should be retained after going back to the user's inbox. The extension should be able to scan as many emails in a row without needing a page refresh.

SorrenMosher commented 2 months ago

Did basic research on how to listen for changes in web addresses. Implemented automatic scan upon opening an email. Fixed the email's results not being flushed after navigating away from the email. Submitted pull request. [t:180]

SorrenMosher commented 2 months ago

Fixed new bugs introduced: Scan results are now cleared for all labels and folders in the inbox. Scan results are no longer inaccurate when swapping between emails rapidly. [t:110]