OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
216 stars 68 forks source link

Channel edit page placeholder doesn't hyperlink #3153

Closed rehandaphedar closed 1 month ago

rehandaphedar commented 2 months ago

Bug Currently, the channel edit page has a placeholder for the website. Websites linked as per this placeholder (i.e. without https:// will not be hyperlinked.

To Reproduce Steps to reproduce the behavior:

  1. Make a channel/Open an existing channel
  2. Go to the edit channel page
  3. Scroll down to "Contact -> Website"
  4. Set a website similar to the placeholder (i.e. without https://)
  5. Wait for changes to propagate
  6. Open the channel page

Expected behavior

Screenshots The placeholder: image

Example channel edit page: image

Example channel page (Not hyperlinked): image

System Configuration NA (Mostly irrelevant as this is not about the code)

Additional context NA

tzarebczan commented 1 month ago

Thanks @rehandaphedar for the detailed issue. @keikari wanna take a quick shot at it? Can improve the placeholder + try to make old urls prepent https:// if it doesn't start with it.