Skip to content

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented May 20, 2025

Closes #1206 by zeroing the store data for plots when receiving a new version (in case the new version does not contain a plot).

Likewise, drops bokeh plot data (and other large fields) when sending information back to the API about the block (should be significantly faster), as these are not used anywhere at the moment. In future, this should be standardized by properly nesting block fields rather than polluting the top-level namespace.

@ml-evs ml-evs added webapp For issues/PRs pertaining to the web interface usability labels May 20, 2025
Copy link

codecov bot commented May 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.09%. Comparing base (761e4e2) to head (6cab0e4).
⚠️ Report is 76 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1207   +/-   ##
=======================================
  Coverage   71.09%   71.09%           
=======================================
  Files          65       65           
  Lines        4300     4300           
=======================================
  Hits         3057     3057           
  Misses       1243     1243           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

cypress bot commented May 20, 2025

datalab    Run #3365

Run Properties:  status check passed Passed #3365  •  git commit 3cd08fe444 ℹ️: Merge 6cab0e44914b55af1fc9d0428873a39389a31222 into 761e4e2345012e0f4aa717e1d71a...
Project datalab
Branch Review ml-evs/fix-block-showing-old-plot
Run status status check passed Passed #3365
Run duration 07m 53s
Commit git commit 3cd08fe444 ℹ️: Merge 6cab0e44914b55af1fc9d0428873a39389a31222 into 761e4e2345012e0f4aa717e1d71a...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 504
View all changes introduced in this branch ↗︎

Copy link
Contributor

@BenjaminCharmes BenjaminCharmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ml-evs ml-evs merged commit f3b47a0 into main May 20, 2025
17 checks passed
@ml-evs ml-evs deleted the ml-evs/fix-block-showing-old-plot branch May 20, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability webapp For issues/PRs pertaining to the web interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect plot shown when switching between "good" and "bad" file
2 participants