neodash
neodash copied to clipboard
#VULCAN-274/ Group reports in a page and minimise reports functionality
Group Reports and Minimize Reports Functionality
Features
- Group one or more reports and we can specify a border and border colour to those grouped reports.
- Minimize button for reports.
- Added an option in table report config called compact canvas. when the query status is NO_DATA the card height is set to default 210px.
Note: This implementation can be only be done through JSON for now. If you are okay with this implementation. Then I can create some component through which user can configure the group reports.
Sample JSON
{
"title": "My dashboard",
"version": "2.3",
.......
"pages": [
{
"title": "Main Page",
"groups": [
{
"groupId": 1, // Group Id
"border": "5px solid",
"borderColor": "red"
}
],
"reports": [
{
"id": "322e3326-29f9-42d5-972b-e0b0b78ca581",
"groupId": 1, // Group Id
"groupOrder": 1, // Group order is used to achieve horizontal compaction
.....
},{
"id": "483908d-29f9-42d5-972b-e0b0b78ca581",
"groupId": 1, // Group Id
"groupOrder": 2, // Group order is used to achieve horizontal compaction and it is incremental
.....
},
]
}
NOTICE The program was tested solely for our own use cases, which might differ from yours.
Author Info: Monish [email protected] on behalf of Mercedes-Benz Research and Development India
https://github.com/mercedes-benz/mercedes-benz-foss/blob/master/PROVIDER_INFORMATION.md
Sample JSON sample-moview-json.txt
Signed off: Monish [email protected]