N
Novu8mo ago
empe

Display the notification feed without the "bell" element.

@thesockguy: "Hey @Emil , I am here to try to figure out who to get the notification-center-component from the web component bundled version to just display all of the notifications (instead of showing the bell that you have to click on to see the notifications)" @Emil: "I think that the best way for it is actually using the "headless notification library". You can learn more about it here" @thesockguy: "Do you have a bundled / USM version of @novu/headless? I am using this in retool & a USM version is required." @Emil: "Can you help me by elaborating a bit more?: @thesockguy: — "Here are the retool docs: https://docs.retool.com/apps/scripting-events/guides/custom-javascript
"CDNJS lists libraries you can load. Retool recommends you load the minified, UMD build, usually named with the format <library>.min.js. Non-minified builds usually require @require or import statements. Some libraries are not compatible with Retool, and you may need to use these in custom components."
"CDNJS lists libraries you can load. Retool recommends you load the minified, UMD build, usually named with the format <library>.min.js. Non-minified builds usually require @require or import statements. Some libraries are not compatible with Retool, and you may need to use these in custom components."
This means I have no easy way of importing the notification section on the right side of this demo https://notification-center-demo.vercel.app/ The best bet for headless is to use this tutorial to make a WebSocket connect https://www.thegoegetter.com/blog/real-time-retool Could you assist me with this?"
5 Replies
empe
empe8mo ago
@Pawan Jain Can you please have a look here?
Pawan Jain
Pawan Jain8mo ago
@thesockguy Unfortunatly our bundled version does not have an option to list notifications without bell
thesockguy
thesockguy8mo ago
What about the headless version with getting retool connect to the websocket? @Pawan Jain Do you have a bundled verison of novu/headless @Pawan Jain
Pawan Jain
Pawan Jain8mo ago
No
thesockguy
thesockguy8mo ago
How could I connect a websocket without importing any packages? @Pawan Jain