Skip to content

Feature Request: Ability to visually hide certain fields in blocks.Β #61

@richardvanbergen

Description

@richardvanbergen

Feature Request

I would like the ability to either:

  • Collapse/Expand groups similar to Sanity's collapsible attribute on fieldsets
  • Organise groups into tabs on a given block
  • Provide a separate "block settings" UI for certain properties

What the best approach to take I'm not sure but ideally it shouldn't change the shape of the data coming back from the API, it'd just be a way of visually organising repeated properties, similar to the admin: { sidebar: true } property.

Use-Case

A really nice feature is being able to visually stash of fields in the sidebar, which means that editors can focus on content in the main area. Now, some of my blocks have some shared optional groups, things like background properties. If I type and test things properly this means I can make the block editing experience super flexible without increasing the complexity of the code via ✨composition✨.

The main problem though is that it clutters up the editing experience a lot as seen in the screenshot attached. πŸ™

Additional Detail

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions