feat: add a way to debug stores in troubleshooting page #3121
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.
What does this PR do?
Improve self-troubleshooting page
With the refactoring of the stores, #3101
now we're able to get more data/statistics from them
Number of elements in the store
event that triggered the update
time when it was updated last time
number of elements fetched at that time
allow to clear all history of events and manually fetch again the data to repopulate the store
Screenshot/screencast of this PR
bLMmrTO2jR.mp4
What issues does this PR fix or reference?
Fixes #3053
How to test this PR?
Go to the troubleshooting page, and you can see time to update the stores, events that triggered the update, etc.
also component tests added