In documents, users can use / to search through their server and add resources. They can also drag & drop a file to create a file there. These resources are currently always shown as a Card. These are pretty big. I'd wager that people would often want a more compact, single line item.
I suggest we change the data model, and instead of directly adding the external resources as a child of elements, we have a ResourceElement (or something with a better name), which has a size and a resource. The size currently can be card or inline.
Users could select the desired view with a dropdown. We could default to inline.
In documents, users can use
/to search through their server and add resources. They can also drag & drop a file to create a file there. These resources are currently always shown as aCard. These are pretty big. I'd wager that people would often want a more compact, single line item.I suggest we change the data model, and instead of directly adding the external resources as a child of
elements, we have aResourceElement(or something with a better name), which has asizeand aresource. The size currently can becardorinline.Users could select the desired view with a dropdown. We could default to inline.