-
Notifications
You must be signed in to change notification settings - Fork 76
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
StatusQ: Create generic proxy model GroupByModel
#12683
Comments
moving to 2.29 due to lack of space in this milestone, however this might be moved back during the 2.28 stabilization period |
@iurimatias @alexandraB99 I think that it would be beneficial to finish this task. It has a big potential to improve performance and simplify UI code in various places, especially related to Wallet. The estimation here (3 points) its incorrect - it's big tasks, thousands line of code, component and tests. But it's like 80% done some time ago. So maybe we could reconsider finishing it in 2.29.0 to have ready for offsite and discuss it with a Wallet team. |
First, to complete this task: #14370 and after conclusions, if necessary, this task can be taken. |
Description
Proxy allowing grouping rows according to provided criteria. Grouped items are exposed by additional role holding submodel.
How the usage could look like:
The output model in intended to contain number of rows equal to number of unique values of role indicated via
groupBy
property.Submodel is intended to be available via role name specified via
submodelRoleName
property.By default output model contains two roles on top-level - the one specified in
groupBy
and the one containing model specified insubmodelRoleName
. However additional roles can be exposed in top-level model usingbypassRoles
property. The value comes from an arbitrary entry in the submodel so should be used whenever the role value is the same for all entries in submodel.The output model then would be equivalent to model depicted below:
The text was updated successfully, but these errors were encountered: