Closed Thierry61 closed 7 months ago
To illustrate the PR here are some screen shots:
New MEMPOOL field layout:
Tooltip on unconfirmed transactions:
Tooltip on number of blocks:
Tooltip on total fees with various currency units:
Implementation remarks:
I wanted to create a ul list in the tooltips but I didn’t succeed in aligning items to the left. This seems to be a general limitation of popper that centers lines without possibility to change this.
I set total fees warning and danger limits to 1 and 5 BTC respectively, but I am not sure of the relevance of these values.
I reused the existing color classes in mempool field (text-success, text-warning, text-danger), but I wonder if the color classes used in TTM column (text-success, no class, text-danger) would also be appropriate here for consistency of the page. Concretely, I could:
replace text-warning class by empty string
simplify the tooltips by only mentioning the success and danger colors.
Addition of mempool total fees in the main page. This information complement the total number of transactions, for example it can indicate that many pending transactions are less worrying when the total fees are low.
It is already available without any further API request (in mempoolInfo variable).
The layout is number of txns / blocks to clear / total fees to make it similar to other fields in the page.
A tooltip has been defined on each of these 3 pieces of information with highlight colors describing the low/high/very high danger levels.