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

Rupato/Fix Blockly mandatory block error #247

Merged

Conversation

rupato-deriv
Copy link
Contributor

This pull request includes significant changes to the getDisabledBlocks function in the src/external/bot-skeleton/scratch/utils/index.js file. The changes enhance the logic for identifying disabled blocks by incorporating a list of required block types and checking for mandatory blocks.

Key changes include:

  • src/external/bot-skeleton/scratch/utils/index.js: Refactored the getDisabledBlocks function to use the workspace and required_block_types parameters to identify and flag disabled blocks. This includes checking for mandatory blocks and filtering based on their disabled status.

Copy link

Preview Link: https://Rupato-Fix-mandatory.bot-65f.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@rupato-deriv rupato-deriv merged commit ccbe490 into deriv-com:master Feb 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant