Problem

      When we create a new children document and the parent is rendering its children in a query block, we do not create a new card as the Creating Documents Where You Are describes. We just let the query block handle the new document rendering. This creates confusion when the card that the user saw before is not there when they come back to it. we need to fix this.

    Solution

      At the moment when the user clicks the "Create new document" option, before we add a new card at the bottom of the document, we need to check if the document has a children query block. In this case, we will not create a card above the document but INSIDE the query block.

      This needs to consider a few things:

        The Query block is correct and shows the document's children:

        Need to scroll to the query block if its not visible in the current viewport:

        If there's multiple query blocks with the same information (maybe a bug):

        We need to respect the Query block rendering style and render either the card or the list item:

    Scope

      1 week

    Rabbit Holes

      TBD

    No Gos

      TBD

    Previous Notes