content-index icon indicating copy to clipboard operation
content-index copied to clipboard

Need more content metadata to able sort or filter it from the list

Open tyohan opened this issue 5 years ago • 1 comments

Talking about content, it will be great to have more content metadata to able show it properly in the list. For example created time and updated time will be useful to sort the content after we pull it from the list.

WordPress Post object will be a good reference for available content metadata.

tyohan avatar Jan 15 '20 10:01 tyohan

I'm wary of adding any more fields to the already pretty large ContentDescription dict. It only contains the information the browser needs to know at registration time at the moment.

The content itself needs to be tracked elsewhere anyway (somewhere like CacheStorage/IndexedDB), any additional metadata can be stored there for now. There's also work being done to return metadata/stats with Cache entries, here's the explainer.

rayankans avatar Jan 17 '20 13:01 rayankans