Skip to content
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

Tweak for edit page to allow upload file modal to load correctly #937

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented Oct 15, 2024

Related to #935, for some reason that I can't quite discern, adding an isItemLoaded guard to displaying the file list prevents uppy from being loaded properly. I've removed that guard and tweaked the unloaded value of item_data to be {} so that key access simply fail and return undefined, rather than erroring out.

@ml-evs ml-evs added the bug Something isn't working label Oct 15, 2024
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.38%. Comparing base (90932f0) to head (4876879).
Report is 80 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #937   +/-   ##
=======================================
  Coverage   68.38%   68.38%           
=======================================
  Files          62       62           
  Lines        3928     3928           
=======================================
  Hits         2686     2686           
  Misses       1242     1242           

Copy link

cypress bot commented Oct 15, 2024

datalab    Run #2584

Run Properties:  status check passed Passed #2584  •  git commit de7cfefc5c ℹ️: Merge 4876879da5bc4de0bf1ec52aee0d2c7b49cd5462 into 90932f0f062849dfbf65e3d74a41...
Project datalab
Run status status check passed Passed #2584
Run duration 06m 12s
Commit git commit de7cfefc5c ℹ️: Merge 4876879da5bc4de0bf1ec52aee0d2c7b49cd5462 into 90932f0f062849dfbf65e3d74a41...
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 396

@ml-evs ml-evs merged commit 21ed72d into main Oct 15, 2024
17 checks passed
@ml-evs ml-evs deleted the ml-evs/edit-page-tweak branch October 15, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant