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: add notifications limit option #1192

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

allan-chagas-brisa
Copy link
Contributor

@allan-chagas-brisa allan-chagas-brisa commented Nov 13, 2024

Issue Number

fix #1188

Description

It was required for the notification service to have a limit on the stack of notifications.

Proposed Changes

  • Added a config property to the service;
  • added a control array and a validation to the notification container, so it will close the first notification if the control array is at its max length.

Compliance

  • I have verified that this change complies with our code and contribution policies.
  • I have verified that this change does not cause regressions and does not affect other parts of the code.

@allan-chagas-brisa allan-chagas-brisa merged commit 9c2ed06 into main Nov 18, 2024
6 checks passed
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.

feat: add notifications limit option
4 participants