Greenheart / idg.tools

Inner Development Toolkit - Transformational Skills for Sustainable Development
https://idg.tools
GNU Affero General Public License v3.0
21 stars 31 forks source link

Consider making dimensions/skills relationships read-only in the CMS #359

Open Greenheart opened 10 months ago

Greenheart commented 10 months ago

This would prevent accidental edits that otherwise cause serious problems.

Then in the future when we need to update relationships, we could temporarily enable CMS editing in the local version of the CMS. But in the public version for non-developers, we keep it simple to reduce the potential for errors.

Greenheart commented 10 months ago

Update: After some research, it seems like this is not supported by the default relation widget in Decap CMS. This could perhaps be added to the core Decap CMS, or we could create a custom component for managing relationships.

Or, we replace the relation widget with just showing a list of the related skills (though they wouldn't have their correct translated names, which is a strong benefit of the relation widget).

For now, we have to be careful with merging changes from the CMS as these might have changed the relationships by accident. However, it is possible to work around it since most people learn how the CMS works after a few edits.