Closed renatoagds closed 5 months ago
Moving to on hold.
The endpoints already exist on my-jetpack/v1/site/products
(REST_API_SITE_PRODUCTS_ENDPOINT
) and REST_API_SITE_PRODUCTS_ENDPOINT/<product-slug>
.
What needs to be done here is to check how to use the store to trigger the data re-fetch at the points where we are refreshing the page. If at some point it is not possible to know which product needs to be updated then a second action needs to be added to call the general products endpoint. This would involve some refactoring to invalidate the state of all individual products.
Thinking better about this one, we should check if without reloading, we can introduce the new menu item in WP sidebar. I forgot about this UX requirement before creating the issue.
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Stale issue. Jetpack Martech is handling My Jetpack now.
We have been adding reloads across the application to fetch new data.
Right now, we do this at these places:
Probably we need to introduce endpoints to fetch new data.