Thanks, its a great component.
Its posible add a “dismiss” button or “close” button (x).
AI-generated summary
Users are requesting the addition of a ‘dismiss’ or ‘close’ button to the Welcome Banner. Rhod and Heddson first suggested the idea, with icaria36 reiterating the request and asking if it is possible. awesomerobot confirmed that adding the functionality is possible, and Ayelen_Rives echoed the request, suggesting a ‘close’ or ‘hide’ button. awesomerobot has since added a setting that allows the banner to be dismissed, utilizing browser localStorage. A ‘can be dismissed’ theme setting is now available, enabling users to hide the banner by clicking the x.
Really clean and nice banner!
Is it possible to add a dismiss-button, or is that perhaps out of scope for this component?
If the answer is that there are settings to remove the banner based on trust level (and also for staff) then fine. Still, it would be useful to know, if possible, please. ![]()
it’s possible to add this functionality, but it has not been added yet
Hi! I was looking for something like this. Maybe a “close” or “hide” button. It would be really useful for users who have already seen the banner, but don’t want to lose it, just hide it a bit for a cleaner homepage ![]()
Let us know if you add it. Thank you!!
I’ve added a setting that allows the banner to be dismissed ![]()
After updating the component you’ll have access to a can be dismissed theme setting. When enabled you’ll be able to click the x to hide the banner.
Note that this utilizes browser localStorage, so the dismissal is per-browser. So if you dismiss it on desktop you’ll also need to dismiss it on mobile (this is a limitation with how themes work).
Thanks for the suggestion everyone!
This topic was automatically closed after 3 days. New replies are no longer allowed.
