We are using Application template with Angular as frontend for our application.
we want to show loader when a user tries to log in on API/authorize/connect ui presented by API and on all pages in angular where we are doing proxy calls to api.
We tried to user [abpLoading]="isLoading" directive but not working. as per this url https://support.abp.io/QA/Questions/1203/Angular-UI-blocking-page-mechanism-during--loading--saving
Thanks
1 Answer(s)
-
0
ABP manage 'wait' state every request with
HttpWaitService
(with api interceptor) and ABP has loading mechanism https://github.com/abpframework/abp/blob/dev/npm/ng-packs/packages/core/src/lib/services/http-wait.service.ts[abpLoading] directive produces a local loading animation in the attached place. It works well with, for example) button.
I didn't understand the expectation. if user request to api, it already shows a loader by default. if you want to show loading bar on login. so you are already redirected to login page and it must have loading too. maybe there was a bug. could you give me a more information about your "goal"