Skip to content

Fix variables on mac and linux #9897

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

Merged
merged 3 commits into from
Feb 4, 2020
Merged

Fix variables on mac and linux #9897

merged 3 commits into from
Feb 4, 2020

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Feb 4, 2020

Nightly flake tests caught this and we ignored it :(

Essentially the regex for parsing results from jupyter doesn't work on linux as the unicode char is different.

Fix the regex

Also found that jquery was busted. Don figured out a way to get it back so that the DataViewers would work again.

@rchiodo rchiodo added the no-changelog No news entry required label Feb 4, 2020
@rchiodo rchiodo self-assigned this Feb 4, 2020
// tslint:disable-next-line: no-var-requires no-require-imports
require('expose-loader?jQuery!slickgrid/lib/jquery-1.11.2.min');
/*
WARNING: Do not change the order of these imports.

Choose a reason for hiding this comment

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

Sounds like a dirty & hacky solution. I'll let this approach pass this one time 🤣

@codecov-io
Copy link

codecov-io commented Feb 4, 2020

Codecov Report

Merging #9897 into master will decrease coverage by <.01%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9897      +/-   ##
==========================================
- Coverage   61.22%   61.21%   -0.01%     
==========================================
  Files         563      564       +1     
  Lines       30058    30061       +3     
  Branches     4545     4545              
==========================================
  Hits        18403    18403              
- Misses      10626    10629       +3     
  Partials     1029     1029
Impacted Files Coverage Δ
...atascience-ui/data-explorer/globalJQueryImports.ts 0% <0%> (ø)
src/client/datascience/jupyter/jupyterVariables.ts 50.59% <83.33%> (ø) ⬆️
src/client/common/utils/platform.ts 76.47% <0%> (ø) ⬆️
src/client/linters/pydocstyle.ts 88.88% <0%> (ø) ⬆️
src/client/datascience/debugLocationTracker.ts 78.12% <0%> (ø) ⬆️
src/client/common/process/proc.ts 15.21% <0%> (ø) ⬆️

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 0bcdb57...b19761a. Read the comment docs.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2020

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

@rchiodo rchiodo merged commit 279f24d into master Feb 4, 2020
@rchiodo rchiodo deleted the rchiodo/linux_variables branch February 4, 2020 20:40
rchiodo added a commit that referenced this pull request Feb 4, 2020
* Fix regexes to work on other platforms

* Fix data frame viewer

* Fix linter problems

Co-authored-by: Don Jayamanne <[email protected]>
rchiodo added a commit that referenced this pull request Feb 4, 2020
* Fix regexes to work on other platforms

* Fix data frame viewer

* Fix linter problems

Co-authored-by: Don Jayamanne <[email protected]>

Co-authored-by: Don Jayamanne <[email protected]>
@lock lock bot locked as resolved and limited conversation to collaborators Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants