joule-labs / joule-extension

Lightning payments extension for Chrome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confirm and Reject payment buttons should reflect Invoice expiry

ianpatton opened this issue · comments

Description of the Issue

When an invoice has expired, Joule should not allow the 'Confirm' payment button to be clicked. It should be disabled, gray, and/or show 'Expired'.

Additionally, the Reject button is no longer appropriate after expiry. It should simply be replaced with a 'Close' button.

Steps to Reproduce

Create an invoice that expires, and then leave the payment dialogue box open until after expiry

Description of Your Setup

Browser & version: Brave
Operating system: Linux
Node software & version: LND 0.7.1-beta

Console Logs / Screenshots

[Please provide these if you can!]