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 - Vertical Grammar #3

Closed
12 of 13 tasks
thisandagain opened this issue Jan 12, 2016 · 9 comments
Closed
12 of 13 tasks

Design - Vertical Grammar #3

thisandagain opened this issue Jan 12, 2016 · 9 comments
Assignees
Labels
Milestone

Comments

@thisandagain
Copy link
Contributor

  • Define subset of blocks for initial design pass
  • Initial design pass
    • Input Block (Integer)
    • Hat Block
    • Input Block (String)
    • Dropdown Block
    • C-Block (Repeat)
    • Variable Block
    • Dropdown/Input Block (Integer)
    • Boolean Block
  • Design review
  • Second design pass
  • Handoff for implementation
@thisandagain
Copy link
Contributor Author

@carljbowman Mind dropping in the process work thus far?

@carljbowman
Copy link

WIP - Sketches (R1.2)

Note: Images were exported at 2x for hi-res screens. Blocks are currently speced on a 7px=1rem grid system.

More robust explorations coming soon.

Grids

r1 2_vert-block-sketches

No Grids

r1 2_vert-block-sketches no-grids

@thisandagain
Copy link
Contributor Author

Question that came up today:
Particularly with the option of re-using blockly's "angle" field, should we consider dropping support for the hybrid input / dropdown input style that is used in only two places ("point in direction" and "play drum")?

@thisandagain
Copy link
Contributor Author

Follow-up from design meeting today:
Yes, we'd like to drop the use of the "hybrid" block type, but we should check Scratch X for compelling uses of it before walking away completely.

@carljbowman
Copy link

Round 1.3 — Vertical Blocks

Larger notches

r1 3_vert-block-sketches

Round 1.4 — Vertical Blocks

Smaller notches

r1 4_vert-block-sketches

Blocks are sketched on a 4px grid. These PNGs are exported at 2x for HI-DPI screens. Colors are still a WIP.

@thisandagain
Copy link
Contributor Author

Follow-up from discussions yesterday:
We are leaning towards the larger notches as the general feeling is that the smaller notches get lost (particularly on mobile devices). The large notch size creates an awkward minimum area on the left side of each block (see the "if / then" block for an example) but that seems like a better compromise than having notches that may not be noticed / visible by users.

@tmickel
Copy link
Contributor

tmickel commented Jan 26, 2016

Rachel:
Useful set of test blocks for the playground:

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="controls_repeat_ext" x="13" y="13">
  <value name="TIMES">
  <shadow type="math_number">
  <field name="NUM">10</field>
  </shadow>
  </value>
  </block>
  <block type="controls_if" x="13" y="113"></block>
  <block type="math_arithmetic" x="13" y="213">
  <field name="OP">ADD</field>
  <value name="A">
  <shadow type="math_number">
  <field name="NUM">1</field>
  </shadow>
  </value>
  <value name="B">
  <shadow type="math_number">
  <field name="NUM">1</field>
  </shadow>
  </value>
  </block>
  <block type="logic_operation" x="13" y="288">
  <field name="OP">AND</field>
  </block>
  <block type="variables_set" x="13" y="338">
  <field name="VAR">item</field>
  </block>
  <block type="text_print" x="12" y="388">
  <value name="TEXT">
  <shadow type="text">
  <field name="TEXT">abc</field>
  </shadow>
  <block type="text">
  <field name="TEXT">hello</field>
  </block>
  </value>
  </block>
  <block type="text_append" x="12" y="438">
  <field name="VAR">item</field>
  <value name="TEXT">
  <shadow type="text">
  <field name="TEXT"></field>
  </shadow>
  <block type="text">
  <field name="TEXT">&lt;- dropdown block</field>
  </block>
  </value>
  </block>
</xml>

@carljbowman
Copy link

Round 3 – Vertical Blocks

Normalized with Horizontal blocks:

  • Larger notches
  • 4px rounded corners (border-radius)

Still needs work:

  • Colors

r3_vert-block-sketches

@thisandagain thisandagain modified the milestone: Backlog Feb 29, 2016
@tmickel tmickel modified the milestones: July 21, Backlog May 12, 2016
@tmickel
Copy link
Contributor

tmickel commented Jun 8, 2016

Closing as this has been broken into a few implementation issues.

@tmickel tmickel closed this as completed Jun 8, 2016
picklesrus pushed a commit to picklesrus/scratch-blocks that referenced this issue Aug 4, 2017
…efault

Use default toolbox from scratch-blocks
aralot pushed a commit to algo-mars/scratch-blocks that referenced this issue May 17, 2018
Add .travis.yml, configured to use travis build stages. Releases should only happen if the branch is one listed in RELEASE_BRANCHES (set up in travis env variable)
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