Giter Club home page Giter Club logo

lnpclient's People

Contributors

lnplus avatar

Stargazers

 avatar

Watchers

 avatar

lnpclient's Issues

On swap show page indicate channel status

Currently only the direction is indicated in app/views/swaps/status/_direction.html.haml but we should show if the channel has been opened already. Requires API improvement or ideally the ability to read channel status from local LN node.

Handle missing node scenario

Handle the scenario when a node is not yet visible on the gossip network and therefore not visible on LN+'s node explorer.

Improve Open Channel feature

Currently when the user click the Open Channel button, LN+ client app will attempt to open a channel, which will succeed in most cases. If not, we need to extract the error message from the response and provide the user with a message explaining the problem. If we can rely on the success message of the response, the app should also complete the application, so the user doesn't need to click the Channel Opening Started button separately.

Fix edit account page

Error:

Encountered a syntax error while rendering template: check - if if errors_present(@account) 
= render partial: "shared/error", locals: {json: @account} 
- else 
.bg-gray-100.dark:bg-black.rounded-t-lg.rounded-b-2xl.p-8.shadow-lg 
%h1.text-3xl.font-bold.mb-4 Edit Account 
= form_tag(accounts_path, method: "post", id: "account-form") do 
%p.font-bold.mt-4= icon("fas", "envelope", class: "mr-2") + "Email" 
%p Used for notifications or as an alternate login to LN+ in case Lighting sign in wasn't available. Not public. 
%p= text_field_tag :email, @account["email"], class: field + "w-96"
%p.font-bold.mt-4= icon("fas", "bell", class: "mr-2") + "Send Notifications" 
.flex 
.flex-none.mr-2= check_box_tag :send_notifications, "1", @account["send_notifications"] 
.flex-none Do you want notifications sent to your email? Not public.
%p.font-bold.mt-6= icon("fas", "mask", class: "mr-2") + "Can Connect to Tor Nodes" 
.flex 
.flex-none.mr-2= check_box_tag :can_connect_to_tor, "1", @account["can_connect_to_tor"] 
.flex-none Can connect to tor nodes? Not public. 

%p.font-bold.mt-6= icon("fas", "user-circle", class: "mr-2") + "Name" 
%p Shows up on swaps for your application and on comments. Typically the same as the node alias. 
%p= text_field_tag :name, @account["name"], class: field + "w-96" 

%p.font-bold.mt-4= icon("fas", "globe", class: "mr-2") + "Website" 
%p Link to your website. 
%p= text_field_tag :website, @account["website"], class: field + "w-96", placeholder: "https://..." 

%p.font-bold.mt-4= icon("fab", "twitter", class: "mr-2") + "Twitter" 
%p Link to your Twitter profile. 
%p= text_field_tag :twitter, @account["twitter"], class: field + "w-96", placeholder: "https://twitter.com/@..." 

%p.font-bold.mt-4= icon("fas", "align-justify", class: "mr-2") + "Bio" 
%p Short description. 
%p= text_area_tag :bio, @account["bio"], class: field + "w-96", placeholder: "High availability router node..." 

%p.font-bold.mt-2.text-slate-500= icon("fas", "upload", class: "mr-2") + "Avatar" 
%p.text-slate-500 
%span Sorry, currently uploading images is not supported. Please sign in to the 
%span= link_to "online version of LN+", "https://lightningnetwork.plus/ln_sign_in", class: light_button, target: :_blank 
%span to upload. 

%p.mt-2= submit_tag "Update Account", class: positive_button + "mt-4"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.