Skip to content

Instantly share code, notes, and snippets.

@arduino-monkey
Created August 27, 2023 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arduino-monkey/568b8fe0b2e3eca3aaaad8240288f3c7 to your computer and use it in GitHub Desktop.
Save arduino-monkey/568b8fe0b2e3eca3aaaad8240288f3c7 to your computer and use it in GitHub Desktop.

GSOC 2023 - Search integration with Blockly editor

Overview

Throughout the GSoC period, I have been working on adding the blockly searchPlugin to AppInventor and adding Appinventor specific features to it. In this post I will summarize my work, as well as what I will be doing in the future.

Aim

The Aim of this GSOC project was to integrate the Blockly workspace-search plugin to App Inventor and add App Inventor specific functionality to it.

App Inventor specific Functionalities.

  • SearchType dropdown.

    • The searchType dropdown allows users to filter and find blocks based on criteria such as keywords, built-in blocks, component types, and instances.
      searchtype
  • BlockType dropdown.

    • The blockType dropdown allows users to search blocks by the App Inventors built-in block types such as Controls, Logic, Math etc.
      blocks
  • ComponentType dropdown.

    • The componentType dropdown allows users to search blocks by component types, that have been added to the project.
      component

    • The componentInstance dropdown allows users to seach through blocks of instances, generic component blocks, and all blocks of the selected component type.
      instances

    • The componentType dropdowns have been, internationalized to improve accessibility. internationalized_component_types

Pull Request

Code

Work To Do

  • Fix internationalization for Built-in blocks.
    • Currently, built-in block types are internationalized when the blocksToolKit has been defined, I am working on fixing this issue.
  • Add a button to toggle the workspace search plugin.
    • During a recent weekly update meeting, Susan, one of our organization's mentors, highlighted the need for a toggle button for the plugin, especially for tablet users. I will be creating a pull request on the blockly's plugin for the same.

Conclusion

I would like to thank my mentors, Evan and Mark. They've been really supportive throughout this project, and their insights were invaluable. I've always admired their depth of knowledge and aspire to emulate that in the future. I hope to give back to the MIT App Inventor community that ignited my passion for coding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment