WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#1744 closed task (fixed)

Plugin Directory Theme: Improve "Description" section

Reported by: ocean90 Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords: needs-patch
Cc:

Attachments (2)

before.png (315.2 KB) - added by ocean90 3 years ago.
after.png (292.8 KB) - added by ocean90 3 years ago.

Download all attachments as: .zip

Change History (12)

@ocean90
3 years ago

@ocean90
3 years ago

#1 @dd32
3 years ago

Another thing I'd like to see happen here, is that it should show up to 120% of the desired height, and only hide/activate when it exceeds that.

The idea is to avoid the case where the read more only shows up an extra line of content. If it only kicks in if there's a significant overflow, it makes the handling much more expected and feels "worthwhile" for having to click that action in the first place.

#2 @samuelsidler
3 years ago

  • Summary changed from Plugin Directory Theme: Don't show "Read more" toggle if there is nothing to read more to Plugin Directory Theme: Improve "Description" section

Rewording summarizing a bit. Left to do on this ticket:

  • Don't show "Read more" toggle if there is nothing to read more
  • Increase size by ~200% (aka, by default show more).
  • Implement the 120% rule (after the increased size) in comment:1.

#3 @mapk
3 years ago

  • Milestone set to Plugin Directory v3 - M9
  • Priority changed from lowest to normal

#4 @mapk
3 years ago

  • Type changed from enhancement to task

#5 @tellyworth
3 years ago

In 4303:

Plugin Directory Theme: don't show Read More links if the content is less than 125% of the available height.

See #1744

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


3 years ago

#7 @mapk
3 years ago

In 4323:

Plugin Directory: Height adjustment for Description section.

Adjusted the max-height for the Description section to allow for more to be read before having to click 'read more'.

See #1744

#8 @mapk
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#9 @mapk
3 years ago

In 4336:

Plugin Directory Theme: Adjust height of Description section.

The cascading selector in the CSS was not allowing the toggle on the 'read more' accordion to work correctly. I fixed the CSS so that it works now by using nth-of-type.

Fixes #2217
See #1744

#10 @samuelsidler
2 years ago

  • Milestone Plugin Directory v3 - M9 deleted

Milestone Plugin Directory v3 - M9 deleted

Note: See TracTickets for help on using tickets.