bookshop icon indicating copy to clipboard operation
bookshop copied to clipboard

Adding description to a component spec removes the label from the editor UI

Open ecupaio opened this issue 1 year ago • 7 comments

Version Info
Jekyll 4.2.1 "@bookshop/browser": "3.3.0" "@bookshop/jekyll-engine": "3.3.0" "@bookshop/live": "3.3.0" "@bookshop/generate": "3.3.0"

What I'm Doing I'm adding a label and description to my component specs so that users can see the title of the component they will add and a description of what it is.

spec: 
  structures:
  - content_blocks
  label: "Donation - 1 column"
  description: "1 column layout of the donation section."
  icon:
  tags: []

What I Expect When I select Add component on the editor, I expect to at least see the title of the component I want to select.

What's Happening I see only the truncated description: Screen Shot 2023-03-21 at 12 08 12 PM

I notice if I remove the description, the title will show, but that's just a hacky workaround.

ecupaio avatar Mar 21 '23 19:03 ecupaio