[Feature]: Home Page Stats become Links
Before suggesting
- [x] I searched the existing issues and did not find a similar request.
What problem would this solve?
Home Page currently has lots of stats panels like "Favorite Music Artist: xxx"
However these panels don't interact beyond their little hover animation.
It'd be great if they took you to pre-filtered lists.
How could it work?
User has a stat identified on their home screen, for example "Favorite Artist (music)" Their favorite artist is Bruce Springsteen. They click the statistic card on the homes screen, and it takes them to their music collection with "Bruce Springsteen" automatically entered into the "artist" filter.
Ideally using the user's last-used library view (tiles/list/shelves)
Alternatives you considered
To make it extremely customizable, home page cards have customizable click-event fields, where users can enter a URL. Then make data from the card tokenized, so that users can use them to build custom hyperlinks.
For example, using our previous example of Bruce Springsteen as a favorite artist.
- The home statistic card calculates that Springsteen is the User's favorite artist and stores it in a variable; FAVORITE_ARTIST
- The stat card has an attribute field for user customization "CLICK ACTION" or "SELECT URL" or something.
- The URL can be custom set to a custom user thing like:
- [mysite.url]/collection?type=music&format=all&limit=25&sort=added_desc&artist=Bruce+Springsteen&filterMode=show&view=table&page=1
- The URL can ALSO be set to use that environment variables: -[mysite.url]/collection?type=music&format=all&limit=25&sort=added_desc&artist=FAVORITE_ARTIST&filterMode=show&view=table&page=1
Some sort of text-replace symbol would have to be used (I can't remember what items are already in-use for URLS). So the user would insert environment variable like %FAVORITE_ARTIST% or something.
The URLs used by default could be pre-filled so users see how attributes are used. A "Clear" button on the field would reset to the default. A link on the card would show users the available tokens.
Tokens might be available that aren't directly related to the card to help build the link (for example, if you remember what the user's last-known library view was, that might be stored in an available token, i.e.: &view=%USER_VIEW%
Would you like to help build it?
I could help test it
Hey! Thanks for the idea :D Making the stat cards clickable makes total sense: clicking your favorite artist would open your music filtered on that artist, and a format count would open just those items. It would also keep whichever view you last used, since the app already remembers it. I'd rather not go as far as custom URLs with tokens though, it's a lot of complexity for something the default links should mostly cover ;) Not for right away, but it's on the list. Thanks again!