Skip to content

Lists in documents #217

@joepio

Description

@joepio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions