Making WordPress.org

Opened 6 years ago

Last modified 5 years ago

#4345 new enhancement

Improve the display of block metadata in the plugin directory

Reported by: tellyworth's profile tellyworth Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords: reporter-feedback 2nd-opinion has-screenshots
Cc:

Description

As of [8547] the plugin directory includes a new simple list of blocks registered by plugins in the Block-Enabled Plugins section. For example:

https://wordpress.org/plugins/easy-post-embed-code/#blocks

This is a general ticket for discussing improvements to this feature.

Attachments (3)

Screen Shot 2019-03-29 at 12.37.04 pm.png (88.8 KB) - added by tellyworth 6 years ago.
Here's what the list of blocks looks like as a starting point. It's a simple dl/dd/dt list that gives the name and description of each block found in the code.
ticket-4345.png (75.2 KB) - added by pratikgandhi 5 years ago.
Design for the Blocks section
Screen Shot 2020-04-03 at 1.42.50 PM.png (76.9 KB) - added by dufresnesteven 5 years ago.
What about how GitHub does it for projects? Minus the icons and such.

Download all attachments as: .zip

Change History (8)

@tellyworth
6 years ago

Here's what the list of blocks looks like as a starting point. It's a simple dl/dd/dt list that gives the name and description of each block found in the code.

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


6 years ago

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


6 years ago

#3 @tellyworth
6 years ago

  • Keywords needs-design added

@pratikgandhi
5 years ago

Design for the Blocks section

#4 @pratikgandhi
5 years ago

  • Keywords reporter-feedback 2nd-opinion has-screenshots added; needs-design removed

Hello @tellyworth

How about this?
https://meta.trac.wordpress.org/raw-attachment/ticket/4345/ticket-4345.png

It can be done using the below code:

<ul>
    <li>
	<h6>atomic-blocks/ab-pricing</h6>			
        <p>AB Pricing</p>
    </li>
    <li>
	<h6>atomic-blocks/newsletter</h6>			
        <p>Email newsletter</p>
    </li>
    <li>
	<h6>atomic-blocks/ab-column</h6>			
        <p>AB Advanced Column</p>
    </li>

    <li>
	<h6>atomic-blocks/ab-spacer</h6>			
        <p>AB Spacer</p>
    </li>
    <li>
	<h6>atomic-blocks/ab-container</h6>			
        <p>AB Container</p>
    </li>
    <li>
	<h6>atomic-blocks/ab-sharing</h6>			
        <p>AB Sharing</p>
    </li>
</ul>

Thanks

#5 @tellyworth
5 years ago

#4519 involves a somewhat similar semantic structure, so perhaps we should use the same markup.

@dufresnesteven
5 years ago

What about how GitHub does it for projects? Minus the icons and such.

Note: See TracTickets for help on using tickets.