Further possible improvements to Desk tool and Structure configuration #3373
alejandrovrojas
started this conversation in
Sanity Studio Feedback
Replies: 1 comment
-
Thanks for the comprehensive feedback @alevroub! We want to address it properly, but we need to wait for the minds behind this to come back from (a well-deserved) vacay. Stay tuned! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A broader look at the new config API (according to the current docs) looks something like this:
The fact that the Desk Tool still has to be imported as a plugin, with the structure builder configuration being an optional parameter stands out to me for a number of reasons:
structure
anddefaultDocumentNode
parameters should at least be properties of the main configuration file, the waydocument
properties are (even if the sanity team insists on keeping the desk tool as a separate plugin):What we have right now is a messy combination of some configuration going in the main config object under one property, some going as parameter to a "plugin" that has to be imported to another property of the same object – all for setting up separate pieces of the "same" UI structure. The fact that these different pieces have a branding of their own is (arguably) also an obstacle for users to understand the Sanity Studio as a whole: New users might have an easier time "installing the Sanity Studio and configuring the pane settings", whereas "configuring the Desk Tool plugin of the Sanity Studio using the Structure Builder API" is a different heuristic altogether.
desk
property, while keeping the same structure API nomenclature for the sake of argument:Such a configuration is arguably more readable and composable than the current API.
Beta Was this translation helpful? Give feedback.
All reactions