design-system-package-dsp icon indicating copy to clipboard operation
design-system-package-dsp copied to clipboard

Read-only DSP

Open CITguy opened this issue 5 years ago • 0 comments

What if consumers of the DSP only want to use it to build works based on it or a DSP developer wants to prevent unwanted modifications outside of a defined contribution workflow.

If the DSP were distributed via NPM, there's no direct means of updating/syncing the DSP back to a centralized source, so the VS Code extension would need to disable edit capabilities. However, if there are errors or modifications that can be made, there should be a way to guide the consumer toward an approved contribution workflow (e.g., GitHub, etc.).

Settings

What if there were a settings.readonly config that were optional?

{
  "settings": {
    "readonly": true
  }
}
  • If settings.readonly isn't present it is assumed to be false and everything works as it currently does.
  • If settings.readonly === true, extensions/plugins/apps would disable modification of the DSP in-app on the consumer's machine.

CITguy avatar Oct 09 '20 15:10 CITguy