Git Product home page Git Product logo

Comments (5)

carlosperate avatar carlosperate commented on May 20, 2024

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.

MadTooler avatar MadTooler commented on May 20, 2024

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.

carlosperate avatar carlosperate commented on May 20, 2024

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 the javascript: 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.

MadTooler avatar MadTooler commented on May 20, 2024

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.

carlosperate avatar carlosperate commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.