Skip to content

Predictable and customizable GUI generation in cuiman #74

@forman

Description

@forman

Is your feature request related to a problem? Please describe.

Currently, the GUI generation in cuiman is quite simple and mainly relies on standard properties defined in OGC API Processes descriptions and the inputs'/outputs' JSON Schemas, if any.

Describe the solution you'd like

A clean OGC API Processes UI client pipeline would look like this

    Process description
           ↓
    Parameter model
           ↓
    JSON Schema merge
           ↓
    UI metadata merge
           ↓
    Field model
           ↓
    Panels

which cleanly keeps architectural layers separated:

 - Semantics, Validation  <-->   JSON Schema
 - Metadata  <-->   OGC input/output descriptions
 - Presentation  <-->  Extensions fields `"x-ui"` / `"ui"` in the above

Checklist:

  • The implementation of the CUI-generation core should follow the new GUI-generation reference guide, which details the pipeline above.
  • The hack ClientConfig.is_advanced_input() should then be replaced by the new solution.
  • It should be clearly documented what kind of GUI customisations are recognized and supported by cuiman.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions