Puzzlepart / spfx-solutions

Free SharePoint Framework solutions by Puzzlepart
MIT License
86 stars 40 forks source link

Pzl.Ext.Megamenu: Force announcement popup #51

Open tarjeieo opened 2 years ago

tarjeieo commented 2 years ago

In some rare instances, the organisation might want to force the announcement popup for all users once they load a page with the menu/announcements enabled.

We need a field to control this behaviour. The field description needs to explain what happens. "Vis som popup"

Once the field is enabled, all users that load a page with the extension enabled, should get the announcement popup automatically opened.

When closing the notification, the notification will still open next time you navigate the page. If you close the announcement bar, the message will be removed and the popup will not be displayed for the current user for the current browser session.