Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

View file
nameUAT Instances.dashboard_api

Type of users:

  1. State Level Admin

  2. Commissioner

  3. Domain Level Employee

Dashboard List:

There are three type of dashboard,

  1. Home page (refer figure 1).

  2. Overview page (refer figure 2).

  3. Module level dashboard (refer figure 3).

Home page:

Home page contains multiple cards, each card is clickable.

...

Overview and Module level card is differentiated by vizType,

  1. Overview card: On click of overview card, it will navigate to overview page. vizType for Overview is collection.

  2. Module Level card: On Click of Module level card, it will navigate to Module level dahsboard. vizType is module (i.e Property Tax, Trade License etc).

Request Payload for dashboardConfig :

...

1.Each row contains the visual details like name,vizType,noUnit,isCollapsible,charts etc(refer figure 1.3).

  1. name - Name of visualization.

  2. vizType - type of visualization like COLLECTION,MODULE,METRIC-COLLECTION, PERFORMING-METRIC,CHART.

    1. COLLECTION - In home page, contains the collection data (refer figure 1).

    2. MODULE - In home page, contains the module level data (refer figure 1).

    3. METRIC-COLLECTION - In Overview/Module Level Page, contains the collection data (refer figure 2.1).

    4. PERFORMING-METRIC -In Overview/Module Level Page, contains the top/bottom performing data (refer figure 2.2).

    5. CHART - In Overview/Module Level Page, contains the below visualizations (refer figure 2.3 to figure 2.7).

      1. PIE CHART (refer figure 2.3)

      2. LINE CHART (refer figure 2.4)

      3. BAR CHART (refer figure 2.5)

      4. HORIZONTAL BAR CHART (refer figure 2.6)

      5. TABLE CHART (refer figure 2.7)

List of visualizations:

...

Figure : 2.1 - Metric-collection.

...

Figure : 2.9 - DOWNLOAD & SHARE BUTTON.

ULB Dashboard:

  1. ULB Dashboard is having different filters, i.e ULB’s and Wards/Blocks. The data to the filters is loaded from below MDMS api,

https://egov-micro-dev.egovernments.org/egov-mdms-service/v1/_search

  1. Each ULB dashboard, overview Dashboard and module level pages contains different filters, and are identified by roleName in configs api.

  1. Wards/Blocks filter is dependable filter, which gets loaded on ULB selection.

  1. In ULB dashboard, On page ULB filter will be applied across all the charts and for Performance chart default ULB filter will not be applied .

  1. Overview and all module level page is having ULB dashboard.

 

GLOBAL Filters (refer figure 2.8) :

  1. Filters will be loaded from MDMS api.

https://egov-micro-dev.egovernments.org/egov-mdms-service/v1/_search

  1. Filters will be loaded on the basis of roleName,

Admin role: For Module level page, Date, DDR and ULB filter will be loaded

...

Denomination filter having three option to display amount and number in a particular format.

  1. Crore

  2. Lack

  3. Unit

Denomination filter will not be applied on the percentage and text(refer figure 2.10). Type of data is identified by symbol in plots of charts api.

...

Currently dashboard is having two types of tabs,

  1. Revenue (refer figure : 4.1).

  2. Service (refer figure : 4.1).

Tabs are identified by name in visualizations of config api.

...

In table response filter key & drillDownChartId is having value means its Drill down table.

Cards:

  1. Each card header is localized and having info icon with tooltip option which displays header and can display description.

  2. Number of cards in row and in page is driven by backend. Backend provides row number to each card where it should be displayed.

  3. Card containing option icon which contains Image download and Image share option.

  4. Image download and share uses id from vizArray in order to differentiate each cards in a page.

Download and Share (refer figure 2.9) :

1.Download having two option to dowload data, i.e, Image and PDF

  1. Share:

Share creates the Image/PDF and upload it S3 using below api and returns file id,

...

View file
namedss_localisation.xlsx

 

NPM Module Used:
The following file contains the list of NPM modules being used in the Dashboard Application.

https://docsgithub.google.com/spreadsheets/d/1AdwSGxUZoSmVcSc3PtujGMRCKpNaAEYgAn_8XNTF2vM/edit?usp=sharingegovernments/DIGIT-OSS/blob/master/frontend/mono-ui/web/dss-dashboard/package.json


Steps to setup dss in Local :

Step 1: Run as independent , switch to dss-dashboard folder

Step 2: We have to get the below details from environment website and update it the localstorage in the browser.

Employee.tenant-id
Employee.user-info
Employee.token
Employee.module
Employee.locale
localization_en_IN
locale

Step 3: Run Yarn install and yarn start to start working on dss in local setup.

DSS Features Enhancements V2:

DSS Features Enhancements V2 Technical Document for UI