Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Allow customising of Content #37

Open
SirRawlins opened this issue May 4, 2017 · 0 comments
Open

Allow customising of Content #37

SirRawlins opened this issue May 4, 2017 · 0 comments

Comments

@SirRawlins
Copy link
Contributor

As part of the core product, we allow people to personalise the content on their status page, either by switching language or by using the "content" section from within the UI.

I'd like to add similar functionality to the plugin. However, I need to give some consideration as to the best approach for this.

My current thoughts are around a few different options:

  1. Provide data- attributes on the plugin definition which allow users to ad-hoc their own content.
  2. Provide locale.json files for the plugin with a bunch of supported languages.
  3. Provide a JS object configuration option similar to data-which allows you to add or personalize languages.
  4. Pull language/content settings down through the API (not yet supported)

All of these have pros and cons, if anyone has any thoughts or opinions let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant