frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Decouple Playground from SICP Workspace

Open RichDom2185 opened this issue 2 years ago • 3 comments

Description

The tight coupling is blocking a couple planned changes related to refactoring to make use of language configs.

Fixes #2410.

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update
  • [x] Code quality improvements

How to test

Checklist

  • [x] I have tested this code
  • [ ] I have updated the documentation

RichDom2185 avatar May 18 '23 04:05 RichDom2185

Pull Request Test Coverage Report for Build 5010569236

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 2 of 237 (0.84%) changed or added relevant lines in 2 files are covered.
  • 68 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.6%) to 34.197%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/pages/playground/Playground.tsx 0 1 0.0%
src/pages/sicp/subcomponents/SicpWorkspace.tsx 2 236 0.85%
<!-- Total: 2 237
Files with Coverage Reduction New Missed Lines %
src/pages/playground/Playground.tsx 68 1.94%
<!-- Total: 68
Totals Coverage Status
Change from base Build 5010320171: -0.6%
Covered Lines: 4916
Relevant Lines: 13400

💛 - Coveralls

coveralls avatar May 18 '23 04:05 coveralls

This PR will first require the language config object to be moved from a hardcoded Playground state to be under the workspace context instead. Currently, the SICP Workspace still inherits and affects the state of the Playground, so this should not be merged yet.

RichDom2185 avatar May 18 '23 05:05 RichDom2185

This PR will first require the language config object to be moved from a hardcoded Playground state to be under the workspace context instead. Currently, the SICP Workspace still inherits and affects the state of the Playground, so this should not be merged yet.

The overall direction of this PR looks good. I'll look through the final version of this PR thoroughly since it's mostly checking that the workspaces are separated correctly.

ianyong avatar May 24 '23 07:05 ianyong