The odysee button change came with passing around the secondary part of
the URL instead of the whole thing. Unfortunately, this change requires
functions to be a little smarter and resolve with the domain lookup.
This was missed for redirects.
* Adds the new Watch on LBRY logos
* Use logo relative to repo for README
They were added into a new folder to make a distinction between
external and Watch on LBRY icons.
adasd
This bumps up the lockfile version and recreates it.
I was getting a lot of grief trying to upgrade it with a new version of
npm so it's good to do a hard upgrade ASAP.
* Created a content script for YouTube that injects a styled button
* Automatically pause the video when redirecting to the app
The button location is rather finicky as certain polymer components
seem to move around, causing random DOM elements to appear all over the
place if it's not a "singleton" component.
squash
Subscription converter didn't handle error responses very well.
Also, the chunk size was lowered to 300 as this seems to make requests
failing.
Additionally, fix bug where redirect was trying to go to the app and a frontend at the same time, only to confuse lbry.tv
* Styles were extracted out from popup.css and into common/style
* Preact allows for reusable components and easier dynamic components
* Easy transition to react or others while not being overbearing
* Component specific style are locally imported and handled by parcel
ButtonRadio is particulary nice in that it uses pre-exisitng button
styling on radio buttons to make it easy to pick configurable options.
URL parsing logic is basically a straight port of how lbryio/lbry-sdk
parses lbry URLs. While there's a lot more going on, it should be
easier to follow what they're doing this way.
Also, added some light unit tests for the URL parsing using jest.
Which, of course, needed a babel config.
With this, tabOnUpdated was able to be rewritten more elegantly to
handle redirects as it delegates a lot of the work to utilities now.