Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom renderers and quick-filters injection in FeatureEditor plugin by other plugins #9301

Closed
1 of 6 tasks
offtherailz opened this issue Jul 26, 2023 · 0 comments · Fixed by #9330
Closed
1 of 6 tasks

Comments

@offtherailz
Copy link
Member

offtherailz commented Jul 26, 2023

Description

Acceptance Criteria

As a developer, I want to develop plugins that add some custom renderers to be used in all the cells of a given column of a given feature of the feature grid, and some custom quick filter tools to be used in the hader of a given column for a given feature. Actually this is supported only for editors, and they have to be registered using a proper Javascript utility. With this improvement also the editor could be injectable with the same logic.

  • I want that this renderer is available for use in general (e.g. for general purpose renderers and filters)
  • I want to be able to configure also the plugin with rules similar to the custom editor, to use these renderers/filters using regular expressions to recognize feature types, URL and column names.
  • I want to be able configure in layer fields to use these renderer and filter, when available, in the feature grid ( at least by editing configuration, without UI )

Specific implementations

With this we want to provide support for custom project to some features like:

  • Show JSON attributes (represented as text by the describeFeatureType) in a clickable popup, that shows all the fields (for the particular project we will have some information about the structure of the JSON).
  • Allow to filter these JSON attributes using CQL filters (e.g. jsonArrayContains(...), jsonPointer(...) in the column.

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

This is a feature that interest only custom projects. There should not be any UI change to explicitly test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment