onestyle
onestyle
Explore posts from servers
NNovu
Created by onestyle on 8/22/2024 in #💬│support
Style inbox component react
I was trying to migrate from novu provider to novu inbox component but I had hard time styling it. First, novu react doesn't export dark them as mentioned in the docs, so only light theme is available. Also, in the variables in the appearance props I can control all variables except for on hover color. There's not enough examples on customizing the appearance, controlling notifications hover, or other styles in the elements prop Finally, the inbox notification drops the notification type (when user clicks on notification I would like to know what notification is this, the name of the temple for example post like or new post or new message)
8 replies
NNovu
Created by onestyle on 4/13/2024 in #🚀│general
Use novu on edge`
I'm trying to tigger notification from vercel adge worker and I'm getting an error that xhr adapter is not available and I can only use http (fetch)
[AxiosError: There is no suitable adapter to dispatch the request since :
- adapter xhr is not supported by the environment
- adapter http is not available in the build] {
message: 'There is no suitable adapter to dispatch the request since :\n- adapter xhr is not supported by the environment\n- adapter http is not available in the build',
name: 'AxiosError',
code: 'ERR_NOT_SUPPORT'
}
[AxiosError: There is no suitable adapter to dispatch the request since :
- adapter xhr is not supported by the environment
- adapter http is not available in the build] {
message: 'There is no suitable adapter to dispatch the request since :\n- adapter xhr is not supported by the environment\n- adapter http is not available in the build',
name: 'AxiosError',
code: 'ERR_NOT_SUPPORT'
}
3 replies
NNovu
Created by onestyle on 4/6/2024 in #💬│support
User authorization for react component
I just came across novu and seems very helpful, I'm trying to integrate it with my nextjs app. I cannot figure out how to enable user authz, this seems pretty open and could easily leak other peoples' notifications if their id is known. Is there a way to add some sort of authz here? I'm intrested in using novu cloud.
<NovuProvider subscriberId={'userid'} applicationIdentifier={'appid'}>
<NovuProvider subscriberId={'userid'} applicationIdentifier={'appid'}>
10 replies