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

Design - Fields / Selectors #13

Closed
8 of 16 tasks
thisandagain opened this issue Jan 19, 2016 · 5 comments
Closed
8 of 16 tasks

Design - Fields / Selectors #13

thisandagain opened this issue Jan 19, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@thisandagain
Copy link
Contributor

To Do

  • Define list of supported "fields"
  • Initial design pass for each field
    • Horizontal
      • String
      • Number
      • Drop-down (events)
    • Vertical
      • String
      • Number
      • Drop-down
      • Angle
      • Musical note (Keyboard)
      • Color
      • Variable
  • Design review
  • Second design pass
  • Handoff for implementation

Questions

  • Device / platform specific fields?

Related to #2 #3

@thisandagain
Copy link
Contributor Author

For reference, the current list of fields in blockly:

  • angle
  • checkbox
  • colour
  • date
  • dropdown
  • image
  • label
  • textinput
  • variable

Couple additional fields that we have in Scratch:

  • musical note (keyboard)
  • input / dropdown (combo)

@thisandagain
Copy link
Contributor Author

@carljbowman This one really relies on #2 and #3, but this is here to get the conversation started. @NeilFraser has a bunch of great thoughts on some of these in his "Wat" paper that we should make sure to reference as well.

@thisandagain
Copy link
Contributor Author

Follow-up from yesterday's discussion:

  • Defined list of required inputs in two phases (needs for horizontal and vertical grammars). List added above.
  • The three basic fields needed for the horizontal grammar should be our first priority
  • We still need to define a plan for how these fields / inputs adapt across platforms / form factors

@thisandagain thisandagain modified the milestone: March 31 Feb 29, 2016
@thisandagain
Copy link
Contributor Author

@carljbowman Any updates?

@carljbowman
Copy link

There are a lot more nuances to inputs across devices. For example, how the scripting area/workspace scrolls when the keyboard opens? Or when a dropdown opens on an edge?

@tmickel and I have discussed the desired behavior and I am working on synthesizing, but these specs highlight sizing and normalization across Vertical & Horizontal.

Here is a hacky prototype to demonstrate interaction with Number and String inputs:
fields-prototype.zip

Number Inputs

r1_number-input

String Inputs

r1_string-input

Dropdown

r1_dropdown-states

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

No branches or pull requests

3 participants