Help test nb200

Hello everyone,

We have updated ai2-test.appinventor.mit.edu with the first look at nb200. This is a big change, containing a massive update to the blocks editor (the last major overhaul was 2017).

Here's what to expect:

  • Add a prompt for picking your UI
  • Fix for loading multiple extensions in the companion on Android < 14
  • Update Blockly
    • Use the Ctrl/Option key to drag blocks from the middle of a stack
    • Join and create list blocks automatically extend to include new inputs if you drag values near them
    • Hold the shift key to drag a box to select, move, edit multiple blocks
    • Scroll the workspace automatically when dragging a block near edges
    • New block rendering algorithm that should give better performance

We'll be releasing more features to the block editor in subsequent updates. Some things we have planned include block search and keyboard navigation and editing.

Cheers,
Evan W. Patton, Ph.D.
On behalf of the MIT App Inventor team

9 Likes

Trapped!! & Lost nearly all Blocks!!

Linux 24.04.01 LTS, Chrome

I tried the SHIFT select a group of blocks, on dragging them, the blocks editor went haywire for a moment, the group dropped a block in the middle, but all other blocks in the project disappeared! I could then not release the remaining group of blocks in the blocks editor, and moving around / clicking caused weird scrolling behaviour. I could only get out by moving my mouse outside of the window, and then had to skirt around the edges to control PC. Returning mouse to blocks editor continued the same behaviour as described above.

Exited the project, reloaded AI2-test, and my project, all blocks except those in the group remain gone!

See the video (17mb)

[EDIT] Found all the other blocks, they were outside the view of the smallest (-), a Cleanup put these all back together.

Just to be sure, Chrome or Chromium? And which version number?

Chrome
Version 130.0.6723.69 (Official Build) (64-bit)

Don't seem able to repeat the behaviour, but do notice, on occasion, the select only catches an inner block in an event, or misses an inner block in an event

[EDIT] repeated it! select some blocks, drag them away then drag them back, over another block, let go of the mouse button, mayhem ensues !! :wink:

Just tested in Firefox, not seeing the same behaviour.

Also, on first attempt, press SHIFT and drag mouse, this fails and drags the entire editor. Second attempt draws the rectangle to select. Also in firefox.

Does it always happen when selecting multiple blocks or have you also encountered it moving a single block?

Just upgraded Chrome to:

Version 131.0.6778.204 (Official Build) (64-bit)

problem (mayhem) seems to be gone

Very interesting. Please keep us informed if it crops up again.

1 Like

WIll do more testing :wink:

So far, with Chrome Version 131.0.6778.204 (Official Build) (64-bit) on Linux Xubuntu 24.04.01 LTS

Update Blockly

  • Use the Ctrl/Option key to drag blocks from the middle of a stack
    Works - good feature :slight_smile:

  • Join and create list blocks automatically extend to include new inputs if you drag values near them
    Works - good feature :slight_smile:

  • Hold the shift key to drag a box to select, move, edit multiple blocks
    Works, on second attempt (first attempt just drags blocks editor)

  • Scroll automatically when dragging near edges of the workspace
    Works - "when dragging a block!". This a bit disorientating at first, but guess it is something we will get used to :slight_smile:

I've updated my description above to be a bit more specific.

1 Like

I seem to have lost typeblocking on that server.

There is no response in the Blocks Editor to ' or any typing.

1 Like

In Chrome, I still see the Unwanted Nudge when I switch from Designer to the Blocks Editor:
The unwanted nudge

Remove Unused Blocks not working.
And I think it was on top of the items, why come to the end?

And there are too many menu items when right click, maybe we can consider to combine "Enable All blocks" and "Disable all blocks " as one, and "Show all comment" and "Hide all comments" as one.

I have the exact same experiences as @TIMAI2 on Fedora 41 with
Brave version 1.73.101 Chromium: 131.0.6778.139 (Official Build) unknown (64-bit)

Especially that you have to press SHIFT twice to be able to multi select blocks.

Agree. Maybe make the menu deeper, use dividers or like @Kevinkun says, combine menu items.

We've updated the test server with a patch to fix typeblocking.

Ironically, there are fewer menu items than on ai2 at the moment. I think the new Blockly CSS makes the menu items chunkier which gives the impression that there are more.

2 Likes

Ok, I was able to reproduce this. It seems to have to do with the window being short enough that the blocks/media on the left hand side is taller than the visible space. When this is the case, interacting with the blocks editor (such as moving the mouse over it) causes a focus event to fire, which scrolls the view so that the whole editor is in the viewport. If the window is large enough that the left column doesn't overflow the viewport, then the scroll isn't needed and the block editor is also fully within the viewport and the behavior is as expected. It also only affects the Classic UI, not Neo based on my testing.

Maybe that was the case, but 22 choices/options in a right click menu is (maybe) to many.

1 Like