Skosmos plugin for making suggestions for new concepts or alterations to existing concepts
This Suggestions plugin enhances Skosmos vocabularies and concept pages with suggestion forms, which allow users to suggest new concepts or alterations to existing concepts. Firstly, this provides a button on the vocabulary's home page, which opens the form for suggesting new concepts as a dialog. On the other hand, each concept page has a button for suggesting alterations for the viewed concept in another form.
When the plugin is added to the Skosmos environment, update the correct Suggestion-handling environment API url (SUGGESTION_API_BASE_URL
) to widget.js.
This plugin fulfills the requirements for Skosmos plugins.
To make changes the dialog forms this widget provides (e.g. to update translations), see the component-bundler
folder. The dialog forms are provided with the components.js file, which is created with the bundler. See the bundler's README for more information.
Pollutes the global namespace with SUGGESTIONS
and SUGGESTION_API_BASE_URL
.