-
Notifications
You must be signed in to change notification settings - Fork 194
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
feat: boost button in websites #1939
base: master
Are you sure you want to change the base?
Conversation
🚀 Thanks for the pull request! Here are the current build files for testing: Download and unzip the file for your browser. Refer to the readme for detailed install instructions. This build is brought to you by: Want to sponsor the next build? send some sats to ⚡️builds@getalby.com (don't forget to provide your name) Don't forget: keep earning sats! |
@im-adithya I tried this out locally
|
I've also tested out the boost button, nice work!
|
@im-adithya can you check if this is working for youtube videos for me This isn't working for the same. did check out youtube videos battery where we set lightning data using |
Nice work @im-adithya, I just tested the PR and feels great already. 🚀 Some first feedback on the UI:
Can't wait to see zaps all over the web. 🙌 I'll follow up with a code review later this week. |
@im-adithya Is it necessary to have both? I think this will be harder to maintain and we'd need two different ways to attach metadata. The alby-tools version is better in my opinion as this seems easier to add LUD-18 data by passing payerData to generateInvoice. What do you think? |
@im-adithya it would be great to convert the boost button to typescript in a follow up PR 🚀 |
@im-adithya if you send a payment, is it impossible to send another without refreshing the page? |
looks great just tested out!!
|
|
||
// extract LN data from websites | ||
browser.runtime.onMessage.addListener((request, sender, sendResponse) => { | ||
if (request.action === "extractLightningData") { | ||
extractLightningData(); | ||
// extractLightningData(); |
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.
Was this intentional or a mistake? If intentional, can't you delete the entire if
and the event listener then?
Great work! I love the tingling animation :D I have a few thoughts:
|
123d0c5
to
5f3152c
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
We have removed the webln declaration in |
Also fixes adapts to minor DOM change which stops ln addresses from being picked up
This error regarding webln is because of the webbtc dependency that alby-tools comes with; we'll have to add this back again if we remove the dependency
19219fe
to
202c445
Compare
No top level dependency changes detected. Learn more about Socket for GitHub ↗︎ |
Describe the changes you have made in this PR
This PR replaces the Blue Extension Icon on finding a Lightning Address to have a Boost Sats button in the bottom right corner.
(Can close #1516 if we merge this)
Linked Issue
Type of change
(Remove other not matching type)
feat
: New feature (non-breaking change which adds functionality)Screenshots of the changes [optional]
Screen.Recording.2023-03-16.at.12.16.05.AM.mov
How has this been tested?
Tested manually in each site:
Don't have links to check:
Checklist