-
Notifications
You must be signed in to change notification settings - Fork 711
feat: dashboard show time range differ warning when cache data is used #4509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe pull request introduces enhancements to the dashboard components, focusing on managing cached data in relation to the current time range. Key updates include the addition of a button to alert users about cached data discrepancies, new reactive references and event emissions for tracking cached data states, and modifications to caching functions to support time range specifications. These changes collectively improve the interactivity and responsiveness of the dashboard components. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PanelContainer
participant PanelSchemaRenderer
participant usePanelDataLoader
participant usePanelCache
User->>PanelContainer: Select time range
PanelContainer->>usePanelDataLoader: Update data based on time range
usePanelDataLoader->>PanelSchemaRenderer: Emit "is-cached-data-differ-with-current-time-range-update"
PanelSchemaRenderer->>PanelContainer: Update UI with cache status
PanelContainer->>usePanelCache: Save panel cache with new time range
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (5)
Additional comments not posted (12)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
959b361 to
47bf7e4
Compare
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes