novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
34.46k stars 3.51k forks source link

Does headless support isOnline? #4013

Open mihail727 opened 1 year ago

mihail727 commented 1 year ago

Duplicates

Related page

https://docs.novu.co/notification-center/headless/headless-service

Kind of issue

Missing information

Issue description

I want to use filters with a condition on whether the user is online. novu/headless is installed on the website Does headless support "isOnline" mechanism ?

Context 🔦

"@novu/headless": "^0.17.1",

jainpawan21 commented 1 year ago

Hi @mihail727 👋🏻

@novu/headless package is a client-side package that is used to list in-app messages (notifications).

However, isOnline is a filter applied to the in-app step in the workflow.

mihail727 commented 1 year ago

Hi @mihail727 👋🏻

@novu/headless package is a client-side package that is used to list in-app messages (notifications).

However, isOnline is a filter applied to the in-app step in the workflow.

I can't figure out what exactly is wrong, but the filter rule doesn't work in the new one - "online right now"

Cliftonz commented 10 months ago

@mihail727 Where you able to figure out your issue?