Feature: Display just published toots in the thread immediately
Hello folks! Thanks for the app ❤️🔥
I'm a recent migrant from twitter and noticed in one of my recent tootnamis that I had to recur to this tiny dance:
- toot something
- tap reply
- toot again
- go out and back in to the toot in step 1 to see my toot from step 3
- repeat steps from step 2
And this adds a ton of awkwardness when doing stream-of-consciousness writing. If this isn't a valid use-case that's fine, but if it should be, I'd love to help make it happen.
In this branch I've been toying around with the codebase, and I've managed to get a flow that looks like this:
https://user-images.githubusercontent.com/854222/201650281-61ce99fe-571d-4962-a08a-32856d27875f.mov
Would this be a welcome addition? If so I'd be happy to get some pointers on how to actually get the data flowing in the right way, and fix some other bugs I've seen with it (like a reply not moving the current thread root, so if you tap to reply on your reply, it is hidden!).
In any case, it was fun doing this live and toot about it as I went along: https://mas.to/@leostera/109340850992406029
That looks useful. First, thank you for your contribution.
And there are some cases that maybe needs an explain. The current iOS app display conversation replies in tree mode with max(2) tier. Tier 3 will be hidden and only the reply count number displayed. So a typically conversation looks like this:
Root (A)
|-tier 1 (someone p1, reply to A, as A')
|-tier 2 (someone p2, reply to A', as A'')
|-tier 1 (someone p3, reply to A, as B)
|-tier 1 (someone p4, reply to A, as C)
|
…
- Reply to root: Just insert it to the top (OK)
- Reply to A': cannot just insert between A' and A'' (Ohhhh)
- Reply to B or C: insert after B (OK)
- Reply to A'': insert after A'' (OK)
So… Maybe we just consider case 1 and ignore the other cases. Or only ignore case 2.
The problem is the app does not have a banner to hinting the post result. Also, this discussion may related