microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
720 stars 589 forks source link

Add rounded hats to event handlers in v1 #1152

Closed halspeed closed 4 years ago

halspeed commented 6 years ago

Add rounded hats to event handlers in v1 to:

  1. Provide a visual cue to make it more intuitive for users to understand which blocks can initiate code and reduce attempts to place blocks on top of event handlers, and
  2. Be more consistent programming micro:bit across other block-based programming editors

Illustration of current flat-top event handler and proposed round-hat event handler:

image

For functions consider making the hat across the entire top as illustrated below:

image

This could also be beneficial for users of other MakeCode targets.

References: https://github.com/Microsoft/pxt/issues/849 https://developers.google.com/blockly/guides/create-custom-blocks/block-paradigms#event_driven_program

microbit-giles commented 6 years ago

From my experience teaching block coding in K-12 over several years, I think rounded hats on event blocks would help facilitate children's learning.

CleoQc commented 6 years ago

I concur. Rounded hats make it clear that the blocks have to be at the top of a sequence.

Jaqster commented 6 years ago

This summer we ran a study with 14 students aged 9-18 (7 male, 7 female). Study was set up as an AB trial followed by interviews.
Almost all students: a) understood the functionality of the blocks with and without the "hats" so there was no noticeable difference in understanding b) from an aesthetic perspective, all students preferred the blocks without the "hats" citing that it had a more "modern" look, it was "simpler", the "rounded tops didn't fit with the feel of the rest of the blocks", or it reminded them of Scratch which was a product "for littler kids"

I'm happy to run a more comprehensive student survey in the next couple months to validate these preliminary results, but I don't want to make a big UI change without real user data to back up our design decisions.