We can currently show lists using markdown lists in a single element like so:
- I'm an item
- And me too
But this offers a subpar UX, because:
- On enter, we create a regular new element
- On up / down, we skip to another element
- Users need to
shift-enter to create a new list item.
This kind of begs the question: how should lists in fact work? Some thoughts:
- We could create a
<List> element, similar to paragraph, which has a bunch of <Item>s, each of which contain a markdown string.
- I'd like to have unordered bullet lists, numbered lists, and checkable / todo lists. Maybe it makes sense to treat these todo's as special things, as users may want to link them to a
dueDate or assignee, or query them and render them in a bundled todo list.
- Every list item should be able to contain marked up text: bold, italic, links.
- Converting a numbered list into a different type of list can be very useful
- Changing the order of list items is nice
We can currently show lists using
markdownlists in a single element like so:But this offers a subpar UX, because:
shift-enterto create a new list item.This kind of begs the question: how should lists in fact work? Some thoughts:
<List>element, similar to paragraph, which has a bunch of<Item>s, each of which contain a markdown string.dueDateorassignee, or query them and render them in a bundled todo list.