Dynamic Dashboard: Update Yosemite with stock report fetching #12781
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #12748
Description
This PR updates
ProductStore
andProductAction
to support fetching stock reports. Since this endpoint supports both stock status andlowstock
option, I also updatedProductsRemote
to accept a raw stock type instead of only stock status.Due to the complexity of optimizing the stock card [p1715916527632179/1715228241.268569-slack-C03L1NF1EA3], we're only saving stock reports in-memory for now, so no storage change is added.
Testing instructions
Just CI passing is sufficient.
Screenshots
N/A
RELEASE-NOTES.txt
if necessary.