Skip to content

Conversation

DonJayamanne
Copy link

For #7851

  • 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
  • [n/a] Has sufficient logging.
  • [n/a] Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • [n/a] Test plan is updated as appropriate
  • [n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • [n/a] The wiki is updated with any design decisions/details.

@DonJayamanne
Copy link
Author

@rchiodo @IanMatthewHuff @DavidKutu
I'll see if I can add tests for this. Not sure how to do this.
Either way, I've added plenty of comments (lots of edge cases), hopefully the comments are clear in explaining the issues & solution.

@codecov-io
Copy link

codecov-io commented Oct 15, 2019

Codecov Report

Merging #7987 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7987      +/-   ##
==========================================
+ Coverage   59.26%   59.26%   +<.01%     
==========================================
  Files         499      499              
  Lines       22411    22413       +2     
  Branches     3597     3597              
==========================================
+ Hits        13281    13284       +3     
+ Misses       8301     8300       -1     
  Partials      829      829
Impacted Files Coverage Δ
src/client/debugger/extension/adapter/activator.ts 100% <0%> (ø) ⬆️
src/client/debugger/extension/adapter/factory.ts 93.15% <0%> (+1.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d7d3ca...0c31347. Read the comment docs.

@DonJayamanne
Copy link
Author

@DavidKutu Please check

Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

:shipit:

@DonJayamanne DonJayamanne merged commit fa75cf0 into microsoft:master Oct 15, 2019
DonJayamanne added a commit that referenced this pull request Oct 15, 2019
DonJayamanne added a commit that referenced this pull request Oct 22, 2019
* Expand variable explorer tests to work for native editor too. (#7699)

* Expand variable explorer tests to work for native editor too.

* Add comment about async fix for editor open

* Review feedback

* Allow connection to servers with no token and no password (#7708)

* Add capability to support current file path for notebook root (#7724)

* Add capability to support current file path for notebook root

* Put launch.json back

* Use system variables instead of creating separate resolver

* Fix mistake in config settings with passing in a uri instead of a string

* Make arguments more explicit

* Fix IS_WINDOWS to work on unit tests

* Better cancellations (#7714)

* Variable explorer and mime test fixes for tests (#7740)

* Change variable explorer tests to wait for variable explorer complete

* Fix native mime test

* Review feedback

* Try to make 2.7 tests pass

* Fix liveshare guest hang issue (#7764)

* initial changes

* update notebooks on server session change and add test

* await correctly

* Fix jupyter server startup hang when xeus-cling is installed (#7773)

* Make interactive window and native editor take their fontSize and fontFamily from the settings in VS Code. (#7746)

* Make interactive window and native editor take
their fontSize and fontFamily from the settings in VS Code.

We get them in nativeEditor.tsx and in interactivePanel.tsx
to apply them as styles, but we also need to send them
as props to eventually assign them in the monaco editor.

* Moved style from react code to common.css

We now get the VS Code styles from the state of the
component, instead of computing a style from an element.

* Removed getting the font from nativeEditor and
interactivePanel, and put it in the mainStateController

* Made the interactiveWindow and the nativeEditor
react and change their fonts when the user changes them
in VS Code, instead of having to reload.

* Changed the font props to be an object instead of
two separate props to make it easier to maintain.

React Context was not used to avoid making the reuse of
components more difficult.

* Removed some unnecesary passing around of the
font prop

* removed unnecesary comments

* fixed a failing test

* Fix a number of perf issues with large notebooks (#7778)

* First idea - load cells all at once.
Change updates to not update full cell
Change global properties to be per cell
Change cells to check for updates before rendering

* Fix delete to not select at the same time

* Make a pending state and a rendered state to use for rendering
Some perf fixes for monaco editor. Skip laying out parent
etc until necessary

* Refactor intellisense to not take so much time on load

* More delete and move fixes for intellisense

* Fix markdown not switching
Fix markdown editor background

* Fix some of the time on first render

* Add some more unit tests and fix intellisense issue

* Add news entry and fix variable explorer open

* Remove unnecessary state change

* Remove unnecessary merge

* Comment change

* Postpone widget parent changes

* Add new dependency

* Update some comments and names to be clearer

* Change the default cell marker (#7782)

* Change the default cell marker

* Fix test failures
Fix gather to use new comment
Fix formatting on code comments from nls

* Fix unit test too

* Fix gather to replace #%%

* Fix selection and focus not updating when clicking around in a notebook (#7806)

* Fix selection and focus not updating when clicking around in a notebook editor.

* Also fix add cell to put focus in the new cell

* More functional tests for the notebook editor (#7804)

* New tests

* Add some more functional tests for the notebook editor
Make sure when an error occurs on running a cell it's displayed to the user.

* Review feedback

* Add native command palette cell commands and recontext IW cell commands (#7807)

* Tests for keyboard shortcuts in native editor (#7797)

* Tests  for keyboard shortcuts
* Added some more tests
* Code review comments
* Fix merge issues

* Smoke tests does not depend on build stage (#7819)

* Smoke tests does not depend on build stage
* Faster CI

* Tests for undo using keyboard shortcut 'z' (#7824)

* Update @types/vscode (#7833)

* Update vscode dependency
* News entry

* Fix focus problems with add new cell buttons (#7827)

* Fix focus problems with add new cell buttons

* Get rid of unnecessary delay for async callbacks

* Use VSC API instead of hardcoding the uri resource vscode-resource (#7835)

* Update vscode dependency
* News entry
* Stop hardcoding 'vscode-resource' and use VSC api

* Remove jison dependency (#7863)

* Another fix for focus on add (#7883)

* Auto save native editor notebook (#7831)

* Fix ctrl+s to work in the notebook editor (#7919)

* Fix ctrl+s to work in the notebook editor

* Fix linting error

* More linter fixes

* Cherry pick commit b6545e3

* Prevent updates to cell text when stauts of cell has changed (#7973)

* Prevent updates to cell text when stauts of cell has changed
* Added comments

* When automatically opening the `Notebook Editor`, non file schemes (#7921)

* Ensure we support live share

* Copy *.trie files related to fontkit, as part of webpacking (#7978)

* Cherry pick saving fix for ipynb files

* new notebook command outside of extension (#7981)

* Hide the parameters list when editor doesn't have focus (#7987)

* Added comments

* Fix max output size to be passed down to rendering (#8017)

* Fix intellisense popping up in the wrong spot when first typing in a cell (#8018)

* Fix markdown disappearing after editing and hitting the escape key. (#8047)

* Fix markdown disappearing after editing and hitting the escape key.

* Put back Don's hack

* Fixes to allowing users to open a diff view for ipynb files (#8081)

* Fixes to allowing users to open a diff view
* Updated code review comments

* Ensure metadata for notebooks are always present (#8109)

* Ensure metadata for notebooks are always present
* Let storage run in background
* Refactor
* Address code review

* Do not auto save if notebook is untitled (#8095)

* Do not auto save if notebook is untitled
* Remove redundant code
@lock lock bot locked as resolved and limited conversation to collaborators Oct 22, 2019
@DonJayamanne DonJayamanne deleted the issue7851 branch April 30, 2020 17:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants