Giter Club home page Giter Club logo

custominput's People

Contributors

codelenny avatar

Watchers

 avatar  avatar

custominput's Issues

Change dropdown menu for custom types

When the editor is opened for a custom type, currently the native type is displayed in the dropdown menu for type conversion.

As part of the deserialization for the editor, the dropdown menu should be changed to represent the type of object.

Write Test Library

This will be a pain to run the bookmarklet. Initial version was moved to branch iss1-1, but might restart.

Integrate with Google Apps Script

Menu items in #2 are too hard to automate thanks to Google's obfuscated JavaScript. Will need to write an Apps Script to target menus.

An apps script will be useful anyways to deal with the spreadsheet results.

Will also need to write a custom builder and uploader to keep the source in the repository.

Add triggers/binding for new items and converting items

In the editor, new item types are currently inserted into the "Insert" menu, and added to the dropdown of item types when editing each item. However, these links have no actions bound to them.

Items in the insert menu should add a new item (of the native type for each custom item - InputType.nativeType), switch into it via the editor (the automatic action for inserting native items?), switch the dropdown to represent the item, and follow actions defined in a local method (InputType.onNewItem()) to properly set them up, such as changing the name of the field to something the custom checker will notice.

Items in the dropdown menu should use a bound property (InputType.onConvert()) that would be able to keep any contents desired - such as multiple choice items being preserved when switching to "Choose from a List". After converted, the editing interface should be replaced.

Inserting:

  • Insert Menu
    • Add hover style
    • Add binding to each element
  • InputType
    • onNewItem()

Converting:

  • Dropdown menu
    • Add binding to each element
  • InputType
    • onConvert()

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.