avalonmediasystem / avalon

Avalon Media System – Samvera Application
http://www.avalonmediasystem.org/
Apache License 2.0
93 stars 51 forks source link

Long Playlist Description Crowds Playlist Item List #5857

Closed joncameron closed 2 weeks ago

joncameron commented 1 month ago

Description

The playlist description field has been updated to allow for more content. The side effect of this in our current styling is that long descriptions take up all of the space in the sidebar component area. We can use the existing pattern found on the collections index description field, with See More and See Less links to show and hide the full amount of text.

Example

Screenshot 2024-06-10 at 8 23 46 AM

Mockups

shomore

showless

Done Looks Like

When the playlist description is longer than 4 lines:

elynema commented 2 weeks ago

@charumitraravi Can you QA this one?

charumitraravi commented 2 weeks ago

@elynema The see more/see less feature works as expected. But for longer descriptions (~120 words, the Playlist items get hidden, and only the title is visible)

Screenshot 2024-06-26 at 10 36 49 AM

For more than 150 words, the text starts to overflow beyond the page edge.

Screenshot 2024-06-26 at 10 40 02 AM

Item to test: https://avalon-dev.dlib.indiana.edu/playlists/98

elynema commented 2 weeks ago

@masaball Looks like the Done Looks Like for this specific issue was resolved properly. However, the Done Looks Like does not describe behavior when the full playlist description is expanded, which we unfortunately still need to solve for. I can resolve this, but will need to create a new issue.