This commit is contained in:
Paul Frazee 2023-03-22 11:07:00 -05:00
parent a8a747ebcb
commit a369e07956
2 changed files with 1 additions and 18 deletions

View file

@ -72,21 +72,6 @@ export class FeedViewPostsSlice {
this.items.splice(0, 0, {post: this.items[0].reply?.parent})
}
}
logSelf() {
console.log(
`- Slice ${this.items.length}${this.isThread ? ' (thread)' : ''} -`,
)
for (const item of this.items) {
console.log(
` ${item.reason ? `RP by ${item.reason.by.handle}: ` : ''}${
item.post.author.handle
}: ${item.reply ? `(Reply ${item.reply.parent.author.handle}) ` : ''}${
item.post.record.text
}`,
)
}
}
}
export class FeedTuner {
@ -158,8 +143,6 @@ export class FeedTuner {
for (const item of slice.items) {
this.seenUris.add(item.post.uri)
}
// DEBUG uncomment to get a quick view of the data
// slice.logSelf()
}
return slices