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

Multiple Notifiable models #33

Open
mginod opened this issue Feb 8, 2024 · 1 comment
Open

Multiple Notifiable models #33

mginod opened this issue Feb 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mginod
Copy link

mginod commented Feb 8, 2024

Hello,

thank you for this great package, I'm having a lot of fun in my project using it.

My project has teams and users belonging to teams. Both the Team model and User model can be Notifiable.
I'd like to know if there is a way to display at the same time notifications for the current user and for the team the current user belongs to.
I've seen that a notifiableId parameter can be passed to the megaphone component but it's either the user or the team. Plus that would need to adjust the model property in the config file.

What would be the strategy to achieve the described behavior? Thank you for your input on this matter!

@mikebarlow mikebarlow added the enhancement New feature or request label Apr 25, 2024
@mikebarlow
Copy link
Owner

I like this idea and can definitely see the uses for it. I'll have a think on the best way to achieve this and may even roll it out in the next release if i can come up with a sensible solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants