rp1303
NNovu
•Created by rp1303 on 2/8/2024 in #💬│support
Logo update based on dark and light theme
How to convert logo based on dark and light theme in email template?
6 replies
NNovu
•Created by rp1303 on 1/17/2024 in #💬│support
Can we used postmark template id is used in novu workflow?
How to used postmark template id novu workflow?
6 replies
NNovu
•Created by rp1303 on 11/21/2023 in #💬│support
In Self host Novu Mark all as read click then unseen count Api not call
const SUBSCRIBER_ID = "6540a66d7b9fca870e413e123";
const APPLICATION_IDENTIFIER = "rR_23432455";
const Has_MAC =
"ead079cc6c42447accf4ac8f7cf52711a56988eaf4696940a5d8ad560d4828a7";
const NOVU_BACKEND_URL = "https://novu-api.ca";
const novuFetchStrategy = {
fetchUnseenCount: true,
fetchOrganization: true,
fetchNotifications: true,
fetchUserPreferences: true
};
const onNotificationClick = async (message) => {
// your logic to handle the notification click
if (message?.cta?.data?.url) {
router.push(message?.cta?.data?.url);
await new Promise(requestAnimationFrame);
const element = document.querySelector(".mantine-Popover-dropdown");
if (element) {
element.style.display = "none";
}
}
};
const Header = () => {
return (
<NovuProvider
subscriberId={SUBSCRIBER_ID}
subscriberHash={Has_MAC}
applicationIdentifier={APPLICATION_IDENTIFIER}
backendUrl={NOVU_BACKEND_URL}
initialFetchingStrategy={novuFetchStrategy}
>
<PopoverNotificationCenter
showUserPreferences={true}
colorScheme={"dark"}
position="top-start"
offset={10}
onNotificationClick={onNotificationClick}
>
{({ unseenCount }) => <NotificationBell unseenCount={unseenCount} />}
</PopoverNotificationCenter>
</NovuProvider>
);
};
export default function App() {
return (
<div className="App">
Change <b>SUBSCRIBER_ID</b> and <b>APPLICATION_IDENTIFIER</b> values in
App.js to remove loader
<Header />
</div>
);
}
@Pawan Jain @Novu_Bot
17 replies
NNovu
•Created by rp1303 on 11/7/2023 in #💬│support
Can HapiJs support NOVU notification service?
@Pawan Jain @Sudhanshu @Novu_Bot
34 replies
NNovu
•Created by rp1303 on 11/6/2023 in #💬│support
How much take time workflow update development to production?
12 replies