smswithoutborders/gateway-client-reliability-dashboard

[Priority: High] Implement No Data Handling for Dashboard Tables

Closed this issue · 0 comments

Currently, the dashboard tables do not handle cases where there is no data available gracefully. When attempting to fetch data and encountering an empty dataset, the dashboard breaks, failing to display any information to the user.

Expected Behavior:

  • When fetching data for a dashboard table, if no data is available, the table should gracefully inform the user that no data is present.
  • The dashboard should remain functional even when encountering empty datasets, ensuring a seamless user experience.

Proposed Solution:

  • Implement a mechanism within the dashboard's table component to detect when no data is returned from the backend.
  • Display a visually clear message within the table indicating that no data is available.
  • Ensure that this message does not disrupt the overall layout or functionality of the dashboard.

Steps to Reproduce:

  1. Navigate to the dashboard containing tables.
  2. Ensure that there is no data available for the table.
  3. Observe the behaviour of the dashboard when attempting to display the empty dataset.