Q42 / sanity-plugin-page-tree

MIT License
23 stars 3 forks source link

Feature/constrain parent pages #21

Closed ThomasBroch closed 3 months ago

ThomasBroch commented 4 months ago

This PR expands the tree config with an option to define, for each document type, which types of documents they can have as parents.

This feature has been implemented in three areas:

tim-vyg commented 3 months ago

Love this feature!

ThomasBroch commented 3 months ago

@tstikvoort Good catch! In the empty state, it now disables the button and shows this tooltip:

Screenshot 2024-04-09 at 09 58 25