aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-22 05:15:34 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-22 05:15:34 +0800
commit3c90024564bee78fe0a9178d3772efaabe147ac5 (patch)
tree76b574c49742f6a77835907bfddaa286d9daa557
parent6209224a6c1129817ebb4cd4a433cf456631c33a (diff)
downloadtangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.gz
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.bz2
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.lz
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.xz
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.zst
tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.zip
Label the pending tx icon with a tooltip
-rw-r--r--CHANGELOG.md1
-rw-r--r--ui/app/components/transaction-list-item-icon.js17
2 files changed, 13 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7f894f935..50fa0d858 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## Current Master
- Add Transaction Number (nonce) to transaction list.
+- Label the pending tx icon with a tooltip.
## 3.6.5 2017-5-17
diff --git a/ui/app/components/transaction-list-item-icon.js b/ui/app/components/transaction-list-item-icon.js
index d63cae259..03c6f6615 100644
--- a/ui/app/components/transaction-list-item-icon.js
+++ b/ui/app/components/transaction-list-item-icon.js
@@ -1,6 +1,7 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
+const Tooltip = require('./tooltip')
const Identicon = require('./identicon')
@@ -32,11 +33,17 @@ TransactionIcon.prototype.render = function () {
})
case 'submitted':
- return h('i.fa.fa-ellipsis-h', {
- style: {
- fontSize: '27px',
- },
- })
+ return h(Tooltip, {
+ title: 'Pending',
+ position: 'bottom',
+ },
+ [
+ h('i.fa.fa-ellipsis-h', {
+ style: {
+ fontSize: '27px',
+ },
+ })
+ ])
}
if (isMsg) {