Skip to content

Made exporting notebooks cancellable - #12863

Merged
Tim Ruscica (techwithtim) merged 7 commits into
microsoft:masterfrom
techwithtim:changes
Jul 10, 2020
Merged

Made exporting notebooks cancellable#12863
Tim Ruscica (techwithtim) merged 7 commits into
microsoft:masterfrom
techwithtim:changes

Conversation

@techwithtim

@techwithtim Tim Ruscica (techwithtim) commented Jul 10, 2020

Copy link
Copy Markdown

This PR makes the export process cancellable. You can cancel by simply hitting the "cancel" button on the shown progress reporter.

Note: if the user cancels the export when the exported file has already been created than that file will be automatically deleted.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

Comment thread src/client/datascience/export/exportBase.ts Outdated

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@techwithtim
Tim Ruscica (techwithtim) merged commit 2eaf364 into microsoft:master Jul 10, 2020
Don Jayamanne (DonJayamanne) pushed a commit that referenced this pull request Jul 10, 2020
* made export cancellable

* some small fixes

* removed monaco editor import

* changed deleting method

* made export to temp file first

* removed unused action

* removed unused types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants