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

feat(notifications): new notification pattern #651

Merged
merged 23 commits into from
Feb 2, 2025
Merged

Conversation

e11sy
Copy link
Contributor

@e11sy e11sy commented Feb 1, 2025

This PR is a part of work on new notification model
check related PRs in:

Changes

  • Now we have GraphQL mutation for notification rule deletion
  • Now we have optional threshold and thresholdPeriod fields of the notificationRule used for WhatToReceive.SEEN_MORE state
  • Added WhatToReceive.SEEN_MORE state and removed WhatToReceive.ALL
  • Added Frequency based notifications pattern customization in addNotificationRule form
  • Improved channels endpoint validation with regular expressions

Bonus

  • Now RadioButtonGroup has description slot that could be rendered if props.description is not defined
  • Analytics module does not init if user is not defined

e11sy added 21 commits January 25, 2025 18:39
filteredOption was filtering by link to the objects, which not allowed to pass value with same ['id', 'name', 'value'] and got correct filter (because it is different object with different pointer)

So we should filter objects by id
Added optional slot for description presentation if description option is undefined, we could pass description via component which would be displayed in description slot
Added threshold and thresholdPeriod form and validation
@e11sy e11sy merged commit 39e088b into master Feb 2, 2025
2 checks passed
@e11sy e11sy deleted the new-notification-pattern branch February 2, 2025 20:22
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.

2 participants