Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel
sanao ff39f9b3c2
feat: Hide self-boosts (#3534) (#4101)
# Overview
Some Mastodon posters have a annoying habit of boosting their own posts
some time after they've posted them.
 No need to see the same toot over and over again.

# Changes made
- Add an additional option to the "Filters > Tabs" preference to show
these self-boosts (default: on)
- If "Show boosts" is turned off, self-boosts are automatically hidden.
    
# Screenshot
***screen of "Filters > Tabs" preference***
before | after
:--: | :--:
| <image
src="https://github.com/tuskyapp/Tusky/assets/62137820/16ed2f4a-0776-4f60-afe6-29827acf5bbd"
width="300"> |<image
src="https://github.com/tuskyapp/Tusky/assets/62137820/9d4e1457-f71d-440c-959f-b91f7433b29a"
width="300" />

***screen of Home Timeline***
***switch-on(self-boosts are displayed)*** | ***swith-off(self-boosts
are not displayed)***
:--: | :--:
| <image
src="https://github.com/tuskyapp/Tusky/assets/62137820/3bb80791-a81f-4cbc-98ad-8a14602e53a4"
width="300" />|<image
src="https://github.com/tuskyapp/Tusky/assets/62137820/a7964da8-d106-4209-b911-460ef8988831"
width="300" />

# Related issue
 Fixes #3534
2023-11-13 10:04:39 +01:00
..
CachedTimelineRemoteMediator.kt don't crash on unexpected json responses 2023-05-08 19:24:57 +02:00
CachedTimelineViewModel.kt improve local status updates (#3480) 2023-09-26 09:08:58 +02:00
NetworkTimelinePagingSource.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
NetworkTimelineRemoteMediator.kt Add "Trending posts" (statuses) feed (#4007) 2023-09-14 22:37:41 +02:00
NetworkTimelineViewModel.kt Fix showing filtered (warn) boosts in timelines (#4079) 2023-10-30 08:42:16 +01:00
TimelineViewModel.kt feat: Hide self-boosts (#3534) (#4101) 2023-11-13 10:04:39 +01:00