[go: nahoru, domu]

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: Export shape interfaces from ConstantProvider #7373

Conversation

varshneydevansh
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Proposed Changes

Export the shape interfaces defined in the ConstantProvider file from blockRendering, or the relevant namespace (geras, zelos) for the given renderer.

Behavior Before Change

External developers have to look at the source code to see what values they should return from custom rendering methods.

Behavior After Change

After this change the External developers do not have to look at the source code for returning the custom rendering methods.

Reason for Changes

As the types related to shapes (e.g. BasicShape, StartHat, Notch, PuzzleTab) are not exported from Blockly.blockRendering which was making the bad developing experience for the external developers.

Test Coverage

Documentation

Additional Information

@varshneydevansh varshneydevansh requested a review from a team as a code owner August 10, 2023 19:28
@github-actions github-actions bot added the PR: feature Adds a feature label Aug 10, 2023
@BeksOmega BeksOmega requested review from BeksOmega and removed request for rachel-fenichel August 10, 2023 20:07
Copy link
Collaborator
@BeksOmega BeksOmega left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! This LGTM =)

@BeksOmega BeksOmega merged commit be2a6bb into google:develop Aug 11, 2023
11 checks passed
@varshneydevansh varshneydevansh deleted the Export_shape_from_ConstantProviders_7286 branch August 11, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature Adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export shape types from the ConstantProviders
3 participants