markwhen icon indicating copy to clipboard operation
markwhen copied to clipboard

Feature Request: centrally managed configuration and defaults

Open Tails opened this issue 3 years ago • 1 comments

When hosting a cascade.page instance, I like to define the configuration in a certain way, for example, with the sidebar disabled and with the "light" theme enabled.

Currently, to do this requires adjusting the defaults of the Vue components or injecting custom code to fill the localStorage with these configuration options.

It would be great if such options could be defined centrally in a JSON file that is either compiled into the instance or loaded over AJAX so that people running their own instance do not have to (pre)compile Nuxt.

Example of configuration options that would be nice to have:

  • hide/show certain buttons in the sidebar
  • set default theme that is statically compiled by Nuxt (to prevent a theme change flash on hydration)
  • set editor pane enabled/disabled
  • enable/disable theme switcher
  • etc

Tails avatar Apr 20 '22 11:04 Tails

Possibly related to #55

kochrt avatar Jun 30 '22 02:06 kochrt