FEATURE: Silence Close Notifications User Setting (#26072)

This change creates a user setting that they can toggle if
they don't want to receive unread notifications when someone closes a
topic they have read and are watching/tracking it.
This commit is contained in:
Blake Erickson
2024-03-08 15:14:46 -07:00
committed by GitHub
parent 3f1566eeb1
commit f71e9aad60
13 changed files with 106 additions and 9 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddTopicsUnreadWhenClosedToUserOptions < ActiveRecord::Migration[7.0]
def change
add_column :user_options, :topics_unread_when_closed, :boolean, default: true, null: false
end
end