pegros / PEG_LIST

Set of configurable/actionable LWC list components for Salesforce Lightning UX
MIT License
20 stars 9 forks source link

[feat] sfpegKpiListCmp - Support KPIs based on Related List Counts #48

Open pegros opened 1 year ago

pegros commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, KPIs are exclusively based on numeric values stored explicitly on the records. It would be great to automatically and dynamically compute some of them (e.g. counts of related list records) instead of having to pre-compute and store them.

Describe the solution you'd like LWC framework provides the uiRelatedListApi wire service which could be leveraged to automatically refresh the KPIs if an update occurs on a related list (e.g. the getRelatedListCount wire adapter).

Describe alternatives you've considered N/A

Additional context The objective is to propose a more open framework to include KPIs computed dynamically without impacting performances too much.