podlove-subscribe-button
podlove-subscribe-button copied to clipboard
Need to encode URLs for schemes that use query parameters
For a podcasts with a URL such as:
http://example.com/feed?id=123
This is fine when used with a simple app scheme, like this:
podcast://example.com/feed?id=123
However, if the app uses a scheme with query parameters such as overcast://x-callback-url/add?url= the URL doesn't work. In the following example, it does not invoke the Overcast subscribe callback, I think because of the double ?, so part of the query is ignored:
overcast://x-callback-url/add?url=http://example.com/feed?id=123
To fix this case, the podcast URL should be encoded at least as much as this:
overcast://x-callback-url/add?url=http://example.com/feed%3Fid=123
Or probably safer to encode the entire URL:
overcast://x-callback-url/add?url=http%3A%2F%2Fexample.com%2Ffeed%3Fid%3D123
This needs to be done in clients_panel.coffee to determine if the URL needs encoding or not (because if a simple scheme is used, e.g., podcast://, URL encoding shouldn't be done).
Wow these are cool! How would these look with the dark theme though?
Wow these are cool! How would these look with the dark theme though?
These are not final, the colour has to be changed to match with the Vala palette.
Also, maybe we can make the shadows darker in dark mode? 🤔
I would also increase transparency of the background gradient, it's too much distinctive in my opinion.
I loved the semi transparent icons on bottom right. Not a big fan of emojis though.
Not a big fan of emojis though.
Maybe we could switch to a different, more detailed icon set instead?
,
That would work 👍
Any updates happened on this? Looks really good in my opinion