When an error message is received from the carrier during shipping label generation, it does not immediately appear below the ADD TRACKING CODE MANUALLY button. A toast notification with the message Failed to generate shipping label is shown, but the detailed error message is not visible.
Additional issues:
When selecting a different carrier, the previous error message should be removed, but it persists.
If another carrier is selected and an error occurs again, the error message does not update. The user must close the details page and reopen it to view the updated error message.
Expected behavior
The error message should be immediately visible below the ADD TRACKING CODE MANUALLY button when a shipping label fails to generate.
When switching to a different carrier, any previous error message should be cleared.
If a new error occurs with a different carrier, the error message should update without needing to close and reopen the details page.
Steps to reproduce the issue
Attempt to generate a shipping label.
Observe that the error message is not visible below the ADD TRACKING CODE MANUALLY button.
Current behavior
When an error message is received from the carrier during shipping label generation, it does not immediately appear below the
ADD TRACKING CODE MANUALLY
button. A toast notification with the messageFailed to generate shipping label
is shown, but the detailed error message is not visible.Additional issues:
Expected behavior
ADD TRACKING CODE MANUALLY
button when a shipping label fails to generate.Steps to reproduce the issue
ADD TRACKING CODE MANUALLY
button.Additional information
Please have a look at the screen recordings to better understand the issue: https://github.com/user-attachments/assets/9174ce32-8d05-47ff-ae83-bbec6297e8f1 https://github.com/user-attachments/assets/72229802-a21f-4ad5-90b2-99b5af9c4154