LN-Juggernaut / juggernaut-desktop

Decentralized messaging and payments
https://www.getjuggernaut.com
MIT License
131 stars 14 forks source link

Create Lightning Invoices #39

Open johncantrell97 opened 4 years ago

johncantrell97 commented 4 years ago

We need a screen for someone to generate a lightning invoice. Will need to set amount of satoshis and optional memo as a starting point.

Once the invoice is generated we should display information about the invoice including a qr code and a way to copy invoice to clipboard.

stefan-mihaila commented 4 years ago

Where do you think we should add this, payment, and settings? I was thinking we could have a ConversationListFooter and have a few actions there that we want accessible with one click (without going to the menu in the ConversationListHeader)

johncantrell97 commented 4 years ago

Yes, I'm still unsure about a lot of the final UI for Juggernaut. I think we will definitely end up having a ConversationListFooter as you mention (similar to telegram). I think we will also end up having a LeftSidebarNav similar to Slack. My gut is that the LeftSidebarNav will be for toggling between core "apps" of Juggernaut (Messenger, Wallet, ).

If we end up doing something like that where the wallet is more separated from the messenger then it would probably not make sense to put the create invoice in the footer of the messenger.

So in general I've just defaulted to tossing everything into a menu for now until the next iteration of the UI makes sense. My gut would be to continue to do the same for this feature unless you really just want to explore the footer concept.