Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tyohan opened this issue Jan 15, 2020 · 1 comment
Open

Comments

@tyohan
Copy link

tyohan commented Jan 15, 2020

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.

@rayankans
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants