Pocket between comments with infinite scroll.
I got an issuse with the pockets plugin but it also depends on the infinite scroll plugin:
Pockets can be placed every nth comment on a discussion side. So it depends on how many comments are on one discussion side. Because of the infinite scroll plugin and the Vanilla features to jump to the first unread comment and to see how many comments have already been read in one discussion i had to set the number of comments per side to 1.
So for the user's eye i have one large site with all comments, but in the coder's eye i have a lot of sites with only one comment placed one below another. Now to place a pocket every nth comment fails because there is only one comment per page and nobody wants to put a pocket after every comment.
Do you understand my misery? Do you have any idea how to solve this issue or where i could break up the code? Is it better to solve inside Pocket, or Infinite Scroll or Vanilla itself?