Skip to content

Feature: Support boolean config fields in plugins

This extends the front UI for plugin preferences to render the UI for boolean config values.

This allows rendering a config like:

conf=[
    {"name": "server_url", "type": "text", "label": "Maloja server URL"},
    {"name": "api_key", "type": "text", "label": "Your Maloja API key"},
    {"name": "nofix", "type": "boolean", "label": "Skip server-side metadata fixing", "default": False},
],

as

grafik

So far this was unsupported in the frontend, even though some of the backend tests in test_plugins.py used boolean config fields.

Edited by Philipp Wolfer

Merge request reports