An ATproto social media client -- with an independent Appview.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix to thread ordering in the feed: correctly identify the starts of threads when adjacent

+5 -2
+5 -2
src/state/models/feed-view.ts
··· 601 601 } else { 602 602 if (!item._isThreadChild) { 603 603 threadSlices.push({index: activeSlice, length: i - activeSlice}) 604 - activeSlice = -1 604 + if (item._isThreadParent) { 605 + activeSlice = i 606 + } else { 607 + activeSlice = -1 608 + } 605 609 } 606 610 } 607 611 } ··· 630 634 if (slice.length > 3) { 631 635 reorg.splice(slice.index - removedCount + 1, slice.length - 3) 632 636 reorg[slice.index - removedCount]._isThreadChildElided = true 633 - console.log(reorg[slice.index - removedCount]) 634 637 removedCount += slice.length - 3 635 638 } 636 639 }