structurizr / lite

Structurizr Lite
https://docs.structurizr.com/lite
MIT License
232 stars 28 forks source link

hide Introduction cookie expiry #17

Closed revjtanton closed 1 year ago

revjtanton commented 1 year ago

Your JQuery is setting the expiry on the cookie to December 2022. Since that has passed, the cookie doesn't set, and the pop-up returns repeatedly. This is what is in the UI code on inspection:

document.cookie = "structurizr.hideDiagramEditorIntroduction=true; expires=31 Dec 2022 23:59:59 UTC; path=/";

Using the console, and changing it to Dec 2030 fixed it. I'm not seeing if ya'll have a repo for the UI anywhere, I would put in a PR for it, but ¯_(ツ)_/¯

Hope this helps :)

simonbrowndotje commented 1 year ago

Duplicate of #15?