neodash icon indicating copy to clipboard operation
neodash copied to clipboard

#VULCAN-274/ Group reports in a page and minimise reports functionality

Open m-o-n-i-s-h opened this issue 2 years ago • 5 comments

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. MicrosoftTeams-image MicrosoftTeams-image (2)

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]

m-o-n-i-s-h avatar Nov 23 '23 06:11 m-o-n-i-s-h