-
Notifications
You must be signed in to change notification settings - Fork 178
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
#1553 Add check for stale data in session storage for selected bias charts #2009
#1553 Add check for stale data in session storage for selected bias charts #2009
Conversation
/HOLD There's a bug in this, apparently I forgot the basics of equality by reference 🤦♂️ - this isn't going to work after an object is deserialised from the session store. I'll raise a fix shortly. |
49c7e55
to
cb2c4a3
Compare
…t when metrics are deleted by direct call to the TrustyAI API (opendatahub-io#1533)
cb2c4a3
to
7c145d3
Compare
This is ready for review now |
Before: After: Working Fine |
@pnaik1 no that works as expected, if you could do a code review and give it an lgtm if you're happy that would be great! |
code looks good |
/APPROVE |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexcreasy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b37db5e
into
opendatahub-io:f/mserving-metrics
Closes:
Description
When the bias page renders, any selected charts in the browser session storage are validated to ensure they still exist i.e. they haven't been deleted by a direct call to a backend API.
How Has This Been Tested?
Pre-requisites:
Instructions are for Chrome, it's possible with any browser but you'll have to figure out manipulating the session storage yourself in any others:
Test Impact
This is a small bug fix and there are no tests as yet for this feature.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main
Use image: quay.io/acreasy/odh-dashboard:issue-1553