Wp-calypso: Blocks: "Task List" block doesn't allow adding more than one item

Created on 5 Mar 2020  ยท  6Comments  ยท  Source: Automattic/wp-calypso

Possibly a regression after this was added to the Calypso repo by CC @sirreal and @Automattic/team-calypso, see #32058

Steps to reproduce

  1. Starting at URL: https://wpcalypso.wordpress.com/post/[site]
  2. Type /Task to get the Task List block
  3. Try to add more than one item

What I expected

To hit "Enter" with the keyboard to get a second task item. (Or use visual controls such as a "plus" button.)

What happened instead

No visual control; "Enter" with keyboard creates a newline but not a new task.

Browser / OS version

Chrome latest on macOS

Screenshot / Video

task-list

Found by @peterfabian and @mkaz during a usability session today.

CC @mtias

Blocks

Most helpful comment

Fix is deployed, amigos ๐Ÿ˜‰

All 6 comments

It's unlikely that this was introduced by https://github.com/Automattic/wp-calypso/pull/32058 and I'd speculate that this was caused by updates to the Gutenberg plugin while o2 blocks are unmaintained.

Right, I linked to that as the entry point โ€“ a bit confusing why o2 blocks would be in Calypso repo. Why not in the o2 plugin? https://github.com/Automattic/o2

Next action: if the blocks don't work โ€” and no plans to maintain and fix โ€” please plan to remove them. Especially if other blocks do a better job at the same thing.

In D39941-code I just rebuilt the sources and it seems to fix the issue. Not sure what the problem was ๐Ÿคทโ€โ™‚

You rock! Will review and accept shortly.

Confirmed fixed.

task-list-fix

UX note โ€” for later, not related to this.

Can't use keyboard as expected โ€” Enter for new item, and back or up for navigating the list.

Fix is deployed, amigos ๐Ÿ˜‰

Was this page helpful?
0 / 5 - 0 ratings