An open API service indexing awesome lists of open source software.

https://github.com/natlibfi/skosmos-widget-suggestions

Skosmos plugin for making suggestions for new concepts
https://github.com/natlibfi/skosmos-widget-suggestions

Last synced: 12 months ago
JSON representation

Skosmos plugin for making suggestions for new concepts

Awesome Lists containing this project

README

          

# Skosmos-widget-suggestions

Skosmos plugin for making suggestions for new concepts or alterations to existing concepts

## How it works

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](https://github.com/NatLibFi/Skosmos) [plugins](https://github.com/NatLibFi/Skosmos/wiki/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](https://github.com/NatLibFi/Skosmos-widget-suggestions/tree/master/component-bundler) for more information.

## Additionally

Pollutes the global namespace with `SUGGESTIONS` and `SUGGESTION_API_BASE_URL`.