Description
AT:
- the current command class hierarchy is reevaluated in terms of it it serves the current purpose well and redisgned where appropriate
- all the parts of the command are modular and can be reuused
- there is a command builder that reuuses the modules to build the command
- every command is a chain of modules that is used to build the elasticsearch query and to extract the result from the Elastisearch query result
- the command key generation is adjusted so that the configuration parameter do not depend on the view and group by
Context:
The current class hierarchy makes it hard to implement result type specific abstractions e.g. as the sorting done with https://github.com/camunda/camunda-optimize/pull/425.
The command structure became confusing and hard to understand. Also the creation of the command is now using configuration fields which depend on the view/group by, which is really prone to errors.
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- is duplicated by
-
OPT-2383 Refactor how reports are mapped to its respective command
- Done