Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Display replies below tweet #16

Closed
IBBoard opened this issue Sep 1, 2019 · 6 comments
Closed

Display replies below tweet #16

IBBoard opened this issue Sep 1, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@IBBoard
Copy link
Owner

IBBoard commented Sep 1, 2019

Baedert chose to put replies above the tweet in tweet view, so you have to scroll up to see them. This seems odd and is the opposite of what Twitter (and almost every other threaded UI) does.

I should finally get round to making the change to flip it so that it reads the "right" way (scroll up to see previous posts in thread, replies are automatically visible).

(Reported by @jacobmischka as baedert/corebird#369 and backed by me but rejected in Corebird)

@IBBoard IBBoard added the enhancement New feature or request label Sep 1, 2019
@IBBoard IBBoard changed the title Reverse tweet order for replies Display replies below tweet Sep 1, 2019
@LennyPenny
Copy link

Any progress on this?

@IBBoard
Copy link
Owner Author

IBBoard commented Nov 4, 2019

No, not yet. You'll see commits appear in this ticket or a branch called "bug-16-blah-blah-blah" when I start working on it.

I've looked at it before in the Corebird days but never took it too far because Baedert didn't want it. In some ways it should be quite easy, but in others then I think it needed some reasonable thought to be done properly.

IBBoard added a commit that referenced this issue Apr 12, 2020
The check to see if something is a reply is a bit odd (tweet vs RT) so
make a helper method to check it for us
IBBoard added a commit that referenced this issue Apr 12, 2020
This allows us to keep the same model for timelines and replies
(because it's a lot of ugly C code) while continuing to sort timelines
newest-first and replies/replied to as oldest-first
IBBoard added a commit that referenced this issue Apr 12, 2020
* Renamed widgets to be more representative
* Set sort order of model
* Remove "reply indicator" because a) replies are now
  below and b) "in reply to" shows there's a replied thread
  above the tweet
IBBoard added a commit that referenced this issue Apr 12, 2020
This makes more sense when making replied to tweets
appear above a tweet (we work up the chain)
IBBoard added a commit that referenced this issue Apr 12, 2020
@IBBoard
Copy link
Owner Author

IBBoard commented Apr 12, 2020

Okay, I think that branch fixes it. I'm just running it locally for a while to make sure.

Any feedback on it is welcomed (e.g. whether we need more of an indicator that there's "replied to" tweets above, even though the tweet says "in reply to X")

IBBoard added a commit that referenced this issue Apr 13, 2020
The old method was very implementation-centric rather than
intent-centric. It's now better but not perfect.
@j1warren
Copy link

j1warren commented May 6, 2020

Oh, just remembered what I wanted to ask for a while.

cawbird doesn't load all the replies for a tweet when you open one.

For example, link
On the twitter.com page it shows 6 replies, however cawbird for me displays only 2.
Is that how it supposed to work?

@IBBoard
Copy link
Owner Author

IBBoard commented May 6, 2020

That's more relevant to #17.

The short answer is that a) there's no official way to get the replies to a tweet (limitations) and b) the best approximation we have uses the search and is limited to 7 days of history and a few other constraints (again, limitations!). The time limit isn't relevant here, but I imagine some of the other constraints area.

Hashtag-Blame-Twitter-API-Again

IBBoard added a commit that referenced this issue May 6, 2020
Also fixes two bugs in removing tweets and removing "old" tweets
when ordered
IBBoard added a commit that referenced this issue May 7, 2020
"Oldest" is more meaningful than "last" when we have different
sort orderings
@IBBoard
Copy link
Owner Author

IBBoard commented May 30, 2020

Fixed and merged when we merged #17

@IBBoard IBBoard closed this as completed May 30, 2020
IBBoard added a commit that referenced this issue Aug 22, 2020
The check to see if something is a reply is a bit odd (tweet vs RT) so
make a helper method to check it for us
IBBoard added a commit that referenced this issue Aug 22, 2020
This allows us to keep the same model for timelines and replies
(because it's a lot of ugly C code) while continuing to sort timelines
newest-first and replies/replied to as oldest-first
IBBoard added a commit that referenced this issue Aug 22, 2020
* Renamed widgets to be more representative
* Set sort order of model
* Remove "reply indicator" because a) replies are now
  below and b) "in reply to" shows there's a replied thread
  above the tweet
IBBoard added a commit that referenced this issue Aug 22, 2020
This makes more sense when making replied to tweets
appear above a tweet (we work up the chain)
IBBoard added a commit that referenced this issue Aug 22, 2020
IBBoard added a commit that referenced this issue Aug 22, 2020
The old method was very implementation-centric rather than
intent-centric. It's now better but not perfect.
IBBoard added a commit that referenced this issue Aug 22, 2020
Also fixes two bugs in removing tweets and removing "old" tweets
when ordered
IBBoard added a commit that referenced this issue Aug 22, 2020
"Oldest" is more meaningful than "last" when we have different
sort orderings
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants