Skip to content
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

Add webln-v4v form to send boosts via alby browser-extension #112

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kbondarev
Copy link
Collaborator

@kbondarev kbondarev commented Jul 18, 2022

Closes #36

This PR is still WIP

  • Add the V4V form to send boosts
  • Customize the style of the form
  • Remove hardcoded v4v_tag JSON value and replace using data from episode or from show
  • Decide on whether to keep the library script import from CDN (automatic updates) or download it into the repo
  • The form has a built in "Accept Terms" view with some text about risks that shows up all before the actual form. At the moment I "disabled" it showing up by setting these attributes on the web component:
    has_accepted_terms="true"
    has_rejected_terms="false"
    
    Showing that view would require some extra work to be done properly:
    • Save the user's answer in a cookie for next time
    • Handle UI elements when user rejects the terms (things on the screen might shift around a little)
  • Test it, actually send some sats
  • Maybe add a link under the form "Learn more about boosts." leading to the boost page

@kbondarev kbondarev changed the title Feature/webln v4v Add webln-v4v form to send boosts via alby browser-extension Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate V4V aka Boosts functionality
1 participant