lightning-network-plus / lnpclient Goto Github PK
View Code? Open in Web Editor NEWLightning Network Plus Client
Lightning Network Plus Client
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 the scenario when a node is not yet visible on the gossip network and therefore not visible on LN+'s node explorer.
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.
On the cloud site https://lightningnetwork.plus the participants have a pulsing green indicator to let others know the participant has been online recently. We need to implement the same on the client side. This requires the API to expose this information.
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"
Currently no avatars are show in the client app. On the cloud version the avatars are shown. In order for this to work the API needs to expose the avatar URL.
Currently it's not indicated on a swap if a participant is banned or cancelled on LN+. Need to show it like on the cloud version of LN+: https://lightningnetwork.plus.
On the cloud version of LN+ https://lightningnetwork.plus the participants can see if an application has been rated. We need to show the same on the client app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.