[self.delegate tabResumptionHelperDidReceiveItem];
If we set _itemConfig and call this, the card is added to the magic stack. I don't quite see divergent logic where only in arm 6, we add the card and then go fetch the image and update it later. It seems like we always did that?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[self.delegate tabResumptionHelperDidReceiveItem];
If we set _itemConfig and call this, the card is added to the magic stack. I don't quite see divergent logic where only in arm 6, we add the card and then go fetch the image and update it later. It seems like we always did that?
Acknowledged
- (void)shopCardDataCompleted:(TabResumptionItem*)item {
Is there any way we can avoid completely recreating the entire contents and just update the price chip and the image? I am not sure what specific things we are waiting for in TabResumptionMediatorProxy::CanApplyOptimizationOnDemand, but if being able to specifically update elements helps us understand what exactly to expect in this code path.
Code-Review | +1 |
- (void)shopCardDataCompleted:(TabResumptionItem*)item {
Is there any way we can avoid completely recreating the entire contents and just update the price chip and the image? I am not sure what specific things we are waiting for in TabResumptionMediatorProxy::CanApplyOptimizationOnDemand, but if being able to specifically update elements helps us understand what exactly to expect in this code path.
discussed offline, will keep as is.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Delay price drop and product image acquisition on Tab Resumption
This arm introduces a new arm on the price drop variation of
Tab resumption which acquires the price drop and product image after
the card is rendered and updates the card (if applicable). This
is to reduce the overall latency of the card.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |