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

feat(playground): dummy workspace inside playground #361

Closed
wants to merge 3 commits into from

Conversation

niloysikdar
Copy link
Member

@niloysikdar niloysikdar commented Jul 19, 2023

This Pull Request Covers:

I've created a dummy workspace using the previously created bricks, custom recursive components and the tree state.

The dummy workspace state can be found here: modules/code-builder/playground/pages/WorkSpace/data.ts

  • Modified the brick components to accept the coords to properly position them inside the SVG
  • Added /workspace route inside the modules/code-builder/playground app to render the dummy workspace

Here's one screenshot:

closes #360

@niloysikdar niloysikdar added the gsoc Prospective task for GSoC label Jul 19, 2023
@@ -41,7 +42,7 @@ export default class BrickBlock extends BrickModelBlock {
hasNotchInsTop: this._connectAbove,
hasNotchInsBot: this._connectBelow,
scale: this._scale,
nestLengthY: 30,
nestLengthY: params.nestLengthY ?? 17,
Copy link
Member

Choose a reason for hiding this comment

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

curious where the number 17 comes from?

@meganindya meganindya closed this Mar 20, 2024
@meganindya meganindya deleted the gsoc-2023/week-7-8/niloy branch March 20, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc Prospective task for GSoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render a dummy workspace with the different types of bricks, and tree data
3 participants