shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
384 stars 75 forks source link

If an endpoint fails to retrieve the expected data, the UI loads non stop #2430

Open hlayisanimazuze opened 1 week ago

hlayisanimazuze commented 1 week ago

Example:

Suggested Solution: Instead of the UI loading endlessly until the user refreshes the page, display an error message or the message retrieved from the endpoint.

Note: I attempted to add the validation error component, but it does not display.

Steps to reproduce the behavior:

  1. Go to 'https://functional-adminportal-test.azurewebsites.net/dynamic/TestModule/friday-table-view'
  2. Open inspect and click on 'Network' tab
  3. Drill down to the details view
  4. See error: The endpoint failed, but the page is still loading

Expected behavior The UI should stop loading and illustrate the user

Configurations: https://jam.dev/c/5604b2bf-2459-4aba-aabc-728812f643d2 Create New Version: https://jam.dev/c/5a7bb527-ebaf-4122-8b2d-b94323cce72c

hlayisanimazuze commented 6 days ago

Create New Version related item: https://github.com/shesha-io/shesha-framework/issues/2388