The shipment label search panel started behaving unstably after a recent PR during fast repeated checks. A review of the changes is needed to find regression defects.
code field accepts a shipment code and starts loading a preview via the Check button.ChangeDetectionStrategy.OnPush.BOX-1.Check, then quickly replace the code with BOX-404 and click Check again.BOX-404, then BOX-1.For local verification, use the built-in test API with these delays:
BOX-1 -> success after 120 ms
BOX-404 -> error after 40 ms
other -> success after 80 ms
22.14.020.0.0 standalone components5.8.37.8.1ChangeDetectionStrategy.OnPushzone.js, without zonelessReactiveFormsModule, default update mode (change)ShipmentLabelApi and is called through an Observable with delay()Use line comments to explain the problem, its impact, the fix and how to test it.