Skip to content

Provide setting to hide replies and reblogs on public timeline

Bryan Shipman requested to merge bhshipman/soapbox:public-timeline-settings into main

Summary

One of my favorite features of other clients is the ability to tailor the home and public timelines separately.

I like to be able to remove all replies / reblogs from the federated timeline and only see "new" posts. I noticed the settings were already available on the public timeline options (settings.ts) - but there weren't any options in the settings panel to flag them on or off. I added those to the preferences/index.tsx with the labels "Public Timeline - [Option]"

I also updated the existing "home" options to include the key word "Home" to denote them from the new Public options. I feel this could be handled more elegantly / attractively

After implementing the flags - during testing - I noticed the public timeline was still using the options set on the "home" timeline settings.

I noticed the public timeline template was passing a value of "home" in the prefix field - so I changed this to "public". This caused the settings to take hold - and replies stopped appearing on the public timeline when the appropriate option was selected.

If changing this option on the timeline has ramifications further down the pipe - I am not aware of them - please let me know if so, though.

I also observed that setting the Public Timeline - Show Reblog to true or false did not seem to make a difference. I'm assuming this timeline is already doing some kind of filtering on reblogs anyway.

Screenshots

Preferences

image.png

Show Replies turned ON

image.png

show replies turned OFF

image.png

Edited by Bryan Shipman

Merge request reports

Loading