Comments (5)
I been working on a few Grove blocks for a couple of days for a quick demo I wanted to do this week, so they’ve been purposely “hidden” for general users as some of these blocks are likely to change, and then any saved XML using them would stop working after that.
If in the mean time you want to play with them, on your own risk, you have two options:
- Installing node.js you can run the desktop application in “developer mode”, so an extra drop down menu appears in the menu bar with item that lets you open the “load extra blocks” window.
- You can just manually open this window by executing this line of code on the front end:
Ardublockly.openExtraCategoriesSelect()
I generally try to have meaningful information on my commit messages, so in the future you might find useful to have a look over there to see if there is any extra info: 192bb34
from ardublockly.
I understood you were intentionally leaving those blocks hidden, and why. I also had seen your commit notes, which I am sure are very useful to someone that actually knows what they are doing, but I am not much more than a tourist when it comes to software development.
My real goal here is working on some of my own blocks and testing them. I was only looking to the grove blocks as examples. I am not sure how or where to implement either of the solutions you mentioned, so I probably will just wait until you have the user block add in feature ready for full access.
Thanks.
Carlos [email protected] wrote:
I been working on a few Grove blocks for a couple of days for a quick demo I wanted to do this week, so they’ve been purposely “hidden” for general users as some of these blocks are likely to change, and then any saved XML using them would stop working after that.
If in the mean time you want to play with them, on your own risk, you have two options:
Installing node.js you can run the desktop application in “developer mode”, so an extra drop down menu appears in the menu bar with item that lets you open the “load extra blocks” window.You can just manually open this window by executing this line of code on the front end: Ardublockly.openExtraCategoriesSelect()
I generally try to have meaningful information on my commit messages, so in the future you might find useful to have a look over there to see if there is any extra info: 192bb34
—
Reply to this email directly or view it on GitHub.
from ardublockly.
If you still want to give it a go, these would be the steps using the normal desktop application + a browser like Chrome or Firefox:
- Run the Ardublockly application
- Open a web browser on the same computer Ardublockly is running and go to the
http://localhost:8000/ardublockly/
address - Once the Ardublockly web interface is fully loaded, in the address bar type
javascript:Ardublockly.openExtraCategoriesSelect()
(make sure it is typed exactly as listed here, if you copy and paste the text it will remove thejavascript:
part for security reasons)
This should open a modal window (like the preferences) allowing you to add the Grove category to the toolbox.
from ardublockly.
Thanks. That worked for the browser version. When I get a free minute I can try making my new blocks.
Interesting that on my system, chrome would not copy/paste the "javascript:" before the "Ardublockly.openExtraCategoriesSelect()." I had to type that in or google simply found this page in a search.
from ardublockly.
Yes, it's most likely done for security, as you could in essence execute any JavaScript using that, you might be able to trick a user to use it for nefarious reasons.
from ardublockly.
Related Issues (20)
- Configure Ardublickly on Raspberry Pi
- Error building ardublockly HOT 2
- #
- Can open browser windows on Ardublockly
- Cannot find ardublockly_run.bat. in /ardublockly
- Harfbuzz version too old (1.2.1) HOT 1
- can't open ardublockly on my mac
- Problems compiling Ardublockly
- Mac OS Big Sur HOT 5
- Cannot find closure HOT 1
- Build issue HOT 1
- Call for collaboration
- Is function width arguments available ?
- New version of python server based ArduBlockly
- Adding new blocks
- Continuation of the Ardublockly project HOT 2
- Forever
- error in pyinstaller HOT 2
- Support
- build error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardublockly.