hotwax / dxp-components

DXP Components
Apache License 2.0
11 stars 17 forks source link

Improve User Experience with Data Fetching Loader and Remove Initial Empty State Message #225

Open Dhiraj1405 opened 8 months ago

Dhiraj1405 commented 8 months ago

Issue: Currently, when data is being fetched in the background, there is no visual indication to the user that the application is working on retrieving the necessary information. Additionally, upon the first instance of loading a page, an empty state message is displayed, which can be confusing and frustrating for users.

Expected Behavior:

  1. Data Fetching Loader: Implement a loading indicator (such as a spinner or progress bar) that appears when data is being fetched in the background. This visual cue informs users that the application is actively working on retrieving the required data, providing a better user experience.

  2. Remove Initial Empty State Message: Eliminate the initial empty state message that occurs on the first instance of loading a page. Instead, rely on the data fetching loader to indicate ongoing background processes. Once the data is successfully loaded, display the appropriate content.