Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to not aggregate reblogs #9248

Merged

Conversation

ClearlyClaire
Copy link
Contributor

Fixes #9222

@ClearlyClaire ClearlyClaire force-pushed the features/opt-out-reblog-aggregation branch from 2be5f2b to 340075e Compare November 9, 2018 21:26
timeline_key = key(timeline_type, account_id)
reblog_key = key(timeline_type, account_id, 'reblogs')

if status.reblog?
if status.reblog? && (aggregate_reblogs.nil? || aggregate_reblogs)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit awkward, but basically none of the tests pass an actual local account (with an associated User) to those functions, so…

@kit-ty-kate
Copy link

@Gargron any opinion on this?

@kedamaDQ
Copy link
Contributor

I am looking forward to merge!

@kit-ty-kate
Copy link

FYI: I'm using this PR on top of 2.6.2 on my instance lesbiab.space and it works perfectly so far

@ClearlyClaire ClearlyClaire force-pushed the features/opt-out-reblog-aggregation branch from 340075e to 9c682f9 Compare November 27, 2018 14:53
@ClearlyClaire
Copy link
Contributor Author

I added a hint because the description wasn't sufficiently clear:
screenshot_2018-11-27 preferences - mastodon instance perso de thibg

@kedamaDQ
Copy link
Contributor

kedamaDQ commented Dec 4, 2018

I often see the actions which are boost and mention. But boosted toot is not visible in my home timeline and only mentioning is visible.
I think to this is a very good function if frequently need to open the account timeline for check to "what is mentioned?".

Otherwise, behavior remains as it is unless actively opt-outed, I like it.

@mayaeh
Copy link
Contributor

mayaeh commented Dec 5, 2018

I think this is useful.

In Japanese, especially in my visible range, I often see that they boosting post and then post impressions ( eg: I like this).
Then I will search for what he is talking about.

This PR can omit this procedure.

However, there are times when I do not want to see the same post many times.

Also, it may be better to show that this setting does not affect posts received before changing this setting.

Also, since the space between the hint and the next setting item is too narrow, I think that adjustment is necessary.
2018-12-05 14 54 59

@ClearlyClaire ClearlyClaire force-pushed the features/opt-out-reblog-aggregation branch from 24a66d5 to 09ab9d1 Compare December 5, 2018 09:50
@ClearlyClaire
Copy link
Contributor Author

Updated the spacing and hint text

screenshot_2018-12-05 preferences - dev instance 1

@ClearlyClaire ClearlyClaire force-pushed the features/opt-out-reblog-aggregation branch from 09ab9d1 to 3ac4f12 Compare December 6, 2018 16:58
@Gargron Gargron merged commit 81bda7d into mastodon:master Dec 9, 2018
@kedamaDQ
Copy link
Contributor

kedamaDQ commented Dec 9, 2018

thank you! thank you for merging!!

@ClearlyClaire ClearlyClaire deleted the features/opt-out-reblog-aggregation branch March 14, 2019 14:39
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Add setting to not aggregate reblogs

Fixes mastodon#9222

* Handle cases where user is nil in add_to_home and add_to_list

* Add hint for setting_aggregate_reblogs option

* Reword setting_aggregate_reblogs label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants