radio4000 / components

web-components to build the r4 interfaces, uses the sdk
https://components.radio4000.com/
1 stars 0 forks source link

Avoid double (hash) tags on r4-track #138

Closed oskarrough closed 8 months ago

oskarrough commented 8 months ago

The <r4-track> component renders a description + a dynamic list of hashtags generated from the description. We show both, meaning the tags are duplicated:

Image

Don't have any great ideas how to improve this, but ideally we don't have the tags duplicated. Tags could be anywhere in the description so we can't really remove them there. Maybe we turn them into links inside the description instead?

oskarrough commented 8 months ago

Here's how we did it on classic Radio4000 https://github.com/internet4000/radio4000/blob/master/app/helpers/link-hashtags.js

oskarrough commented 8 months ago

Done in https://github.com/radio4000/components/pull/157