Description
I need to make the UI of a Contentful entry unaccessible in certain conditions and are building a Contentful App to achieve this. I will simply display a sdk.dialogs.openAlert()
in those cases, informing the editor that this entry cannot be accessed at the moment.
Unfortunately, all the sdk.dialogs
always show at least one button and can therefore be closed. But I do not want to show any button, just the alert.
So I wanted to amend the way dialogs are created (and maybe do a PR eventually). I am struggeling to get the package to work locally though.
I cloned the github repo and are trying npm link
but keep getting this error:
npm ERR! command sh -c husky install
npm ERR! sh: husky: command not found

Maybe a quick guide on how to extend the code of this repo locally would be good! Because I am also a bit confused by all the scoped package names.