You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking refresh on a Warehouse, the freightline should be updated automatically once the refresh annotation is cleared.
NOTE: we used to do this when refreshing the stage, but now that Warehouses are responsible for producing freight (and not stages), we need the UI to adjust accordingly.
Motivation
Currently I have to do a browser refresh to see new freight.
Suggested Implementation
The text was updated successfully, but these errors were encountered:
@rbreeze - warehouse refresh is async. e.g. we click the button that sets an annotation, but that annotation may not be cleared for another minute (whenever the reconciler gets to it), at which point there will be new Freight.
The fix seems too simple to handle it properly. e.g. I think it only refetches freight immediately after the API returns / mouse click, but the freight may not have been produced yet until a minute later.
I expected the implementation to be similar to refresh stage, where we show a progressing icon so long as the annotation is present, and only when the annotation is cleared do we refetch freight in UI and clear the spinner.
Proposed Feature
When clicking refresh on a Warehouse, the freightline should be updated automatically once the refresh annotation is cleared.
NOTE: we used to do this when refreshing the stage, but now that Warehouses are responsible for producing freight (and not stages), we need the UI to adjust accordingly.
Motivation
Currently I have to do a browser refresh to see new freight.
Suggested Implementation
The text was updated successfully, but these errors were encountered: