Skip to content

Conversation

@DonJayamanne
Copy link

For #9340
To be merged after #9840

Basically I got rid of the root level state info that keeps track of the cell that's selected and focused.
This required us to keep the two in sync along with the state at the cell level.
When syncing information between multiple editors this got messy. removing this removes the issues where things could go out of sync, i.e. two ways to storing the same thing. Now we get selected information from the cells directly - single source of truth.

@DonJayamanne DonJayamanne added the no-changelog No news entry required label Feb 3, 2020
@codecov-io
Copy link

codecov-io commented Feb 3, 2020

Codecov Report

❗ No coverage uploaded for pull request base (ds/custom_editor@bb95b58). Click here to learn what that means.
The diff coverage is 52%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             ds/custom_editor    #9874   +/-   ##
===================================================
  Coverage                    ?   60.62%           
===================================================
  Files                       ?      555           
  Lines                       ?    29737           
  Branches                    ?     4482           
===================================================
  Hits                        ?    18027           
  Misses                      ?    10709           
  Partials                    ?     1001
Impacted Files Coverage Δ
src/client/datascience/messages.ts 100% <100%> (ø)
...ience/interactive-common/interactiveWindowTypes.ts 100% <100%> (ø)
src/client/datascience/data-viewing/types.ts 100% <100%> (ø)
src/datascience-ui/interactive-common/mainState.ts 53.57% <7.69%> (ø)

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 bb95b58...2f3f8b4. Read the comment docs.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 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
No Duplication information No Duplication information

@DonJayamanne DonJayamanne deleted the noRootLevelFlags branch February 5, 2020 17:47
@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.

2 participants