Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Sort bookmarks according to the tweet dates (descending/default or ascending) #7

Open
Wikinaut opened this issue Nov 20, 2022 · 2 comments · May be fixed by #26
Open

Sort bookmarks according to the tweet dates (descending/default or ascending) #7

Wikinaut opened this issue Nov 20, 2022 · 2 comments · May be fixed by #26

Comments

@Wikinaut
Copy link
Contributor

Wikinaut commented Nov 20, 2022

Could be a checkbox option in the TBM GUI.

Descending: first tweet shown = bookmarked tweet with the most recent tweet date, then going backward in time.

@Webklex
Copy link
Owner

Webklex commented Nov 20, 2022

Hi @Wikinaut ,
I currently sort by the same index as twitter does. The newest bookmark will be the first one displayed and the oldest one the last.

I don't know the exact time the bookmark got created, all I can do is to keep the fetch order (counting from 1000000 down). However this could break if you have > 1000000 bookmarks.

I used to sort by tweet date, but that would skew the order (compared to the original twiiter order):
https://github.com/Webklex/tbm/blob/main/app/app.go#L120-L125

Best regards,

@Wikinaut
Copy link
Contributor Author

I merged several distinct downloads and the tweets are unfortunately not sorted according to the dates.
Would like to have them sorted to printed date.

See screenshot how it's printed at the moment (after merge of my three and final downloads):
grafik

Wikinaut added a commit to Wikinaut/tbm that referenced this issue Nov 25, 2022
This was referenced Nov 25, 2022
Wikinaut added a commit to Wikinaut/tbm that referenced this issue Nov 25, 2022
@Wikinaut Wikinaut linked a pull request Nov 25, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants