-
Notifications
You must be signed in to change notification settings - Fork 823
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
Add export functionality for dictionary blocks #2595
Conversation
So far it looks good. What else are you planning? (As it is marked DRAFT.) |
I just separated the actions code from |
I was going to add a pie menu for the dictionary keys with the getValue block in the dictionary, but I realized that there is no way to know what turtle is associated with the block when you click on it. So we cannot know how to populate the pie menu. Bummer. |
I got stuck too for a similar reason. But, I think we need a different implementation for these entirely. |
65323a3
to
0f33bf6
Compare
@meganindya Is this ready to test/review? |
0f33bf6
to
b7293ef
Compare
I thought this was done. Very sorry :p |
methods added:
|
BTW, we aren't being able to share dictionaries between turtles as of now. I think being able to do that would be really powerful e.g. being able to use actions as parameterized functions with the arguments being in some dictionary. |
closes #2587. |
Sharing between turtles was a big reason I refactored Christopher's original PR. I'd like to push the whole idea further at some point. Thx for the PR in any case. |
I would've wanted a object key addition/object key query syntax, however, at the moment we have to go with method calls. I'll implement that.