Skip to content

Refactor Print plugin as a plugin container #7585

@mbarto

Description

@mbarto

Description

MapStore printing dialog plugin is currently configured as a static list of controls.

To enable plugging new / different controls in projects we want to:

  • refactor the Print plugin/component as a plugins container
    • items property support, with different target containers (left-panel, left-panel-accordion, etc.)
    • NON singleton items support in PluginsUtils.getPluginsItems (same plugin / different id)
  • refactor actual controls (all or some of them) into plugins and inject them by configuration
    • generic TextInput plugin (used for title, description, etc.)
    • Layout plugin (layout sheet and options)
    • LegendOptions plugin
    • Resolution plugin
    • MapPreview plugin
  • to retain backward compatibility, the default configuration will inject the actual controls
    • standardItems in plugins/print/index.js

Connected to geosolutions-it/mapfish-print#39

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions