danieljancar/chorizo

Add @defer loading for loading timeout

Closed this issue · 1 comments

Description

Add a way, incase no course is found in the search or in general, to display "Nothing found here" using feedback-message component. The component should be displayed after a certain time 5000ms or similar of loading with the @defer method (https://angular.dev/guide/defer#defer).

  • Package: course

Expected Behavior

When searching for a course in the course overview, but nothing is found, display a feedback/error message to the user after a certain amount of loading time with loading-bars component using the feedback-message component.

Actual Behavior

It loads for an infinite amount of time with the loading-bars component.

Possible Fix

Use @defer function from angular (link above) and the feedback-message component.

Fixed! 🚀