-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Feature] Custom notification settings #1272
Open
BentiGorlich
wants to merge
2
commits into
dev/new_features
Choose a base branch
from
new/custom-notification-settings
base: dev/new_features
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BentiGorlich
added
enhancement
New feature or request
frontend
Visual issues, improvements, bugs or other aspects relating mostly to the front end
backend
Backend related issues and pull requests
labels
Dec 8, 2024
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
December 8, 2024 18:14
074b8c7
to
a2e5b9b
Compare
BentiGorlich
force-pushed
the
dev/new_features
branch
from
December 8, 2024 23:26
c1aba40
to
eaa3390
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
December 8, 2024 23:33
a2e5b9b
to
65f9bbe
Compare
BentiGorlich
force-pushed
the
dev/new_features
branch
from
December 10, 2024 11:05
e05d4f2
to
6bae56c
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
December 10, 2024 11:06
65f9bbe
to
07863d2
Compare
BentiGorlich
force-pushed
the
dev/new_features
branch
from
January 7, 2025 12:02
6bae56c
to
7d164b1
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
January 7, 2025 12:02
77ba641
to
e88753b
Compare
BentiGorlich
force-pushed
the
dev/new_features
branch
from
January 7, 2025 12:48
7d164b1
to
c6e6807
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
January 7, 2025 12:49
e88753b
to
1d6efed
Compare
BentiGorlich
force-pushed
the
dev/new_features
branch
from
January 7, 2025 13:05
c6e6807
to
5d0bccd
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
January 7, 2025 13:05
1d6efed
to
fecc14a
Compare
You can now set custom notification settings for users, magazine, entries and posts: `Loud`, `Default` or `Muted`. Move the logic of "fetch an endpoint and get html. Replace html node with selector x with the result of the fetch" to another controller, so it can be used outside of subjects (`Entry`, `EntryComment`, `Post` and `PostComment`)
- if the magazine was not on default (e.g.: on loud) and you had "notify on replies" enabled it didn't work -> fix that - rename some variables for readability - add log statement with all the variables
BentiGorlich
force-pushed
the
dev/new_features
branch
from
January 7, 2025 14:32
5d0bccd
to
07d0603
Compare
BentiGorlich
force-pushed
the
new/custom-notification-settings
branch
from
January 7, 2025 14:32
fecc14a
to
905071b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend
Backend related issues and pull requests
enhancement
New feature or request
frontend
Visual issues, improvements, bugs or other aspects relating mostly to the front end
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
You can now set custom notification settings for users, magazine, entries and posts:
Loud
,Default
orMuted
.The heart of the logic is in the method
NotificationSettingsRepository::findNotificationSubscribersByTarget
which replaced some logic in the notification managers.The logic works in tiers:
So if you muted the magazine and thread, but the author is set to "Loud" then you will still get notifications for threads created by them.
If you muted the user, but set the magazine to "Loud" then you will get notifications for threads that are not created by that muted user.