Skip to content
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

Drop-down list for columns #295

Open
rgaiacs opened this issue Feb 21, 2020 · 1 comment
Open

Drop-down list for columns #295

rgaiacs opened this issue Feb 21, 2020 · 1 comment

Comments

@rgaiacs
Copy link

rgaiacs commented Feb 21, 2020

For blocks that has column as argument, would be incredible useful for users to have the argument as a drop-down list instead of text box.

@gvwilson
Copy link
Owner

Strongly agreed, but the implementation is very difficult within the Blockly framework:

  1. We can't know the names of available columns without running the pipeline. (For example, if the first block is "load data from URL", we can't know what column names to allow in subsequent blocks until we load the data.)

  2. Blockly doesn't give us an event when blocks are clicked together, so we don't have a hook for automatically updating fields of blocks.

We would really like to find a better framework - one that uses modern JavaScript and doesn't rely on string concatenation + eval for execution - but that will only solve problem 2: problem 1 is intrinsic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants