Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Spin the carousel!" button, or similar #501

Open
towerofnix opened this issue May 27, 2024 · 0 comments
Open

"Spin the carousel!" button, or similar #501

towerofnix opened this issue May 27, 2024 · 0 comments

Comments

@towerofnix
Copy link
Member

Brought up by Jebb (#hsmusic-chat) and this particular idea pitched and detailed by Lan (#hsmusic-chat).

Related to #500, but this is a distinct idea.

It would be fun to have a way to almost totally randomize an album carousel (on group gallery pages). That is, you click a button and some sort of animation plays to conceal the current album selection (could just be a fade to dark; could be rapidly spinning the carousel's contents; could be "curtains" sweeping over—regardless, make it fun, but avoid eye/motion strain). Then the veil lifts and you get a totally new selection of albums.

Some details:

  • This is essentially a feature of carousels, but it mainly makes sense when the carousel is showing a selection of a gallery which is literally present on the same page. So, it fits group gallery pages, but not the homepage, for example.
  • We don't want to needlessly conflate the HTML structure of the carousel. If possible, we should dynamically "copy out" the relevant contents of the gallery and use those to structure the replaced details in the carousel. The carousel only makes use of link targets and images, so this should be OK.
  • Exclude albums that don't have any cover art, boo hoo.
  • Otherwise, maybe some special dynamics, maybe not. We are representing Fandom and Beyond here, mainly, and since those groups' contents are huge and not generally "balanced" in any particular way, we may want to use reasonable heuristic limits, courtesy FF (#hsmusic-misc).
    • E.g, up to two singles, up to three solo albums, the rest are randomly selected from the remaining albums. (These are FF's numbers and we can totally play around with them.)
    • That data is not currently encoded onto the page. We'd ideally compute it from the gallery, i.e. with data tags data-album-kind="solo single" or such.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant