ngxpert / hot-toast

🍞 Smoking hot toast notifications for Angular.
https://ngxpert.github.io/hot-toast/
MIT License
73 stars 7 forks source link

Feature: Grouping - Allows users to group toasts into 1 toast #5

Closed shhdharmen closed 6 months ago

shhdharmen commented 6 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

As of now, there is no feature to achieve grouping of toasts.

What is the new behavior?

New behaviour will allow user to group multiple toasts into 1 toast. See attached video for reference:

Does this PR introduce a breaking change?

[x] Yes
[ ] No

Other information

The <div> surrounding <ng-container> is removed from .hot-toast-message to better and easy structure of layout. User may need to check their templates after updating to v2.

https://github.com/ngxpert/hot-toast/assets/6831283/8bee3165-25ef-448d-9062-6eb1877031bb

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: