fieldenms / tg

Trident Genesis
MIT License
14 stars 7 forks source link

Entity Centre: insertion points to support non-default selection criteria for embedded centres upon run #2271

Open 01es opened 1 month ago

01es commented 1 month ago

Description

Currently, when running Entity Centres, all insertion points with embedded Entity Centres, cances selection criteria values that might have been entered by the user. This behaviour ensures that all subordinate queries, run by such embedded Entity Centres, are aligned with the main Entity Centre and its selection criteria. Otherwise, it is very likely to create a situation where insertion points display an empty result or a subset of the data that does not fully align with the main result.

However, there are situations, such as in dashboards, which extensively utilise insertion points, there is no single "main" result. In other words, the embedded into the insertion points Entity Centres, are independent. In such situations running happens as the means for refreshing the data in those independent insertion points, which currently clears any selection criteria that users might have entered. This situation needs to be improved.

It is proposed to introduce a configuration parameter for insertion points (or embedded entity centres more generally) to:

In addition:

Expected outcome

Ability to configure Entity Centres, embedded into insertion points, not to clear selection criteria when running.