Q42 / sanity-plugin-page-tree

MIT License
25 stars 5 forks source link

Show schema title instead of type in add page popup #12

Closed djohalo2 closed 9 months ago

djohalo2 commented 9 months ago

Currently when adding a new page from the page tree view the popup lists the page types as labels. It would be better to show the schema title as it is more readable.

We can solve this using the useSchema hook and lookup the titles for the schema types.