open-tacos
open-tacos copied to clipboard
Get additional details for RecentMedia component
Expected Behavior
We should display the most specific title provided by the user. Display route name if the RecentMedia Card has a specified route. Display area if the area is specified, but the route name is not given. etc.
Current Behavior
Currently, each RecentMedia Card on the home page displays "Route" in the card body.

Possible Solution
Currently, we are only getting the username of the post's creator via the enhanceMediaListWithUsernames
function. Lets take it a step further by getting route/area details.
Steps to Reproduce
https://openbeta.io/?v=newTags
- do we want to list climb names and area names? similar to the user profile view? https://github.com/OpenBeta/open-tacos/pull/567
- how do we show descriptions if the user has tagged multiple climbs?
I was thinking in the recent media list works like a social media feed where users share recent climbs/mini trip reports. They would put a description, example "Today conditions were perfect. I sent my project."
I see. What about something like this?
We can curtail the description short. Users can click the description or a button to view the full description. Similar to how it works on Instagram.
Tags can be placed in a pop up so that it doesn't crowd the card body.

