Project Task: Combine Directory with Document contentUsers find really hard to understand the relationship between documents, directory and subdocuments. having subdocuments part of the document content makes it simpler to explain.

Notes

  • We want to test the fact that subdocuments need to be part of the content of their parent.

  • Adding one block per subdocument might be a problem if the document has 1M subdocuments, for example. also it would be hard to sort, filter and control the list

  • We can also show a query block. We can add a hardcoded ID to this special query block.

  • We can show a view defined by the app, similar to what we had before.

Problems with this approach

The database experience

The database experience, where you might want to see a database view of documents, with features such as tables or order by activity.

The performance issue

What if Wikipedia uses a seed and adds millions of documents to the home page? Parent documents will receive changes for every new subdocument added, which could worsen performance issues.

Adding a full-page directory

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

Unsubscribe anytime