open-tacos icon indicating copy to clipboard operation
open-tacos copied to clipboard

Get additional details for RecentMedia component

Open siman4457 opened this issue 2 years ago • 2 comments

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.

Screen Shot 2022-10-27 at 9 56 04 PM

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

siman4457 avatar Oct 28 '22 03:10 siman4457

  1. do we want to list climb names and area names? similar to the user profile view? https://github.com/OpenBeta/open-tacos/pull/567
  2. 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."

vnugent avatar Oct 29 '22 20:10 vnugent

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.

Screen Shot 2022-10-31 at 6 30 41 PM Screen Shot 2022-10-31 at 6 30 46 PM

siman4457 avatar Oct 31 '22 23:10 siman4457