Hosted ongabo.esvia theHypermedia Protocol

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 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:

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

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

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

  4. 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

mentioned the idea in to show the new card inside the query block of a document that is showing its children.

Do you like what you are reading?. Subscribe to receive updates.

Unsubscribe anytime