-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐞[BUG]: Weird indentation on ngxs-logger (is the cancelComplete: true working?) #1657
Comments
@arturovt what do you think? |
anybody out there? |
@ngxs/core ping |
@ngxs/core ping ping ding aling? |
@saffabook if you can investigate problem, maybe will be can you create PR for fix current bug? |
I have the similar issue. important to note that actions are really canceled, just logging-plugin doesn't reset the depth of logs. |
Affected Package
The issue is caused by package @ngxs-logger-plugin.js
Description
Weird indentation on ngxs-logger.
I am following this tutorial, particularly the {cancelCompleted: true} functionality for NGXS.
If you follow the video, you will see him click quickly on an order to demonstrate how the request is cancelled followed by a new request. However in his example, his ngxs-logger, the console log indents with the request, and then it all resets when completed. I have an image of it below. Also you can see several green Next State comments. Also have a look at the video to see what I mean.
However with mine, my ngxs-logger remains indented and never resets. I have an image below to explain what I mean. Also I have only one green next state despite clicking multiple times. My server is on a 3 second delay so I can mimic any lag. Does this lag have anything to do with it?
Hi I have written a more in depth article on stack overflow.
I have the exact code I am using on Stackblitz
Why would my ngxs-logger behave differently to the tutorial.
Many thanks.
The text was updated successfully, but these errors were encountered: