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

Decouple Variable View and Data Viewer #14359

Merged
merged 5 commits into from
Sep 25, 2023
Merged

Conversation

rebornix
Copy link
Member

@rebornix rebornix commented Sep 22, 2023

Re #14315.

The main change in this PR is decoupling data viewer and variable view. Data Viewer contributes a command for opening data frame and Variable View invokes that command other than directly depending on the data viewer component. So for users there should be no UI/UX change at this moment.

We also added an experiment, which once is turned on, it will then look at all data viewer contributions in the extensions installed locally, and use the contributed command to open the data frame or supported variable. This experiment is now fully turned off.

An example of how an extension can contribute a data viewer for Jupyter https://github.com/rebornix/vscode-data-grid-example

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for feature-requests.
  • 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).

@rebornix rebornix marked this pull request as ready for review September 25, 2023 21:07
@rebornix rebornix added this to the September 2023 milestone Sep 25, 2023
package.json Outdated
@@ -1964,6 +1964,12 @@
"type": "Python Interactive Window Debug Adapter",
"label": "%jupyter.debuggers.interactive%"
}
],
"dataframeViewer": [
Copy link
Contributor

Choose a reason for hiding this comment

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

jupyterVariableViewer

@rebornix rebornix enabled auto-merge (squash) September 25, 2023 23:11
@rebornix rebornix merged commit 763392f into main Sep 25, 2023
30 checks passed
@rebornix rebornix deleted the rebornix/horrible-tarsier branch September 25, 2023 23:17
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.

None yet

2 participants