Add element for subset of data to info panel #2610
Labels
bounty:$100
Bounty applies for fixing this issue (Parse Bounty Program)
type:feature
New feature or improvement of existing feature
New Feature / Enhancement Checklist
Current Limitation
The info panel added in #2495 displays data based on the row selected in the data browser. It's not possible to display only a subset of information. This has the disadvantage that the called Cloud Function needs to process and return all data, even if only a subset is needed.
Feature / Enhancement Description
Add a new info panel element that allows to load subsets of data on-demand. An element that is initially collapsed and can be expanded on click. When expanded, it loads the subset of data. That allows to remove unnecessary workload on the server if that subset of data is not needed, and only load the data if needed.
Example Use Case
_User
shows the info panel with:Dashboard options:
The response of the Cloud Function:
When expanding the sub-panel "Purchase History" the Cloud Code function
getUserPurchaseHistory
returns:Visually, nested data should be displayed indented to indicate the hierarchy of the data. This is especially important in case of deeper nesting, where subsets are nested within subsets.
Returning the subset also in form of a
panel
payload has several benefits:Alternatives / Workarounds
Load all data which consumes resources unnecessarily if subsets of data are not needed.
The text was updated successfully, but these errors were encountered: