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

Fix fileDialogCallback promise logic #1497

Merged
merged 5 commits into from
Aug 26, 2024
Merged

Fix fileDialogCallback promise logic #1497

merged 5 commits into from
Aug 26, 2024

Conversation

jmthomas
Copy link
Member

closes #1487

@jmthomas jmthomas requested a review from ryanmelt August 26, 2024 16:00
// We have to wait for all the upload API requests to finish before notifying the prompt
Promise.all(promises).then((responses) => {
// eslint-disable-next-line
console.log('post prompt')
Copy link
Member

Choose a reason for hiding this comment

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

Remove debug console print

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 76.56%. Comparing base (238a63d) to head (aa59a9b).
Report is 19 commits behind head on main.

Files Patch % Lines
...riptrunner/src/tools/ScriptRunner/ScriptRunner.vue 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1497      +/-   ##
==========================================
- Coverage   76.59%   76.56%   -0.03%     
==========================================
  Files         608      608              
  Lines       45386    45385       -1     
  Branches      798      798              
==========================================
- Hits        34764    34750      -14     
- Misses      10534    10547      +13     
  Partials       88       88              
Flag Coverage Δ
frontend 55.78% <0.00%> (-0.09%) ⬇️
python 84.18% <ø> (-0.06%) ⬇️
ruby-api 49.00% <ø> (ø)
ruby-backend 82.29% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@jmthomas jmthomas merged commit a2c4e49 into main Aug 26, 2024
27 checks passed
@jmthomas jmthomas deleted the upload_file branch August 26, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File upload sometimes fails using open_file_dialog
2 participants