-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Episode rich text description #2480
Conversation
Version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New | Old |
---|---|
![]() |
![]() |
@SergioEstevao I as able to test this in Staging and I see the font size is different. The new attributed string uses a bigger one. Also not sure about redirecting the users out when tapping on the URL. Wdyt?
|
||
@objc private func labelTapped(gesture: UITapGestureRecognizer) { | ||
if let url = gesture.didTapLinkInLabel(label: self) { | ||
UIApplication.shared.open(url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we open this externally or internally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the same pattern that we have on the page. If you scroll a bit down you will see a section with the podcast url and if you tap on it you are taken to the external browser
@danielebogo just adjusted the font size and commented about the URL opening, can you review it again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @SergioEstevao sorry to be super picky but the 1.2em
looks smaller than the other one.
I made some test and the closest size I can get with the em
is 1.34
Original | 1.2em |
---|---|
![]() |
![]() |
Original | 1.34em |
---|---|
![]() |
![]() |
Would be great to have feedback from @david-gonzalez-a8c and @dcamozzi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my feedback!
| 📘 Part of: #2479 |
|:---:|
Fixes #
This PR adds support for rich html description for podcasts
To test
usePodcastHTMLDescription
FF enabled.\n
for<br>
Checklist
CHANGELOG.md
if necessary.