Skip to content

Remove special case notifying post author of threads#1548

Merged
trichoplax merged 51 commits intodevelopfrom
MoshiKoi/1025/remove-special-case-notifying-author-of-threads
Mar 3, 2026
Merged

Remove special case notifying post author of threads#1548
trichoplax merged 51 commits intodevelopfrom
MoshiKoi/1025/remove-special-case-notifying-author-of-threads

Conversation

@trichoplax
Copy link
Contributor

@trichoplax trichoplax commented Mar 3, 2025

This pull request continues from #1037 that was from MoshiKoi's fork. It's now a branch on the QPixel repo to allow any QPixel developer to work on it. See the discussion on that previous pull request.

Fixes #1025.

Changes

  • The post author is no longer a special case for notification of new threads:
    • The post author is no longer automatically notified of each new thread under the post.
    • The post author is now automatically made a new thread follower of each new post.
    • The migration makes the post author of each existing post a new thread follower of the post.
    • As a result, the post author is now able to unfollow their own post.
  • The "Auto follow comment threads" user setting now only affects threads, not posts:
    • The description of the "Auto follow comment threads" user setting has been amended to make more clear that it applies to threads you create or participate in, not to posts.
    • A user can no longer opt out of being notified of new threads on all of their posts.
    • A user can now opt out of being notified of new threads on a specific post.
  • A user can now follow new threads under a locked post.

MoshiKoi and others added 5 commits April 20, 2023 21:41
Instead of special casing creating a notification,
we just have them follow normally automatically.
Remove special case notifying author of threads.

This merge takes the changes so far from MoshiKoi's fork to a new branch `MoshiKoi/1025/remove-special-case-notifying-author-of-threads` in the `qpixel` repo. This will allow any qpixel developer access to continue work on this new branch and make a new pull request into `develop`.
@trichoplax trichoplax marked this pull request as draft March 3, 2025 23:15
…hreads' of github.com:codidact/qpixel into MoshiKoi/1025/remove-special-case-notifying-author-of-threads
Now that pull request 1548 makes post author notification of new
threads part of the standard post following rather than an
author-specific special case, the author needs to be a follower
of the post in the test fixtures to prevent a test failing.
The test is:

test/controllers/comments_controller_test.rb
'Should create new thread'
Line 18
@trichoplax trichoplax marked this pull request as ready for review August 18, 2025 20:43
@Oaphi Oaphi requested review from a team and cellio August 21, 2025 23:53
@trichoplax trichoplax marked this pull request as draft August 21, 2025 23:58
@trichoplax
Copy link
Contributor Author

Note that there is a suggested migration approach in a comment on the original version of this pull request, which will need to be added to this new pull request before merging. I haven't implemented this migration yet because it needs to come after the migration in #1920 so I'll wait until any changes requested during its review to ensure this one is dated later than that one.

@trichoplax trichoplax changed the title Remove special case notifying author of threads Remove special case notifying post author of threads Feb 8, 2026
@trichoplax trichoplax marked this pull request as ready for review February 8, 2026 23:20
@trichoplax trichoplax requested review from ArtOfCode- and Oaphi March 1, 2026 08:18
@trichoplax trichoplax merged commit 38c6dc0 into develop Mar 3, 2026
13 checks passed
@trichoplax trichoplax deleted the MoshiKoi/1025/remove-special-case-notifying-author-of-threads branch March 3, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants