FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Closing a notebook marked as trusted shouldn't trigger the save modal by joyceerhl · Pull Request #12904 · microsoft/vscode-python · GitHub

Closing a notebook marked as trusted shouldn't trigger the save modal - #12904

Merged
Joyce Er (joyceerhl) merged 1 commit into
microsoft:masterfrom
joyceerhl:skip-dirty
Jul 13, 2020
Merged

Closing a notebook marked as trusted shouldn't trigger the save modal#12904
Joyce Er (joyceerhl) merged 1 commit into
microsoft:masterfrom
joyceerhl:skip-dirty

Conversation

Copy link
Copy Markdown

For #12867

Don't increase model change count when trust updates

  • 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.

Joyce Er (joyceerhl) added the no-changelog No news entry required label Jul 12, 2020

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

0 Bugs
0 Vulnerabilities (and 0 Security Hotspots to review)
0 Code Smells

No Coverage information
0.0% Duplication

// Dirty state comes from undo. At least VS code will track it that way. However
// skip file changes as we don't forward those to VS code
if (change.kind !== 'save' && change.kind !== 'saveAs') {
if (change.kind !== 'save' && change.kind !== 'saveAs' && change.kind !== 'updateTrust') {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks like this is one of those where a test would have been good. No need of tests now.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL