Modern Widget: no more duplicate suggested topic display + custom content categories

In Modern Widget, customers using the Recommend on page functionality noted that they were seeing duplicates of two types of recommended categories:

  • Topic display categories
  • Custom content categories

These two categories would show up twice in the "Suggested for you" section of the Modern widget.

We've updated the widget's recommended articles function and the single page application function to remove the duplicates.

You shouldn't need to make any changes to your widget embed code or function calls to see these changes, but let us know if you're still noticing any duplicates!