Training Text Bug

Thanks for reporting this, @B111 (is that Bill in 1337speak?). Just deployed a fix for the multiplying thumb issue.

There were actually three things going wrong:

  1. The thumb icons inside story content were rendered large because the story content CSS (width: auto !important) was overriding the icon’s intended 10x10px size. Fixed by adding a more specific CSS rule for score icons inside story content.
  2. When mark.js removes its highlight wrappers (unmark()), it preserves all child elements, including the appended thumb icons. So each time highlights were re-applied, another icon got added on top of the orphaned ones. Fixed by cleaning up those orphaned icons after unmarking.
  3. Clicking on the thumb icon itself (rather than the highlighted text around it) wasn’t recognized as a click inside a classifier highlight, so it triggered an unnecessary re-mark cycle, which made the duplication happen on every click.

For #1 (trained text not removing the story), training text as negative will hide stories only when you’re viewing in Focus mode (the green circle). In All Stories or Unread mode, negatively scored stories still appear but with a red bar on the left. Could you check whether that matches what you’re seeing?