Commit graph

28 commits

Author SHA1 Message Date
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Ravi Kumar Kempapura Srinivasa
1bc6bf6236 Use gray tiles and state-balls for the entire branch of empty BpNode
The node state is recursively calculated in case the node contains only BpNodes as its children and are empty. The gray tiles and state-balls are used for the entire branch if the children are empty.
2020-05-11 11:45:33 +02:00
Eric Lippmann
5395b42bab Fix URL param overrides upon rendering
Before, we used setParams() instead of with() to populate the parameters
which is especially problematic with imported nodes where the config
paramter got overriden for every subsequent node.

fixes #228
2020-02-26 14:18:40 +01:00
Johannes Meyer
885064b577 Provide links to jump to an imported node's source configuration
refs #209
2019-02-28 07:48:35 +01:00
Johannes Meyer
eaf5b85538 Change how imported nodes are recognized
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
0d262bf0d0 Renderer: Don't fail while generating ids for unbound nodes 2019-02-22 14:11:03 +01:00
Johannes Meyer
1529ec4602 NodeTile: Hash ids the same way as in the tree view 2019-02-22 12:26:24 +01:00
Johannes Meyer
c19854d05c TileRenderer: Make the navigation through imported nodes fluent 2019-02-22 12:26:24 +01:00
Johannes Meyer
d880291c02 TreeRenderer: Restructure node layout 2019-02-22 12:26:24 +01:00
Johannes Meyer
19ae300aca lib: Remove all traces of Icinga\Module\Businessprocess\Html
refs #130
2019-01-17 13:21:46 +01:00
Eric Lippmann
c4ee09d567 Ignore action URL parameter for tile links
Else every tile opens with the action for the current tile.
2018-08-15 09:40:17 +02:00
Jennifer Mourek
fffdffbe63 Remove badge container, when there is no conent 2018-06-28 13:37:46 +02:00
Thomas Gelf
2f3e5fb419 BpConfig: allow access to a fake unbound base node
fixes #100
2017-02-20 14:19:52 +01:00
Thomas Gelf
8b6ab3d2fe Renderer, js: redirect links from dashboard tiles 2017-01-27 11:53:58 +01:00
Thomas Gelf
404223a306 Renderer: provide classes for missing nodes
fixes #76
2017-01-23 09:54:53 +01:00
Thomas Gelf
2b8f51e983 Renderer: calculate state before retrieving...
...unbound nodes

fixes #74
2017-01-23 09:50:19 +01:00
Thomas Gelf
f769fd3855 Renderer: rename config property 2017-01-11 14:33:35 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
eb866bf4b1 Renderer: blacklist some more parameters 2017-01-03 11:30:27 +01:00
Thomas Gelf
1fc6634b75 Renderer: do not preserve action-related params 2016-12-23 11:14:00 +01:00
Thomas Gelf
191edb794c Renderer, Breadcrumb: let them know from each...
...other. Not nice, but helps for now
2016-12-16 19:36:24 +01:00
Thomas Gelf
72e7aa798c Rendering: improve tile sizes, fullscreen mode 2016-12-09 16:59:25 +01:00
Thomas Gelf
8ef7bdbfb4 Renderer: always preserve config property 2016-12-09 14:50:19 +01:00
Thomas Gelf
c11a181701 Process: add and use new form 2016-11-29 15:32:56 +01:00
Thomas Gelf
60b66e89b0 TreeRenderer: new renderer, LOTS of cleanup 2016-11-29 00:34:28 +01:00
Thomas Gelf
b109a46843 Renderer: remove some deps, now that we cleaned up 2016-11-28 08:23:53 +01:00
Thomas Gelf
ee99549341 Breadcrumb: cleanup and externalize 2016-11-28 02:26:12 +01:00
Thomas Gelf
fbd6aef886 Businessprocess/Renderer: prepare new renderers 2016-11-28 00:12:07 +01:00